hi to all.
i have a think script that i use for my trading, ill like to create a strategy to back testing the strategy, the entry is as soon the signal is confirmed, example is a long entry need to break the high of the signal candle, and viceversa for a short . thank in advance, here is the code:
plot Low = low() < bollingerbands(numdevdn = -2.5).lowerband;
Low.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
plot High = high() > bollingerbands(numdevup = 2.5).upperband;
High.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
i have a think script that i use for my trading, ill like to create a strategy to back testing the strategy, the entry is as soon the signal is confirmed, example is a long entry need to break the high of the signal candle, and viceversa for a short . thank in advance, here is the code:
plot Low = low() < bollingerbands(numdevdn = -2.5).lowerband;
Low.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
plot High = high() > bollingerbands(numdevup = 2.5).upperband;
High.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);