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

RE: [amibroker] Candlestick code



PureBytes Links

Trading Reference Links

Aequalsz,
I hope it is quite analytic, so, it would be easy to add your 
modifications.
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "aequalsz" <aequalsz@xxxx> wrote:
> --- In amibroker@xxxxxxxxxxxxxxx, "Dimitris Tsokakis" 
<TSOKAKIS@xxxx>
> wrote:
> > The following code will recognize a complete Elliot Wave 
[according
> to http://www.equis.com/Education/TAAZ/?page=53 ]
> > sequence.
> > 
> > X=BarIndex(); 
> > p=Param("p",5,5,30,5);
> > z=Zig(C,p);
> > CONDP=PeakBars(C,P)==0;
> > E7=ValueWhen(CONDP,C,1);T7=ValueWhen(CONDP,X,1);
> > E5=ValueWhen(CONDP,C,2);T5=ValueWhen(CONDP,X,2);
> > E3=ValueWhen(CONDP,C,3);T3=ValueWhen(CONDP,X,3);
> > E1=ValueWhen(CONDP,C,4);T1=ValueWhen(CONDP,X,4);
> > CONDT=TroughBars(C,P)==0;
> > E8=ValueWhen(CONDT,C,1);T8=ValueWhen(CONDT,X,1);
> > E6=ValueWhen(CONDT,C,2);T6=ValueWhen(CONDT,X,2);
> > E4=ValueWhen(CONDT,C,3);T4=ValueWhen(CONDT,X,3);
> > E2=ValueWhen(CONDT,C,4);T2=ValueWhen(CONDT,X,4);
> > E0=ValueWhen(CONDT,C,5);T0=ValueWhen(CONDT,X,5);
> > // EW definition
> > EW=E5>E3 AND E3>E1 AND E5>E7 AND E4>E2 AND E2>E0 AND E6>E8 AND 
T8>T7
> AND CONDT;
> > Plot(C,"C",1,64);
> > Plot(z,"",colorYellow,styleThick);
> > //PlotShapes(shapeDownArrow*CONDP,colorRed);
> > PlotShapes(shapeUpTriangle*EW,colorBlue);
> > //PlotShapes(shapeUpArrow*CONDT,colorBrightGreen);
> > Plot(EW ,"",colorPink,2+styleOwnScale);
> > Filter=EW;// explore for all quotations
> > AddColumn(C,"C");
> > GraphXSpace=8;
> > 
> 
> Nice starting point for Ewave analysis.  An additional constraint is
> required however.
> 
> E4 > E1.
> 
> Translated, this means that the bottom of wave 4 should remain about
> the top of wave 1.  Ratio analysis of the waves, and subdividing the
> impulsive and corrective waves also might be useful.  
> 
> Aequalsz



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/