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

[EquisMetaStock Group] code between two points or signals ?



PureBytes Links

Trading Reference Links

Hi ! all ,
 Sorry to trouble you all again. Recently, I have been trying to write formulars to describe the conditions between two points / signals but after tring many ways I still fail to make it. Hope someone could give helps. 
I 'm trying to write the value between two points / signals it value (rsi) is always greater then 50.  My formulars :

a:= RSI(14);

a1 := Ref(a,-1) >= 50 AND Ref(a,-1) > a AND Ref(a,-1) > Ref(a,-2);

a2 := ValueWhen(1,a1,Ref(a,-1));{ peak}

a3 := Cross(a,a2);{ signal }

ValueWhen(2,BarsSince(a > 50)=0 ,a3)

Thanks in advance !

mun wai .


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

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

<*> 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/