PureBytes Links
Trading Reference Links
|
The MDI needs a range:
MDI(range)...
----- OrigMDI
- minus directional movement indicator (-DI) Indicators
(AFL 1.3)
SYNTAX mdi( period = 14 )
RETURNS ARRAY
FUNCTION Calculates Minus Directional Movement Indicator (-DI line)
EXAMPLE mdi()
inal Message -----
From: murthysuresh
To: amibroker@xxxxxxxxxxxxxxx
Sent: Friday, November 12, 2004 7:52 PM
Subject: [amibroker] Need help wiht Bars since
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
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
------------------------------------------------------------------------------
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
b.. To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[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/
|