Hi,
I'm trying to get the Open price of stock using AFL code on 15min time frame.
My AFL code is as below.
It gives me open price of most recent candle on daily time frame and not the open price on 15min time frame for the most recent candle?
Why it is not considering time frame which I've set?
Regards,
I'm trying to get the Open price of stock using AFL code on 15min time frame.
My AFL code is as below.
Code:
TimeFrameSet(in15Minute);
o = TimeFrameGetPrice("open", in15Minute, 0);
_Trace( "Open price: " + o);
Why it is not considering time frame which I've set?
Regards,