Converting Timeframe to Candles
Hi.. thanks for your reply..
i dont mean timeframe..what i mean is candles..
drawing Hlines at the highest or lowest of certain candles
eg.. the highest and lowest between 24 candles!!
So you are looking for ArrayMaximum() and ArrayMinimum ()
`Hi.. thanks a lot for your feedback.. unfortunately.. ArrayMaximum() and ArrayMinimum () does not do it
but i managed to figured it out myself.. thanks a lot for your kind response and helpful links!! i really appreciate!!
int Candles=20,Shift=1;
double h_C= High[iHighest(_Symbol, PERIOD_CURRENT, MODE_HIGH, Candles, Shift)];
double l_C= Low[iLowest(_Symbol, PERIOD_CURRENT, MODE_LOW, Candles, Shift)];
Hello.. good day to you all..
am trying to use Interval between candles.. instead of Timeframe Periods
i tried some other ways but am not getting it right at all...
is there another method to simply use candles interval instead of Timeframe!!
eg.. Using 24Candles instead of using H4 or D1 to calculate..
here is a screenshot using D1