Loading…

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

SettingDefaultWhat it does
Upper border lineUpperBorder
Upper entry lineUpperEntry
Upper tp lineUpperTP
Lower border lineLowerBorder
Lower entry lineLowerEntry
Lower tp lineLowerTP
Border channelBorder
Entry channelEntry
Tp channelTP
Use expirationtrueUseExpiration - Use expiration on pending orders. Not all brokers support expiration.
Disable buy ordersfalseDisableBuyOrders - If true, new Buy orders will not be created, existing orders will be ignored.
Disable sell ordersfalseDisableSellOrders - If true, new Sell orders will not be created, existing orders will be ignored.
Use distant slfalseUseDistantSL - If true, stop-loss will be set to the farthest opposite point of the pattern.
Calculate position sizetrueCalculatePositionSize - Use money management module instead of fixed position size.
Fixed position size0.01FixedPositionSize - Used if CalculatePositionSize = false.
Risk1Risk - Risk tolerance in percentage points
Money risk0MoneyRisk - Risk tolerance in base currency
Use money instead of percentagefalse
Use equity instead of balancefalse
Fixed balance0FixedBalance - If greater than 0, position size calculator will use it instead of actual account bal
Lot digits2LotDigits - How many digits after dot supported in lot size. For example, 2 for 0.01, 1 for 0.1, 3 f
Magic20200530Magic number that tells this EA's orders apart
Slippage30Slippage - Maximum slippage in broker's pips
SilentfalseSilent - If true, does not display any output via chart comment.
Error loggingtrueErrorLogging - If true, errors will be logged to file.

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria