
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
hi whroeder1 and all,
a while back as per this thread https://www.mql5.com/en/forum/108481
u have suggested some code for finding min and max atr value but as price keep moving on, the min atr value does not update its value eg. if when first launched ea let's say min atr is at 0.25 but after iVisible bars passed and the new min atr in that portion of the displayed is at 0.45 but the ea still keeps its first found min atr at 0.25
this is the code i used from your suggestion
i couldn't figure out your second part of the code guessing it's updating the new min and max value but how it works with the 1st part and what does a and b stand for, please help
and here's your original suggested codes
What I need to do is figure out the visible range that's on the ATR indicator window.