Comment on Code your Technical Analysis strategy

KEERTHI.S commented on 27 Sep 2013, 06:10 AM

HI,

CAN YOU WRITE A CODE FOR THE FOLLOWING STRATEGY FOR INTRADAY NIFTY FUTURES FOR 1 MIN INTERVAL.

BUY SIGNAL. WHEN STOCHASTIC OSCILLATOR %K CROSSES %D FROM BELOW AND RSI IS BELOW 40.

SELL SIGNAL. WHEN STOCHASTIC OSCILLATOR %K CROSSES %D FROM ABOVE AND RSI IS ABOVE 60.

BUY : SOPK(9,3,9,EXPONENTIAL)<SOPD(9.3.9,EXPONENTIAL) AND RSI(CLOSE,14)<40

SELL : SOPK(9,3,9,EXPONENTIAL)>SOPD(9,3,9,EXPONENTIAL) AND RSI(CLOSE, 14)>60

IS THIS CORRECT? OR

BUY : CROSSOVER(%K,%D) AND RSI(CLOSE,14)<40

SELL : CROSSOVER(%D,%K) AND RSI(CLOSE,14)>60

THANK YOU

View the full comment thread »