Could you share your code with us
Thank you
Jim Hutchison
At 12:59 PM 11/1/2009, you wrote:
[Attachment(s) from Anthony Faragasso included below]
I was able to achieve what was intended with the line touches...I
have attached
an image ....thank you for those that responded....
Anthony
----- Original Message -----
From: <mailto:[email protected]>Panos Boufardeas
To: <mailto:[email protected]>[email protected]
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