3 touch trendline

 

Hello, I would like some help .

I would like to code a 3 touchs trendline from zig zag indictor or fractal, do you have a idea , thank you

 
  1. Maestro97: I would like some help .

    Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
              No free help (2017)

    Or pay someone. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2018)

    We're not going to code it for you (although it could happen if you are lucky or the problem is interesting).
              No free help (2017)


  2. Until you can state your criterion in concrete terms, it can not be coded. For example, if two adjacent candles overlap the trendline, is that two touches?

 
Maestro97:

Hello, I would like some help .

I would like to code a 3 touchs trendline from zig zag indictor or fractal, do you have a idea , thank you

Using arrays could help in your case
 
Maestro97:

Hello, I would like some help .

I would like to code a 3 touchs trendline from zig zag indictor or fractal, do you have a idea , thank you

You can do it by searching the last bars of ZigZag using iCustom or load iFractals  and then Draw a trendline

Reason: