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

[amibroker] Re: Concatenation of shapeDigits



PureBytes Links

Trading Reference Links

Bill,
It is already used in the InspectionPoints and all these topX studies.
Here is a solution
startIP=DateNum()>1030000 AND Ref(DateNum(),-1)<1030000;
x=10;
EVENT=BarsSince(startIP)%x==0;
Plot(50,"",1,1);Plot(100,"",1,1);
shape=33+2*(Cum(event)%10);
PlotShapes(shape*EVENT,colorIndigo);
Plot(0,"",1,1);
shape1=33+2*(floor(Cum(event/10))%10);
PlotShapes(shape1*EVENT,colorIndigo,0,Graph0,10);
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <wd78@xxxx> wrote:
> As far as I can tell, it is not possible to concatenate two or more 
shapeDigit parameters to produce a multi-digit number (i.e., 
shapeDigit 3 + shapeDigit3 != 33).  Has anyone found a work around 
for this?
> 
> Bill



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
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/