[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] Help in explorer code ?



PureBytes Links

Trading Reference Links

I'm working to write an explorer code that do this :
The market have made a new low and RSI(14) < 33. It then rebounce forming a peak with RSI(14) > 60. Buy signal : if today  high is greater then the peak. The code is as below :
 
a:= If(H>Ref(H,-1) AND Ref(H,1) < H AND RSI(14) > 60,H,0);{ high peak}
 
a1:= If(L < Ref(L,-1) AND Ref(L,1) > L AND RSI(14) < 33 ,L,0);{ low trough}
 
b:= If( ValueWhen(1,a,a) > ValueWhen(2,a1,a1) AND ValueWhen(1, a,MDI(13)) < ValueWhen(2,a1,MDI(13)),a,0);
 
Cross(H,ValueWhen(1,b,b))
 
It works in Expert but not in Explorer. Can anyone help. Thank you !
 
mun wai.
__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___