Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

plot line on low or high

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

    plot line on low or high

    i want to plot a line on low and/or high and/or open in the same fashion that you currently draw the line on close chart style.
    is there a way to do this with indicator or some other method?
    thanks

    #2
    Hello,

    Thank you for your post.

    You may be interested in the Prior Day OHLC or the Current Day OHLC indicators. Within both of them you may change the properties so they only display low or high.

    You did mention that you want it similar to the line on close, however, and that line is vertical. These indicators offer a number of customization options for plot types, but unfortunately vertical is not one of them.

    Please let us know if you have any further questions.


    Comment


      #3
      Thanks Melissa, I must not have been clear with my question so let me ask a different way.
      I want to plot bar by bar the low of the bar or the high of the bar similar to the way that the plot style "line on close" is drawn.
      So for instance I could plot the chart as a line on close and then on the same chart also plot a line on low and a line on high.
      Is there a way to do that on a bar by bar basis?

      Comment


        #4
        Hello,

        Thank you for the clarification and I apologize for the misunderstanding.

        What you are describing would not be possible with the current platform configuration, but may be possible using a custom NinjaScript strategy. If you have a programming background, our NinjaScript team may provide you links to samples which would help you write the strategy yourself, or you may check https://ninjatraderecosystem.com/sea...mming-services for a list of third parties that would be interested in building this for you.

        Please let us know if we may be of any further assistance.

        Comment


          #5
          dtl-saw If I have understood correctly, you would like to draw a line for the high and low of each bar. This is because drawing a Line on Close only draws a line through the closing price and not the high price or the low price of the bar.

          Here's a workaround that I came up with.

          1) Add the stock Ninja SMA to your chart. Change the period to 1.
          2) Select the instrument you want to use as the Input Series.
          3) In that same window on the right, select High or Low as Price Type. (see second screenshot)
          4) Repeat steps 1-3 but select Low for step 3.

          The third screenshot shows the solid red line as just the instrument plotted as Line on Close. The dashed line now plots the high of each bar.

          Hope this helps.

          P.S. NinjaTrader_Melissa I just wish Ninja would allow plotting multiple standardized lines/instruments/indicators with dissimilar unit scales in overlay mode. Currently, it just allows one per left, right or overlay scale.

          ​​

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          57 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          37 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          18 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          20 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          49 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X