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

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 GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,227 views
      0 likes
      Last Post xiinteractive  
      Started by andrewtrades, Today, 04:57 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      7 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      440 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      12 views
      0 likes
      Last Post FAQtrader  
      Working...
      X