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

Displaying some data in a chart

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

    Displaying some data in a chart

    Hello,
    i want data in my charts like: high of the day, low of the day, the change and the %change.
    Where can i find this data(variables) to create this indicator ?
    br
    Last edited by mate41; 10-31-2011, 08:36 AM.

    #2
    Hello mate41,

    This is possible with custom programming in NinjaScript. If you want to work with current session values, there is a built in indicator for this:
    CurrentDayOHL()

    To draw in a fixed location on your chart there is built in method DrawTextFixed()
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks RyanM,
      maybe the next variables are also available ? change and change% of the day ?

      Comment


        #4
        You can calculate these. Check file sharing section for NetChange indicator for some ideas.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Hi RyanM,

          Originally posted by NinjaTrader_RyanM View Post
          You can calculate these. Check file sharing section for NetChange indicator for some ideas.
          i did, but see attached screenshot. How can it be... the "ES" netchange is different, above mine and this from the Market Analyser. Mine is calculated with the bid price.
          Attached Files
          Last edited by mate41; 10-31-2011, 04:10 PM.

          Comment


            #6
            NetChange in the market analyzer is also a calculated value but uses unsupported code. If you want to see the exact calculations, can use a text editor and open the file:
            Documents\NinjaTrader 7\bin\custom\MarketAnalyzer\@NetChange.cs

            We do not provide support for market analyzer code, but you're welcome to use it or parts of it in your own custom indicator.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CortexZenUSA, Today, 12:53 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by CortexZenUSA, Today, 12:46 AM
            0 responses
            1 view
            0 likes
            Last Post CortexZenUSA  
            Started by usazencortex, Today, 12:43 AM
            0 responses
            5 views
            0 likes
            Last Post usazencortex  
            Started by sidlercom80, 10-28-2023, 08:49 AM
            168 responses
            2,265 views
            0 likes
            Last Post sidlercom80  
            Started by Barry Milan, Yesterday, 10:35 PM
            3 responses
            12 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Working...
            X