• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    http://www.ninjatrader.com/support/h..._interface.htm

    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 -
    http://snag.gy/pIyzK.jpg

    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.
      http://www.ninjatrader.com/support/h..._interface.htm

      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 -
      http://snag.gy/pIyzK.jpg

      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 ilai74, Today, 04:37 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_PatrickG  
            Started by jimfurr, Today, 04:40 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_ChrisSch  
            Started by learningnt, Yesterday, 10:21 PM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_ChrisSch  
            Started by CiprianV, Today, 03:11 AM
            0 responses
            6 views
            0 likes
            Last Post CiprianV  
            Started by GMiller64, Yesterday, 01:13 PM
            3 responses
            14 views
            0 likes
            Last Post GMiller64  
            Working...
            X