Rank: Advanced Member
Groups ready for retrieval: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Views messages in topic : 1,394 Location: Glastonbury, CT
Was thanked: 3 time(s) in 3 post(s)
|
Try this
64H:=Mov(Ref(H,-4),6,S); 64L:=Mov(Ref(L,-4),6,S); Cl:=ExtFml("PowerPivots.TDataCreate",3,2); ema1:=Mov(Cl,12,E) ; ema2:=Mov(Cl,26,E) ; mac:=ema1-ema2; sig:=Mov(mac,9,E) ; his:=mac-sig; mac1:=ExtFml("PowerPivots.TDataLocalize",mac,2,0); sig1:=ExtFml("PowerPivots.TDataLocalize",sig,2,0); his1:=ExtFml("PowerPivots.TDataLocalize",his,2,0); D:=If(C>=64H AND His1>0,1,If(C<=64L AND His1<0,-1,0)); D=1 AND Ref(D,-1)<1{Long entry}
|