Dear, how can we find a specific range bound candle in simple AFL style IN LAST FEW CANDLES, I need high, low and wants a name of that candle. in c++ we can find easily but i need without c++, please help c++ example is :-
RANGE= REF(H-L ,-1) < REF(H-L,-2);
H1=0;
L1=0;
H1bar=0;
for( i = BarCount-2; i <= BarCount-1; i++ )
{
if(RANGE)
{
H1=H;// HIGH of that candle
L1=L ;//LOW of that candle
H1bar=i;// name of that candle
}}