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

[amibroker] Need help wiht Bars since



PureBytes Links

Trading Reference Links


Here is my sample code and i get a error
Filter=(BarsSince(MDI<20) >20) AND (BarsSince(MDI>10) >20) AND
(BarsSince(PDI<20) >20) AND (BarsSince(PDI>10) >20)  AND(BarsSince
(ADX <30) >20) AND (BarsSince(ADX >10) >20);


the error is 
//Filter=Cross(PDI(14),ADX(14)  ) AND MA(Volume,30) >500000 AND MA
(Volume,7) >MA(Volume,14) ;

//Buy= Filter AND Cross(PDI(14),MDI(14))  ;



Filter=BarsSince(MDI<
--------------------^

Error 23.
Syntax error

why do i get this error. 

thanks in advance 

Suresh





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/