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

Cumulative Delta

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

    Cumulative Delta

    Hi,

    I tried to develop a visual display by calling in OrderFlowCumulativeDelta() via a script.

    Basically what the indicator is supposed to do is calculate the % of bids/ask and displays on the bar if it crosses a predetermined level.

    The indicator displays the symbols correctly when i refresh the chart (F5), but it does not calculate correctly even when i choose Calculate = on bar close;

    Thank you
    Sudhir

    Attached Files

    #2
    Hello chalansi,

    Thanks for your post.

    When I test the script I see the Draw.Text output on a chart. If you are not seeing any results, you may be waiting for NinjaTrader to download the single tick data that is added to the script. I would suggest testing on a chart with as little Days To Load as possible so the indicator can load data quickly and be tested without delay.

    If you are seeing different behavior than what you expect, I would suggest to add prints to monitor the conditions controlling your Draw.Text logic to verify that they are written correctly and evaluating correctly.

    Debugging Tips - https://ninjatrader.com/support/help...script_cod.htm

    I look forward to being of any further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Thank you for your quick reply, i will look into the debugging tips........but fyi.... i use only ONE DAY data for this.

      Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      11 responses
      39 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by FrazMann, Today, 11:21 AM
      0 responses
      5 views
      0 likes
      Last Post FrazMann  
      Started by geddyisodin, Yesterday, 05:20 AM
      8 responses
      52 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by DayTradingDEMON, Today, 09:28 AM
      4 responses
      26 views
      0 likes
      Last Post DayTradingDEMON  
      Started by George21, Today, 10:07 AM
      1 response
      22 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Working...
      X