NexusFi: Find Your Edge


Home Menu

 





improved DMI indicator and function


Discussion in MultiCharts

Updated
    1. trending_up 1,476 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 1 attachments




 
Search this Thread

improved DMI indicator and function

  #1 (permalink)
 gztanwei 
toronto
 
Experience: Beginner
Platform: NinjaTrader
Posts: 33 since Sep 2009
Thanks Given: 3
Thanks Received: 11

Hi guys,

When writing a signal/strategy, I found that there is no underlying DMI function for the DMI indicator, and the out-of-box way of referring to DirMovement function is troublesome that it has to pass in below:
 
Code
                m_dir_mov.PriceH = Bars.High;
                m_dir_mov.PriceL = Bars.Low;
                m_dir_mov.PriceC = Bars.Close;
So I made improved version of DMI function, which only need to pass in Length.

Hope it is helpful to you.

Attached Files
Elite Membership required to download: DMI1.zip
Started this thread Reply With Quote
Thanked by:




Last Updated on August 27, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts