Chart Pattern Helper (EA that trades your drawn lines)
Semi-automatic EA that places pending orders from the lines and channels you draw on the chart, for breakout patterns
Detects Japanese candlestick patterns and labels them on the chart, with per-pattern switches and alerts
Open source, Apache License 2.0, by EarnForex.com. See licences
First release on this site.
Drag it onto a chart. Set MaxCandle to a sensible value (default 500; 0 scans everything, which can be slow on charts with many bars). Turn off patterns you do not use to keep the chart tidy.
Use the small panel in the chart corner to pause detection or clear labels. Notifications are off by default; turn on EnableNotify first. Use it with support/resistance or trend context, since single candlestick patterns can give false signals.
| Name | Default | Description |
|---|---|---|
| IndicatorName | PTRNDET | Name used for the chart objects the indicator draws and in notification text. |
| MaxCandle | 500 | Number of past candles to scan. 0 scans all. |
| DetectBullish | true | Detect bullish patterns. |
| DetectBearish | true | Detect bearish patterns. |
| DetectUncertain | true | Detect uncertain patterns that do not point to a direction, such as Doji. |
| DetectDojiNeutral | true | Detect the Doji pattern. |
| DetectDojiDragonfly | true | Detect the Doji Dragonfly pattern. |
| DetectDojiGravestone | true | Detect the Doji Gravestone pattern. |
| DetectSpinningTopBull | true | Detect the bullish Spinning Top pattern. |
| DetectSpinningTopBear | true | Detect the bearish Spinning Top pattern. |
| DetectMarubozuUp | true | Detect the bullish Marubozu pattern. |
| DetectMarubozuDown | true | Detect the bearish Marubozu pattern. |
| DetectHammer | true | Detect the Hammer pattern. |
| DetectHangingMan | true | Detect the Hanging Man pattern. |
| DetectInvertedHammer | true | Detect the Inverted Hammer pattern. |
| DetectShootingStar | true | Detect the Shooting Star pattern. |
| DetectEngulfingBull | true | Detect the Bullish Engulfing pattern. |
| DetectEngulfingBear | true | Detect the Bearish Engulfing pattern. |
| DetectTweezerTop | true | Detect the Tweezer Top pattern. |
| DetectTweezerBottom | true | Detect the Tweezer Bottom pattern. |
| DetectThreeWhiteSoldier | true | Detect the Three White Soldiers pattern. |
| DetectThreeBlackCrows | true | Detect the Three Black Crows pattern. |
| DetectThreeInsideUp | true | Detect the Three Inside Up pattern. |
| DetectThreeInsideDown | true | Detect the Three Inside Down pattern. |
| DetectMorningStar | true | Detect the Morning Star pattern. |
| DetectEveningStar | true | Detect the Evening Star pattern. |
| DetectBullishHarami | true | Detect the Bullish Harami pattern. |
| DetectBearishHarami | true | Detect the Bearish Harami pattern. |
| DetectBullishThreeLineStrike | true | Detect the Bullish Three-Line Strike pattern. |
| DetectBearishThreeLineStrike | true | Detect the Bearish Three-Line Strike pattern. |
| DetectThreeOutsideUp | true | Detect the Three Outside Up pattern. |
| DetectThreeOutsideDown | true | Detect the Three Outside Down pattern. |
| Font | Verdana | Font face of the pattern labels on the chart. |
| FontSize | 8 | Font size of the pattern labels. |
| FontColorBullish | clrGreen | Label colour for bullish patterns. |
| FontColorBearish | clrRed | Label colour for bearish patterns. |
| FontColorUncertain | clrBlack | Label colour for uncertain patterns. |
| EnableNotify | false | Turn on notifications. Off by default. SendAlert, SendApp and SendEmail only apply when this is on. |
| SendAlert | true | Notify with an MT5 popup alert. |
| SendApp | false | Send a push notification to the MT5 mobile app (MetaQuotes ID must be set up first). |
| SendEmail | false | Send an email notification (email must be set up in MT5 first). |
| ChartCorner | CORNER_LEFT_UPPER | Chart corner where the small control panel (detection on/off and clear labels) is placed. |
| Xoff | 20 | Horizontal offset of the control panel, in pixels. |
| Yoff | 20 | Vertical offset of the control panel, in pixels. |
Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.
This indicator scans the candles on the chart and places a pattern name label and an arrow on each candle where one is found. It supports 27 patterns, such as Hammer, Shooting Star, Engulfing, Morning/Evening Star, Harami, Three White Soldiers, Three Black Crows and several Doji types, grouped as bullish, bearish and uncertain.
Each pattern can be switched on or off, label colours and font can be set, and a small panel on the chart toggles detection and clears the labels already drawn. With EnableNotify on it alerts when a pattern is found on the candle that just closed, by popup, push or email.
It only examines closed candles (starting from the last closed one), so shown patterns do not change when a new bar forms. Each candle gets at most one label: the code checks the patterns in a fixed order and uses the first match.
Banners from the Exness partner programme

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.
Semi-automatic EA that places pending orders from the lines and channels you draw on the chart, for breakout patterns
Price-action EA for XAUUSD on M5 that builds zones from engulfing candles and enters when price retests the zone
XAUUSD · M5
An indicator that draws boxes on the chart over the price gap across three candles (Fair Value Gap), coloured by direction
Main chart