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

Slope or momentum cummulative delta

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

    Slope or momentum cummulative delta


    Hello, I am developing a strategy in which I wanted to measure the slope or accumulated delta momentum. In the attached strategy I don't get any error when compiling. However, when I try to turn it on in a chart it turns off automatically. I have tried both the slope and the momentum and the same thing happens. I have also tried using open instead of close and it doesn't solve anything either. I am looking forward to your response, Thank you aslope.zip

    #2
    Hello manueldecastro,

    Thanks for your post.

    When a strategy (or indicator) is not performing as expected, the first check is to review the "Log" tab of the control center as any "run time" type errors will be displayed. A compiler cannot assess run time type conditions, so use the :"Log" tab to observe a scripts error performance.

    In this case there will be an error advising that the Order Flow Cumulative Delta indicator tried to load additional data. When called by another script (host script), the host script must provide the data needed by the Order Flow Cumulative delta indicator. In addition the host script must add code to keep the indicator synchronized.

    Please review the help guide here: https://ninjatrader.com/support/help...ive_delta2.htm

    The help guide has two examples of how to accomplish this.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Solved. Thanks!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X