This script would find the 8 famous "Japanese Candle Stick Patterns" in your chart. Please be aware it find patterns in "Potential price zones" only, which help you to avoid none-important patterns during a price trend. I used RSI and ATR in my codes to find best candle forms and price conditions.
*** This indicator shared before but without source code. According to follow requests, I publish it again with source codes. I hope it helps you in trading journey...
Bellow patterns are detecting: Hammer | ShootingStar | Engulfing Candle | Doji | Tweezers Top/Buttom | Three White Soldiers/Three Black Crows | Marubozu | Harami * You can select your preferred patterns from indicator setting. * Pattern names are abbreviated for better view on chart. * Separate alerts for different type of candles for whom looking for a specific candle pattern * Main alert which notify about every kind of candle patterns detect in a chart