Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ZigZag as a filter

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

    ZigZag as a filter

    Hello programmer's,

    I were building a little indicator for a special Candlestick. This candlestick indicator now needs a new filter. I have a long indicator and a short indicator, too.This is, what should the new code line have to do - in case of the long indicator:

    Draw the candlestick signal, if the 1 percent ZigZag is in long modus, too. That means: if the current ZigZag value is higher than the candle before, so draw my signal.

    Can someone write me this line with the correct parameters?

    Thanks a lot,
    Rainbowtrader

    #2
    Hello Rainbowtrader,
    Thanks for your post.

    You can contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

    Search trading apps & services to cusomize your NinjaTrader platform with trading indicators, signals and strategies.


    You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third party services for NinjaTrader all pricing and support information will need to be obtained through the consultant.

    This 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 companies and services 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.


    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Hello Josh,

      do you mean that seriously? I bought the NT licence years ago, and this is the official helping support forum - and you stopped in fact all kind of "one helps the others" with this answer? Is it no more wished, that "one helps the other" - is that a commercial forum since a while? It's not the first time I get this answer here in NT support forum.

      What is wrong here?

      Angry Rainbowtrader

      Comment


        #4
        Rainbowtrader,

        In order to assist myself I would need psuedo code that can easily be translated. I unfortunately do not understand the requirements you have set for the programmer in your post.

        NinjaTrader Support has never created code for clients. We will leave this forum post open for anyone that can write this code for free.
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Hello Josh,

          I had build a scenario and you can see its at the screenshot I made.
          The pseudo code I had written in the indicator file, that I had attached too.

          The indicator is generating a signal in a blue square with the character "L".
          The code lines before the pseudo code is beginning are for creating its with the first and the second code line.
          The both lines under the signal are 2 filters.
          The pseudo code is for filtering, too.

          Here is the pseudo code, too:

          Code:
          Pseudo code for filtering, so that the long-signals in the short direction of the ZigZag are sorted out  // RED CROSSES = not valid
          AND (                                                                                                 // if one of the next is true
                       (1-percent-ZigZag is in long direction) OR                                          // YELLOW CIRCLES = valid
                       (1-percent-ZigZag is at the swingpoint from short to long) OR                       // GREEN CIRCLES = valid
                       (the last swingpoint from 1-percent-ZigZag is the one from short to long)              // PINK CIRCLE = valid
                     )
          Thank you for helping.

          Best regards,
          Rainbowtrader
          Attached Files
          Last edited by Rainbowtrader; 05-18-2019, 09:08 AM.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          591 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          342 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          555 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X