ATR is an average distance price moved per candle, (true range) There is no direction. What is the direction of the size of your screen?
ATR is an average distance price moved per candle, (true range) There is no direction. What is the direction of the size of your screen?
And your problem is?
Let me try and be more specific. The change of direction of the line in the indicator window, from pointing down to up or visa versa.
You mean if it's increasing or decreasing?
Just compare previous offset values... so:
iATR(NULL, 0, 12, 1) > iATR(NULL, 0, 12, 2) is increasing
iATR(NULL, 0, 12, 1) < iATR(NULL, 0, 12, 2) is decreasing
You mean if it's increasing or decreasing?
Just compare previous offset values... so:
iATR(NULL, 0, 12, 1) > iATR(NULL, 0, 12, 2) is increasing
iATR(NULL, 0, 12, 1) < iATR(NULL, 0, 12, 2) is decreasing