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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X