Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 techgetgame, Today, 11:42 PM
    0 responses
    7 views
    0 likes
    Last Post techgetgame  
    Started by sephichapdson, Today, 11:36 PM
    0 responses
    1 view
    0 likes
    Last Post sephichapdson  
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,612 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Working...
    X