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

Bars int the future

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

    Bars int the future

    Hoping for some help.

    Pic attached

    I want to program an indicator that much like a trend line goes past the current bar in to the future. That instead of using swinghigh and swinglow, it would use the current bar close and go back "X" bars to a previous close. It would not fluctuate between those 2 points. If it works out studying it over time, I will want to include it in my automated strategy.

    I am in over my head...
    Thanks in advance.
    BR
    Attached Files

    #2
    BR, you could look into using a drawn Ray instead here, this would be a trendline basically with one infinite end point, so extended per default -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Is there an indicator with a ray in it already? To see how its coded.
      Thanks

      Comment


        #4
        You could for example check into this script shared - http://www.ninjatrader.com/support/f...d=5&linkid=562
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by hazylizard, Today, 08:38 AM
        0 responses
        1 view
        0 likes
        Last Post hazylizard  
        Started by Max238, Today, 01:28 AM
        5 responses
        42 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by giulyko00, Yesterday, 12:03 PM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by habeebft, Today, 07:27 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChristopherS  
        Started by AveryFlynn, Today, 04:57 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X