Simple and efficient strategy on dax daily with RSI 3 periods.
// Definition of code parameters
DEFPARAM CumulateOrders = False // Cumulating positions deactivated
// Conditions to enter long positions
indicator1 = RSI[3](close)
c1 = (indicator1 CROSSES OVER 50)
IF c1 THEN
BUY 1 CONTRACT AT MARKET
ENDIF
// Conditions to enter short positions
indicator2 = RSI[3](close)
c2 = (indicator2 CROSSES UNDER 50)
IF c2 THEN
SELLSHORT 1 CONTRACT AT MARKET
ENDIF
// Stops and targets
SET STOP pTRAILING 60
SET TARGET pPROFIT 500
Thank you for sharing your code.
Don’t put any real money on the stratgey until you have tried / seen the results with the tick by tick box enabled … see attached screenshot at red arrowhead.
Backtest over 1k bars (not 10k bars) and then PRT will not auto-disable theTick Mode.