Moving average crossover and Rsi divergence with optimization this is for indian stock market intrad day trading
Post your topic in the correct forum:
_ ProRealTime Platform Support: only platform related issues.
_ ProOrder: only strategy topics.
_ ProBuilder: only indicator topics.
_ ProScreener: only screener topics
_ General Discussion: any other topics.
_ Welcome New Members: for new forum members to introduce themselves.
Thank you 🙂
I moved it from ProBuilder.
There you go:
Sma20 = average[20,0](close)
L1 = close CROSSES OVER Sma20
S1 = close CROSSES UNDER Sma20
myDIV = DivergenceRSI[14,30,70,20](close)
L2 = (myDIV = 1)
S2 = (myDIV = -1)
IF Not OnMarket THEN
IF L1 AND L2 THEN
BUY 1 CONTRACT AT MARKET
ELSIF S1 AND S2 THEN
SELLSHORT 1 CONTRACT AT MARKET
ENDIF
SET STOP pLOSS 200
SET TARGET pPROFIT 400
ENDIF