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

Re: [amibroker] plotshapes question



PureBytes Links

Trading Reference Links



Panos,
 
Thank you for the code ...I will try it out....
 
Just this morning I too was thinking about elliot wave and
counting the waves...
 
Anthony
----- Original Message -----
Sent: Sunday, November 01, 2009 7:42 AM
Subject: Re: [amibroker] plotshapes question

 

Hi
i was thinking maybe you need also the trick to count the numbers, and i will add an example how to plot only the numbers and not the rest of the shapes.
sorry i donot have the time now to start count from the left but i will do it later on.
 

_SECTION_BEGIN( "ElliotWaves_Shapes_i");
ew=MA((H+L )/2,5 )-MA((H+L )/2,34);
Plot( ew, " ", 2, 1+8);
Plot( 0, " ", 1, 1);

/****counter*****/
up=Cross(ew,0 );DN=Cross(0 ,ew);
VAR1=Cum(UP);
VAR2=2*Cum (UP)-2*int (Cum(UP)/10 )*10+33; //count every 10 steps
VAR3=2*Cum (dn)-2*int (Cum(dn)/10 )*10+34 ;   // IF.....1*cum()=up_and_down
WriteVal( VAR1  ,1.8)+" VAR1  "; WriteVal( VAR2  ,1)+" VAR2  "; WriteVal( VAR3  ,1)+" VAR3  ";
PlotShapes(IIf(up,VAR2,IIf(dn,Var3,0)) , IIf(up,colorGreen,colorRed),  0 ,0);
//PlotShapes(IIf (up,VAR2,IIf(dn,Var3, 0)) , IIf(up,colorGreen,colorRed ),  0 ,IIf(up,ew-50 ,IIf(var2,ew+50 ,ew)));
_SECTION_END();


Panos

At 15:22 31-10-2009 31-10-2009, you wrote:



I have a plotshapes added to an indicator...when I try to add an offset the shape disappears...any help appreciated...
 
example:

PlotShapes(shapeDigit1*(Low==trs),colorYellow);

 

Also, I am doing line touches...How can I manipulate the digits to plot concurrently..

like: first touch is digit 1 , second touch is digit 2...etc....starting from left to right..

 

Thank you

Anthony



__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___