Spin
Well-known member
- Joined
 - May 22, 2019
 
- Posts
 - 511
 
- Likes
 - 219
 
Hello fellow coders,
I am looking to add some ATR-numbers to the upper left corner of my charts. I was thinking of today's difference between low/high, yesterday's ATR, this weeks ATR and this month's ATR.
I did look into the source code for MW's ATR, but this one only draws a line on a secondary plot/panel.
Calculating the values is not the issue here, that part I have figured out already. But I can't for the life of me figure out how to print those numbers in the upper left corner.
I have never worked with the 'draw' function before (is this the correct way to do such a thing ?) and I am now at the point of no more inspiration
I would be very grateful if someone could tell me how this is done or point me towards a good 'draw'-tutorial
				
			I am looking to add some ATR-numbers to the upper left corner of my charts. I was thinking of today's difference between low/high, yesterday's ATR, this weeks ATR and this month's ATR.
I did look into the source code for MW's ATR, but this one only draws a line on a secondary plot/panel.
Calculating the values is not the issue here, that part I have figured out already. But I can't for the life of me figure out how to print those numbers in the upper left corner.
I have never worked with the 'draw' function before (is this the correct way to do such a thing ?) and I am now at the point of no more inspiration
I would be very grateful if someone could tell me how this is done or point me towards a good 'draw'-tutorial