Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

% change plot

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

    % change plot

    Hi ,
    I was trying to find how to pull the price % change value from NinjaTrader.
    I looked this link to check the dll functions.


    Closest one I found was
    "int Last(string instrument, double price, int size)
    Sets the last price and size for the specified instrument"

    Want to create a graph/chart for % change of symbol.( eg ES = 0.34%, 6E= 1.2%, CL= -0.72 % etc)
    X -axis : time interval ( 1 min)
    Y -axis : % change.
    Multiple symbols need to be plotted. Curve for each symbol will have different color.

    To-be plot will look something like this -


    What is the best way to plot % change for a symbol ?

    Thank you in advance

    #2
    Hi nina2020a, unfortunately percent change charts could not be supported. It's an item on our feedback list for future consideration though and I will make sure to add a vote on your behalf in as well.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by nina2020a View Post
      Hi ,
      I was trying to find how to pull the price % change value from NinjaTrader.
      I looked this link to check the dll functions.


      Closest one I found was
      "int Last(string instrument, double price, int size)
      Sets the last price and size for the specified instrument"

      Want to create a graph/chart for % change of symbol.( eg ES = 0.34%, 6E= 1.2%, CL= -0.72 % etc)
      X -axis : time interval ( 1 min)
      Y -axis : % change.
      Multiple symbols need to be plotted. Curve for each symbol will have different color.

      To-be plot will look something like this -


      What is the best way to plot % change for a symbol ?

      Thank you in advance
      So why not just call the supplied indicator for each symbol, or write the code to do the calculation and assign to each symbol by using either BarsInProgress or by using Closes[n]?
      Attached Files

      Comment


        #4
        Hi koganam,
        Thanks for the input .
        ROC indicator sort of does what I am looking for . I dont have programming background .

        So can a developer plot multiple symbol ROC's on the same chart ?

        thanks


        Originally posted by koganam View Post
        So why not just call the supplied indicator for each symbol, or write the code to do the calculation and assign to each symbol by using either BarsInProgress or by using Closes[n]?

        Comment


          #5
          Originally posted by nina2020a View Post
          Hi koganam,
          Thanks for the input .
          ROC indicator sort of does what I am looking for . I dont have programming background .

          So can a developer plot multiple symbol ROC's on the same chart ?

          thanks
          It can be done, either programmatically, or manually.

          Comment


            #6
            Eventually the data is going to come out of IB.

            Hopefully IB API has some function like reqMktData() that will fetch the Price change %.

            So I was thinking , would it make sense to just extract the data directly from IB ?

            Thanks

            Originally posted by koganam View Post
            It can be done, either programmatically, or manually.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Waxavi, Today, 02:10 AM
            1 response
            17 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Kaledus, Today, 01:29 PM
            5 responses
            13 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Waxavi, Today, 02:00 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by alifarahani, Today, 09:40 AM
            5 responses
            23 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by gentlebenthebear, Today, 01:30 AM
            3 responses
            17 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X