Comment on Code your Technical Analysis strategy

atulshar946 commented on 02 May 2013, 12:48 AM

pl help me to config this script, its working on my charting s/w

buy
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
SRSI:=(RSI-LLV(RSI,14))/(HHV(RSI,14)-LLV(RSI,14));;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
EXIST((WR>=-90 & SRSI>=0.9),1);

sell
RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),14,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),14,1)*100;
SRSI:=(RSI-LLV(RSI,14))/(HHV(RSI,14)-LLV(RSI,14));;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
EXIST((WR<=-10 & SRSI<=0.1),1);

View the full comment thread »