• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 mohdhm, Today, 04:09 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by BGWTEX, Today, 03:30 PM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by marekflys, Today, 03:07 PM
      0 responses
      5 views
      0 likes
      Last Post marekflys  
      Started by GregoryBaskin, Today, 02:51 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Tyler  
      Started by swcooke, Today, 12:33 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X