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

Var period the "come back"



PureBytes Links

Trading Reference Links

All & Tomasz


As you can read below this is the MS code for a short version of the 
buy setup of demark sequential
AND, I need a llv var period to create it in Ami

steph


{*TD - SetUp-buy}
TD1:=If(CLOSE<=Ref(CLOSE,-4),1,0); 
TD2:=If(TD1=1 AND Ref(TD1,-1)=1 AND Ref(TD1,-2)=1 AND Ref(TD1,-3)
=1 , 1,0); 

TD3:=H>=Ref( ExtFml( "VarPeriod.LlvVar",L,
BarsSince(BarsSince(TD1))),-1);
TD4:=Ref(C,-4)>=Ref(C,-8);

(TD3 AND TD2 AND TD4)