Chart Pattern Helper
Chart Pattern Helper is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its name points to candlestick patterns. It places pending orders and can size trades from your risk. It has 25 settings, for example Upper Border Line (default UpperBorder), Upper Entry Line (default UpperEntry) and Upper TPLine (default UpperTP). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Expert advisor · MT4 · v1.0 · Free
About Chart Pattern Helper
Chart Pattern Helper is an expert advisor (trading robot) for MetaTrader 4. It places pending buy/sell stop or limit orders and can size trades from your balance and risk percent. It has 25 settings, such as Upper border line, Upper entry line and Upper tp line. MQL source code included.
Files in the download: ChartPatternHelper.mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Upper border line | UpperBorder | |
| Upper entry line | UpperEntry | |
| Upper tp line | UpperTP | |
| Lower border line | LowerBorder | |
| Lower entry line | LowerEntry | |
| Lower tp line | LowerTP | |
| Border channel | Border | |
| Entry channel | Entry | |
| Tp channel | TP | |
| Use expiration | true | UseExpiration - Use expiration on pending orders. Not all brokers support expiration. |
| Disable buy orders | false | DisableBuyOrders - If true, new Buy orders will not be created, existing orders will be ignored. |
| Disable sell orders | false | DisableSellOrders - If true, new Sell orders will not be created, existing orders will be ignored. |
| Use distant sl | false | UseDistantSL - If true, stop-loss will be set to the farthest opposite point of the pattern. |
| Calculate position size | true | CalculatePositionSize - Use money management module instead of fixed position size. |
| Fixed position size | 0.01 | FixedPositionSize - Used if CalculatePositionSize = false. |
| Risk | 1 | Risk - Risk tolerance in percentage points |
| Money risk | 0 | MoneyRisk - Risk tolerance in base currency |
| Use money instead of percentage | false | |
| Use equity instead of balance | false | |
| Fixed balance | 0 | FixedBalance - If greater than 0, position size calculator will use it instead of actual account bal |
| Lot digits | 2 | LotDigits - How many digits after dot supported in lot size. For example, 2 for 0.01, 1 for 0.1, 3 f |
| Magic | 20200530 | Magic number that tells this EA's orders apart |
| Slippage | 30 | Slippage - Maximum slippage in broker's pips |
| Silent | false | Silent - If true, does not display any output via chart comment. |
| Error logging | true | ErrorLogging - If true, errors will be logged to file. |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code