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

[EquisMetaStock Group] Re: Help in explorer code ?



PureBytes Links

Trading Reference Links

I'll check your code when I can get to a computer with metastock on 
it.

Basially, your b variable line looks suspicious to me. 

What I would do is try each line of code on a chart and see if you 
get signals from it.

Preston



--- In equismetastock@xxxxxxxxxxxxxxx, wai <mwtang@xxx> wrote:
>
> 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.
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/