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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    87 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X