• 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

Coding dynamic trend lines using TD Demand and Supply Points

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

    Coding dynamic trend lines using TD Demand and Supply Points

    Hi - I'm a new user. I am fluent in AmiBroker coding, but not Ninja. Seeking help in creating upper and lower trend line indicators that automatically update according to the old-school TD points.
    Specifics: You start from the right of the chart and move left. For lower/demand/upward sloping trend line: Locate first low for which bar lows immediately to right and left are both higher and close two bars before is also higher. That is the first point. Then find the next lower point to the left, using those same criteria. Then connect those two points and project out to the right.
    For upper/supply/downward sloping version, obviously use the reverse.
    For people who haven't used these before, try them out for awhile; there is something almost eerie about how helpful they are.
    Thank you.
    Last edited by Zoomy55; 03-21-2019, 08:29 AM.

    #2
    Hello Zoomy55,

    Thanks for your post and welcome to the NinjaTrader forums!

    If you would like to create this indicator yourself, we can provide references to the help guide to get you started with Ninjascript which is based on C# programming language. Ninjascript provides many methods and properties to assist you with your scripting needs.

    You may also want to review the freely and publicly available indicators already created and uploaded by other forum members. I'm not sure if what you are looking for has already been created or if perhaps there is something close that may be suitable as a starting point for you to use: https://ninjatraderecosystem.com/user-app-share/ Please note that both NT7 and NT8 scripts are there and they can be filter for just NT8 by the "show all" filter shown at the top of the page in the link. The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Alternatively, if you would prefer this professionally coded for you, we can provide links to 3rd party Ninjascript programmers who would be able to meet your needs.

    For your understanding, the Ninjatrader support team does not provide coding or debugging services.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thank you, Paul!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by levikNT, Today, 04:39 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by chartish, Today, 08:36 AM
      2 responses
      15 views
      0 likes
      Last Post chartish  
      Started by login_dejavu, Yesterday, 04:58 AM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_RyanS  
      Started by NinjaTrader_PaulH, Today, 07:40 AM
      0 responses
      4 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by awesometrader, Today, 06:59 AM
      2 responses
      9 views
      0 likes
      Last Post awesometrader  
      Working...
      X