Trade manager · MT4

PATI Trading Assistant

by daveh551

PATI Trading Assistant is a MetaTrader 4 utility designed to facilitate trade management and bookkeeping based on the PATI trading methodology.

GitHub stars13
Forks12
Last update7 years ago11 Dec 2018
LicenceGPL-2.0

Overview

PATI Trading Assistant automates the placement of stop losses and take profits, specifically managing range breakout and pullback setups. The EA includes risk controls such as the Two Minute Rule for pending orders and automatic closure when a price closes back inside a range. It features a graphical user interface for manual drawing and order execution but requires external DLL imports for its UI components.

Details

Author

daveh551 on GitHub

Type

Trade manager

Platform

MetaTrader 4 (MQL4)

Strategy

Breakout, Trend following

Markets

Forex

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from PATITradingAssistant.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Generalstring===General===
Testingboolfalse
PairOffsetWithinSymbolint0
AlertOnTradebooltrue
MakeTickVisibleboolfalse
SaveConfigurationboolfalse
ConfigureStopsstring===Configure Stop Loss Levels===
DefaultStopPipsint12
ExceptionPairsstringEURUSD/8;AUDUSD,GBPUSD,EURJPY,USDJPY,USDCAD/10
SendSLandTPToBrokerbooltrue
SetLimitsOnPendingOrdersbooltrue
AdjustStopOnTriggeredPendingOrdersbooltrue
Show all 40 inputs
NameTypeDefaultDescription
ConfigureDisplaystring===Configure Trade Display===
ShowEntrybooltrue
ShowInitialStopbooltrue
ShowExitbooltrue
ShowTradeTrendLinebooltrue
EntryIndicatorint2
WinningExitColorcolorGreen
LosingExitColorcolorRed
TradeTrendLineColorcolorBlue
ConfigureNoEntryZonestring===Configure No-Entry Zone===
ShowNoEntryZonebooltrue
NoEntryZoneColorcolorDarkGray
MinNoEntryPaddouble15
ConfigureTPstring===Configure Take Profit Levels===
UseNextLevelTPRulebooltrue
MinRewardRatiodouble1.5
ConfigureRangeLinesstring===Configure Draw Range Lines feature===
ShowDrawRangeButtonbooltrue
RangeLinesColorcolorYellow
RangeLineLabelColorcolorBlue
RangeLineLabelSizeint1
SetPendingOrdersOnRangesboolfalse
MarginForPendingRangeOrdersdouble1.0
ObserveTwoMinuteRulebooltrue
AutoCloseOnCBIRbooltrue
AlertOnCBIRboolfalse
ConfigureYellowLinesstring===Configure Draw Yellow Lines feature ===
ShowDrawYLButtonbooltrue

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone daveh551/PATITradingAssistant from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

135 stars

This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri

MT4MT5 Collection Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Nkanven EA Collection

Box Breakout EA

by je-zhou
26 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following
21 stars

This repository contains a collection of MetaTrader 4 expert advisors, including the Ariel Turtle Bot and several named variants like Elisa, Cary, and Faith. The primary logic utilizes Donchian Channel breakouts combined with Simple Moving Average filters to identify trend-following entries. The software includes compr

MT4 Collection Trend followingBreakoutMartingale High risk
Updated 9 years ago None stated GitHub repository of Ariel Turtle Bot Collection

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario
19 stars

This repository contains a collection of MetaTrader 4 expert advisors and utilities primarily focused on breakout and trend-following strategies. The featured EA, ttnFullTurtle, implements the classic Turtle Trading rules using dual breakout systems, ATR-based position sizing, and pyramiding logic. It includes risk con

MT4 Collection BreakoutTrend followingMean reversion

Hybrid Swing EA

by clevergoldfox
15 stars

This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac

MT4 Trading robot BreakoutTrend following
Updated 8 months ago None stated GitHub repository of Hybrid Swing EA

More trade managers

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers