PureBytes Links
Trading Reference Links
|
Last line of this exploration produces N/A rejection in those
securities where "condition1" is undefined. That is what I've
expected to avoid by using "IsUndefined".
I'd appreciate if anybody can point out a problem.
{ColB}
condition:=Cross(0.955*Ref(C,-2),C);
ISNA:=IsUndefined(condition);
condition1:=Ref(Cross(0.955*Ref(C,-2),C),-1);
ISNA1:=IsUndefined(condition1);
If(ISNA,10000,BarsSince(condition AND
BarsSince(((MACD()>Mov(MACD(),9,E) AND
C>Mov(C,5,E) AND
C>Mov(C,15,E))=TRUE) AND
(Ref(MACD()>Mov(MACD(),9,E) AND
C>Mov(C,5,E)AND
C>Mov(C,15,E),-1)=FALSE))
<=If(ISNA1,10000,BarsSince(condition1))))
Thanks,
Vladimir
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|