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

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
    Brandon H.NinjaTrader Customer Service

    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 Harry, 05-02-2018, 01:54 PM
      10 responses
      3,203 views
      0 likes
      Last Post tharton3  
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Started by ChartTourist, Today, 08:22 AM
      0 responses
      6 views
      0 likes
      Last Post ChartTourist  
      Started by LiamTwine, Today, 08:10 AM
      0 responses
      2 views
      0 likes
      Last Post LiamTwine  
      Started by Balage0922, Today, 07:38 AM
      0 responses
      5 views
      0 likes
      Last Post Balage0922  
      Working...
      X