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

RE: [amibroker] Fib solutions vs the tough market decisions



PureBytes Links

Trading Reference Links

Another version for both High or Low Oblique Fibonacci Trendlines.  

Note:    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Only works well if the SU, "right extend" box is UNCHECKED though.

That's it for me today folks, must assemble a Marci Weight Bench. 
Later.

Aequalsz





// Oblique Fibonacci Lines, by D. Tsokakis, June 2004
//
//    Modified by Aequals 6/11/2004
//
SU=Study("SU",GetChartID());
Plot(C,"C",colorBlack,styleBar);
b=BarIndex();
X1=ValueWhen(Cum(IsTrue(SU))==1,b);
Y1=ValueWhen(b==X1,SU);
X2=LastValue(b);
Y2=LastValue(SU);
SLOPE=(Y2-Y1)/(X2-X1);

LVH = LastValue(Highest(H-SU));
LVL = LastValue(Highest(SU-L));
DIST=LastValue(IIf(LVH>LVL,LVH,LVL)); 
flag =LastValue(IIf(LVH>LVL,1.0,-1.0));

HL = SU + flag*Dist; Plot(HL,"",colorGreen,styleLine);
HL = SU + flag*0.382*(DIST); Plot(HL,"\n0.382",colorRed,1);
HL = SU + flag*0.500*(DIST); Plot(HL,"\n0.500",colorRed,1);
HL = SU + flag*0.618*(DIST); Plot(HL,"\n0.618",colorRed,1);

GraphXSpace=2;



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/