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

reference axis for plots

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

    reference axis for plots

    Hello,

    I have a plot which displays as Bar style.

    I'd like to change the reference axis of the bar from 0 to something else.

    Exemple :
    plot series values : 2 - 4 - 3 - 4
    axis reference values : 10 - 10 - 20 - 10
    plot values : 12 (10+2) - 14 - 23 -14

    Can you explain to me how to achieve this light mod ? Thank you.
    Last edited by SARdynamite; 07-08-2010, 05:39 AM.

    #2
    Hi SARdynamite,

    My apologies if this is not what you're looking for, please clarify if not.

    In this tutorial...


    The plot index is used to set min/max values for each of the plots.
    TimNinjaTrader Customer Service

    Comment


      #3
      Hum thank you but not quite.

      In your example, you can plot a 10 value and by setting a minimum treshold to 4 it will show 10-6 but I guess that in the DataBox, the value displayed will still be 10.

      What I'd like to do on the other hand, is to plot a 6 value above 4. The visual will be the same, I'll see 6 starting from 4 also. But in the data box, it will display 6, not 10 ...

      That's really plotting from a different threshold, not 0 like usual but a custom double, int or DataSeries.

      Comment


        #4
        Hi SARdynamite,

        Correct, the plot min/max will set the min max values to be plotted, so a min value of 4, would only plot values larger than or equal to 4. You may need to simply include some addition or subtraction to you values to see them as you are seeking.
        TimNinjaTrader Customer Service

        Comment


          #5
          Yes I could do that but my aim was not to overcharge the DataBox with unfiltered values I don't need.

          Can you plot something and don't make it appear inside the DataBox ?

          Comment


            #6
            Hi SARdynamite,

            Yes, with NinjaTrader 7, if the plot is set to Tranparent, you will not see it in the databox.
            TimNinjaTrader Customer Service

            Comment


              #7
              OK so you cannot display a plot on the chart (color, say yellow) and does not make appear in the databox.

              If it is set to transparent, it does not appear on the databox but also it does not appear on the chart.

              Comment


                #8
                Hi SARdynamite,

                Correct, in order to have it values display in the databox, they must be plots that are NOT set to transparent. You can not have it transparent on the chart, yet show in the databox.
                TimNinjaTrader Customer Service

                Comment


                  #9
                  OK this would have been a great feature.

                  Thank you for your support.

                  Comment


                    #10
                    Hi SARdynamite,

                    Agreed! I will forward this to our development team for future consideration.
                    TimNinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by kevinenergy, 02-17-2023, 12:42 PM
                    115 responses
                    2,698 views
                    1 like
                    Last Post kevinenergy  
                    Started by prdecast, Today, 06:07 AM
                    1 response
                    4 views
                    0 likes
                    Last Post NinjaTrader_LuisH  
                    Started by Christopher_R, Today, 12:29 AM
                    1 response
                    14 views
                    0 likes
                    Last Post NinjaTrader_LuisH  
                    Started by chartchart, 05-19-2021, 04:14 PM
                    3 responses
                    577 views
                    1 like
                    Last Post NinjaTrader_Gaby  
                    Started by bsbisme, Yesterday, 02:08 PM
                    1 response
                    15 views
                    0 likes
                    Last Post NinjaTrader_Gaby  
                    Working...
                    X