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

Re: [EquisMetaStock Group] Help trading system



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=6132
------------------------------------------------------------------------

Juan

I managed to mess up the two latches I posted. Here they are again.

Roy

  {binary latch}
sig:=Cross(ADX(12),20);
rst:=Cross(20,ADX(12)) OR Cross(40,ADX(12));
i:=Cum(sig+rst>-1)=1;
rmb:=BarsSince(sig OR i)<BarsSince(rst OR i);
rmb;

  {value latch}
sig:=Cross(ADX(12),20);
rst:=Cross(20,ADX(12)) OR Cross(40,ADX(12));
rmb:=If(PREV=0,If(sig,CLOSE,0),If(rst,0,PREV));
rmb;


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/