Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom Pivots? Off of Previous Close

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

    Custom Pivots? Off of Previous Close

    Is there anything available for me to make custom Pivots from off of yesterdays close?

    I am in need of a way to have to lines plotted at 5% above and below yesterdays close...

    TIA

    #2
    I am not sure what you mean. Are you just trying to draw lines 5% off of the close? You can custom program an indicator to do this directly. Create an indicator with a plot and just set the plot to PriorDayOHLC().PriorClose[0] * 1.05 for 5%.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh

      Yes, that is exactly what I am trying to do.

      I need the previous close price, then on the next days intra day chart for it to plot 2 lines

      one 5% above the previous close and one 5% below the previous close...

      It seems simple and what you wrote seems simple... is it easy to do? Do I just try and create a custom ninjascript?

      TIA

      Comment


        #4
        tshirtdeal,

        You will need to make a custom indicator. I suggest you first check out these tutorials and then its really simple after that. http://www.ninjatrader-support.com/H...tml?Overview23
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Dang

          Dang, first indicator I ever made, but didnt work... How can I try and edit it?

          Comment


            #6
            It is not closing out

            It is not closing out after the days end, it seems to be dragging into each new day

            Comment


              #7
              Almost Got It

              How do I get the 5% below or negative 5% from the close?

              Comment


                #8
                Got It I Think

                * .95

                Man math ain't my gig, nice to code my first indicator though... good to know how to do the basic stuff...

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                578 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                334 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                553 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                551 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X