• 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

Indicator to plot a line x bars forward above and below the closing price

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

    Indicator to plot a line x bars forward above and below the closing price

    Hi,

    Does anyone know of an indicator that will plot a horizontal line "x" bars forward of a price e.g. close (ideally would be able to input open, high low, close to be used).

    I want to plot lines above and below the input price e.g. close using +/- another input value e.g. 20

    x is an input e.g. 5 - in this case the line would be extend from the bar that was used in the calculation forward 5 bars. Ideally the lines would start at the next bar as they are not relevant to the bar that they are calculated on.

    So for example:

    If close was input as the price to be used.
    20 points was input
    number of bars of 5 was input

    Current close is 100

    Result:

    Horizontal lines above and below the bar going forward 5 bars (ideally the lines would start at the next bar).

    One line at the 120 level
    One line at the 80 level

    Alternatively would someone mind coding one or point me in the direction of one I can clone and change.

    #2
    Hello skiguy,

    There is not an indicator that I know of that does this but there quite a few indicators that draw horizontal lines on the chart that you may take a look at. For example:

    http://www.ninjatrader.com/support/f...d=4&linkid=364

    Let me know if you have any questions.
    JCNinjaTrader Customer Service

    Comment


      #3
      This's an old topic, but I am coming across your topic and it's pretty surprised that I have exactly the indicator you need, namely Tick Bound: ninza.co/product/tick-bound

      It's FREE to download!
      Last edited by ninZa; 10-26-2014, 07:17 AM.
      ninZa
      NinjaTrader Ecosystem Vendor - Ninza

      Comment


        #4
        Thank you. I will have a look at it.

        Very much appreciate your response.

        Chris

        Comment


          #5
          Originally posted by skiguy View Post
          Thank you. I will have a look at it.

          Very much appreciate your response.

          Chris
          It was my pleasure
          ninZa
          NinjaTrader Ecosystem Vendor - Ninza

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by thgamey, Yesterday, 08:38 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by stredtity, Today, 01:21 AM
          0 responses
          4 views
          0 likes
          Last Post stredtity  
          Started by superg3, Yesterday, 10:12 PM
          0 responses
          8 views
          0 likes
          Last Post superg3
          by superg3
           
          Started by johnnybegoode, Yesterday, 07:02 PM
          0 responses
          10 views
          0 likes
          Last Post johnnybegoode  
          Started by YevhenShynkarenko, Yesterday, 05:02 PM
          1 response
          17 views
          0 likes
          Last Post YevhenShynkarenko  
          Working...
          X