lovetotrade
Member
hello group!!
i have a think script indicator that i use for my trading, i'll 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:
i hope the @barbaros can help me that!
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 indicator that i use for my trading, i'll 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:
i hope the @barbaros can help me that!
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);