• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

divergence plot problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    divergence plot problem

    I have a divergence indicator I am converting from eSignal. So far I believe I have the logic correct, as when I compare Print outputs, they are close. The problem I'm having is the Ninja script does not plot properly as shown in image comparing the eSignal and the Ninja plots. I'm sure I'm dong something wrong on the Ninja code, but not sure what that is...
    The Ninja script is also attached...

    Help would be much appreciated.

    bigtee
    Attached Files

    #2
    Unfortunately the script is a bit too complex for us to debug for free. I would suggest to simplify and debug your code to better understand the event sequence it would go through.

    If you would prefer professional debug assistance please contact one of our consultants here: http://www.ninjatrader.com/Ecosystem/NonBroker.php#81

    Here is a great article on debugging for reference: http://www.ninjatrader.com/support/f...ead.php?t=3418

    In my personal experience I find drawing objects to be the best debugging tool of those available.

    I also wanted to make you aware that some pre-created divergence indicators also exist and can be found by searching our forum or various others across the net. Here is one example of one I found here: http://www.ninjatrader.com/support/f...tid=-1&lpage=1

    Let me know if I can further assist.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lavalampmj, Today, 05:25 PM
    0 responses
    1 view
    0 likes
    Last Post lavalampmj  
    Started by Antares66, Today, 05:19 PM
    0 responses
    2 views
    0 likes
    Last Post Antares66  
    Started by jmneto, Today, 05:18 PM
    0 responses
    2 views
    0 likes
    Last Post jmneto
    by jmneto
     
    Started by Bobbyj78, Today, 02:21 PM
    2 responses
    12 views
    0 likes
    Last Post bltdavid  
    Started by EnveousColnago, Today, 02:10 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Ariana  
    Working...
    X