Hi,
I do not know much coding so need a little help. Thanks for visiting this thread. Please help if you can.
(Signal candle) C > HHV(H,12), hence, i buy at open of next candle.
But, within 2 or 3 candles price comes down and closes below the low of the signal candle. So, i close the trade at a loss. BUT AGAIN, price reverses (say in next 3 or 4 candles) and Closes above the High of the signal candle. In such a case i would like to enter again.
So, how do i refer to the candle / bar where the original signal had occurred ?
I do not want to use "ValueWhen" but want to use BarIndex or something to check if price again starts in original direction within "n" number of candles / bars.
How can i do it ??
I do not know much coding so need a little help. Thanks for visiting this thread. Please help if you can.
(Signal candle) C > HHV(H,12), hence, i buy at open of next candle.
But, within 2 or 3 candles price comes down and closes below the low of the signal candle. So, i close the trade at a loss. BUT AGAIN, price reverses (say in next 3 or 4 candles) and Closes above the High of the signal candle. In such a case i would like to enter again.
So, how do i refer to the candle / bar where the original signal had occurred ?
I do not want to use "ValueWhen" but want to use BarIndex or something to check if price again starts in original direction within "n" number of candles / bars.
How can i do it ??