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

[amibroker] Coding query



PureBytes Links

Trading Reference Links

Hello,

Can someone explain to me why the following code, which is the last part of a nice candlestick pattern analysis afl, written by DT, works only up to about the first 200+ bars in a chart. It then shows a syntax error inside the pane, just before the Plot line here? 
(Cp stands for candle pattern )

my thanks,

Herbert

SelectedBar = SelectedValue(BarIndex());

PStr=""; 

for(Cp=0; Cp<=44; Cp++)

{

Temp = VarGet("Pattern"+NumToStr(Cp,1.0));

if(temp[SelectedBar]) Pstr=Pstr+"#"+NumToStr(Cp,1.0)+" -"+StrExtract(PatternNameList,Cp)+"\n"; 

} 

Plot(C,"Close",1,64);

Title = Pstr;

//Dimitris Tsokakis 


[Non-text portions of this message have been removed]



------------------------ 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/