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

ATR based swing

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

    ATR based swing

    Hi,
    I want help with making swing based on below definition. If it is already created kindly share the link. Its based on welles welder approach to quantify swing based on ATR function.

    A new up wave starts when price moves 3 ATR up from the lowest low over 15 period look back
    A new down wave starts when price moves 3 ATR down from the highest high over 15 period look back.

    Thank you.

    #2
    Try https://ninjatrader.com/support/help...?tutorials.htm or https://ninjatrader.com/support/help...htm(ninjascrpt)

    Comment


      #3
      Hello trader9,

      Thank you for the post.

      I want to confirm that I understand your condition fully. Could you please clarify what is meant by "3 ATR up" and "3 ATR down".

      I read this as taking whatever bar has the lowest low up to 15 bars ago, check the ATR at that bar then check ATR[LowestBarIndex] - ATR[0] (the most current ATR) is >= 3.

      I look forward to your reply.
      Chris L.NinjaTrader Customer Service

      Comment


        #4
        Hi,
        3 ATR up from lowest low means, let's say we are painting bars red for down swing and green for up swing, so when market moves 3 ATR up from lowest low(15 bars look back) it will change color from red to green as we have up swing based on definition.
        Thanks for reply.

        Comment


          #5
          Hello trader9,

          Thanks for the reply.

          Edit:

          I believe I know what you are looking for here, by ATR 3 up do you mean to check if the ATR had a positive slope for at least 3 bars?

          Could you please post a screenshot of your chart and provide an example visually?

          To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

          Click here for instructions

          I look forward to assisting further.
          Last edited by NinjaTrader_ChrisL; 11-30-2018, 12:26 PM.
          Chris L.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,789 views
          0 likes
          Last Post aligator  
          Started by Jimmyk, 01-26-2018, 05:19 AM
          6 responses
          837 views
          0 likes
          Last Post emuns
          by emuns
           
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          6 responses
          3,294 views
          1 like
          Last Post jgualdronc  
          Started by Touch-Ups, Today, 10:36 AM
          0 responses
          13 views
          0 likes
          Last Post Touch-Ups  
          Started by geddyisodin, 04-25-2024, 05:20 AM
          11 responses
          63 views
          0 likes
          Last Post halgo_boulder  
          Working...
          X