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

[amibroker] Help with a DMI system



PureBytes Links

Trading Reference Links

Hi,

Can anyone help me with the code for this: My Buy signal is when the 
+DI crosses the -DI, and the price crosses the 10day MA.

1. If the price is above the 10d MA on the DMI cross day, this is a 
valid entry today

2. If the price is below the 10d MA on the DMI cross day, I wait up 
to a maximum of 5 days, and:

  a) If the price crosses the MA within these 5 days AND the DMI have 
not crossed again (ie. +DI is still above -DI), the entry day is this 
day - ie. the day the price crosses the MA

  b) If the DMI cross to the negative within these 5 days, the trade 
is not taken.

Thanks - ALex



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Transfer from your equities account.  
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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