Download MetaTrader 5

Indicators: Daily Range

To add comments, please log in or register
Automated-Trading
Admin
111013
Automated-Trading  

Daily Range:

This indicator calculates and shows daily highest and lowest prices, display them as two set of lines.

Daily Range

Author: Liping Wang

Rogerio Figurelli
Moderator
46470
Rogerio Figurelli  
Thanks Liping, good work.
jmfx
10
jmfx  

Hello,

is it possible to add in your indicator the hightest and the lowest price of week ?

instead of the day 

or have the possibility to enter this variable, for exemple :

input...=day; // lasthigh of day

input...=month; 

... 

choose the highest of the day, month, 2 months or 3 months ago, 6 months 

 

Thank you for your return 

makk
27
makk  

Thanks for this useful indicator. 

There is a small bug however: for older days it shows wrong ranges. to fix, please change the line

if(mdtDay.day==mdt.day)

to

if( mdtDay.day == mdt.day && mdtDay.mon == mdt.mon && mdtDay.year == mdt.year )

.

To add comments, please log in or register