Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Display Values in Data Box

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

    Display Values in Data Box

    I hae another question for the development of another indicator. I am not so sure whether i should start a new post... But please let me ask here first. I would like the databox to display custom statistics including for example 1) the percentage of the body relative to bar range, 2) the percentage of upper and lower tail relative to bar range and so on. How can I do that? Can staff here provide a template for doing this? I probably just need a template and an example and I would be able to work out the remaining.

    Many thanks​
    Last edited by NinjaTrader_BrandonH; 08-01-2023, 09:59 AM.

    #2
    Hello Realiori9999,

    Thanks for your notes.

    I moved your new question to a new forum thread since your new question is not related to your previous question. Please make sure to create new forum threads for new questions you have that are not related to the question in your previous thread.

    That said, you could add a plot to the indicator and assign your calculated value to the plot if you want it to appear in the Data Box window. See the attached indicator script.

    AddPlot: https://ninjatrader.com/support/help...t8/addplot.htm
    Values: https://ninjatrader.com/support/help...nt8/values.htm

    If you do not want to plot the calculated value on the chart but do want the calculated value to appear in the Data Box window, this would require creating two separate scripts. See the forum thread linked below for more information on how to accomplish this.

    https://forum.ninjatrader.com/forum/...t-not-on-chart
    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello Realiori9999,

      Thanks for your notes.

      I moved your new question to a new forum thread since your new question is not related to your previous question. Please make sure to create new forum threads for new questions you have that are not related to the question in your previous thread.

      That said, you could add a plot to the indicator and assign your calculated value to the plot if you want it to appear in the Data Box window. See the attached indicator script.

      AddPlot: https://ninjatrader.com/support/help...t8/addplot.htm
      Values: https://ninjatrader.com/support/help...nt8/values.htm

      If you do not want to plot the calculated value on the chart but do want the calculated value to appear in the Data Box window, this would require creating two separate scripts. See the forum thread linked below for more information on how to accomplish this.

      https://forum.ninjatrader.com/forum/...t-not-on-chart
      You are always helpful! I will try to work this out based on the information provided. I thought you have deleted my post so I have started a new post. Let me delete the new post. Many thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      607 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      353 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X