I'm new to this forum, I'm tryng to code my strategy so I can backtest it but I need some good soul to help me on how to code it with the wizard strategy builder to automate it:
I have built two conditions to trigger an action both for the Long and Short side. I need some advice on how to set up stops and limits, in 3 different ways/scenarios:
Scenario n 1:
-close the position once the entry candle closes.
-set the stop loss 2 pips above/below the high/low of the entry candle
Scenario n 2:
-close the position once the entry candle closes
-set the stop loss 2 pips above/below the high/low of the entry candle
-set a profit take stop at 20 pips (meaning the position will be closed once in profit for 20 pips, thus not waiting for the close of the candle)
Scenario n 3:
-set the stop loss 2 pips above/below the high/low of the entry candle
-set a profit take stop at 20 pips (meaning the position will be closed once in profit for 20 pips, thus not waiting for the close of the candle)
-close the position at the close of the entry candle ONLY IF in profit for at least 10 pips, IF NOT leave the position open with the same stop and limit
***I wanna use this strategy with the 2 hours candles and 4 hours***
Thanks very much to anyone who could help me in any way.
Doctor D
Comment