Hello developers.
I need and indicator to find 1-2-3 movement pattern with special condition
the 3rd movement is like a IMPULS movement and the indicator must find it with 2 type (User can sellect this option in indicator inputs)
ATR or ZigZag
if user select ATR, indicatore search for a candle, if it has a big size. big size meand candle size (Open-Close) is 2 time bigger than Average ATR(14) (2 time is a multipler number and its a ind input)
if user select ZigZag, So indicator need to find a big market movement, like collapse or fall movement thaty contains some candles in same direction. ex: 3-4 candle in red color all of them are big
So its a good ide to find these type of movement with zigzag handle(lines) angle. if the line angle is bigger than 45 or 60 degrees, so its a fast price change and market movement. (degree is a ind inputs)
When indicator find these type of movement, now we must find the last swing befor this BIG candle, or Big movement.
fot underestanding the swing movement that I need, look an the picture that I attach here.
indicator must find the last Swing that contains the #0 to #2 moves
the #1 level MUST be inside the #3 Big candle/Big movement
I mean the #1 level MUST be lower tha High(big candle) and bigger than LOW(big candle)
The #1 to #2 movement, MUST be smaller than #2 to #3 movement (The previous candlestick of Big one, should not be a larg candle) (refer to example image)
if indicator success to finde the specific swing patterns: