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 Price Delta

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

    #16
    Hello emuns,

    I have tested your script and I am not able to reproduce this behavior.

    However, your script adds a series and has no conditions with BarsInProgress. This means the value will sometimes be for the tick series and will some times be for the primary series.

    Your print doesn't specify which BarsInProgress is processing.

    However, that said, I am seeing that the DeltaClose is the same from the script as it is from the indicator on the chart.

    Below is a link to a video of the test.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #17
      Originally posted by Savannah326
      Delta is the difference in buying power (market orders lifting the ask) and selling power (market orders hitting the bid). A bar where more trades lifted the ask than hit the bid, i.e. more buying than selling power will have positive Delta and a bar with more selling than buying power.
      Hello Savannah326,

      I know what delta means. I just rather don´t know how to finish my indicator, which still doesn´t work as expected. Chelsea suggested me some procedure… but for me as a non-programmer, it is still challenge.
      I tried to do some changes in the script (see attachment), but the crucial problem persists. Historical data are OK, but real-time data are inaccurate (I mentioned it in one of my previous post, but I forgot to write it in my last post). So my indicator compares current bar´s Open and Close with prior bar´s delta. If you would know how to change it, please let me know.
      Thank you.
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      179 views
      0 likes
      Last Post jeronymite  
      Started by ghoul, Today, 06:02 PM
      0 responses
      8 views
      0 likes
      Last Post ghoul
      by ghoul
       
      Started by Barry Milan, Yesterday, 10:35 PM
      6 responses
      19 views
      0 likes
      Last Post Barry Milan  
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Started by DJ888, 04-16-2024, 06:09 PM
      4 responses
      13 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Working...
      X