Postby TheRumpledOne » Wed Dec 07, 2011 1:51 pm
The starting and ending for the loop that runs the ATR calculations.
The defaults( 2 and 14) means the indicator calculates ATR(2), ATR(3), ATR(4), ..., ATR(14) and finds the minimum and maximum values. The ATR zone is the area BETWEEN the min and max.
myPeriod is the chart period used for the ATR calculations. If you want the DAILY ATR on the H1 chart, then set myPeriod to 1440.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.