PureBytes Links
Trading Reference Links
|
Bernard:
Will this work for you. Remember as you cut and paste, put this
into notepad first to get the line breaks right. Then cut and paste that
into Amibroker. This appears to indicate when a change in price
direction may be eminent.
Steve
aa = C - Ref(C,4);
bb = Sum(Abs( C - ref(C,-1) ) ,4
);
/*Sum(Abs(ROC(C,1,$)),4);*/
cc = (Abs((AA)/BB));
dd = ((2/3)-(2/31))+(2/31);
ee = ( CC*DD)^2 ;
ff = (C-Ref(C,-1));
/*{Sig:= If( Cum(1) = 5, Ref(C,-1)+EE*FF, PREV +
EE * (C - PREV));}*/
var1 = ee*ff+ Ref(C,-1);
var2 = Ref(var1,-1)+EE*(C - Ref(var1,-1) );
var3 = IIf( Cum(1) == 5 , var1, var2);
Graph1 = var3;
At 08:44 AM 6/10/01 +0200, you wrote:
Hi Tomasz
and Steve,
Thank you for your reply.
Here is my formula:
aa= C - Ref(C,4);
bb=Sum(Abs(Roc(C,1,$)),4)
cc=(Abs((AA)/BB))
dd=((2/3)-(2/31))+(2/31)
ee=(CC*DD)^2
ff=(C-Ref(C,-1))
Sig:=If(Cum(1)=5, Ref(C,-1)+EE*FF, PREV +EE *
(C - PREV))
Regards
Bernard Bourée
|