Trade manager · MT4

Auto Cal Lots Expert Adviser

by KawaiAkihiro

This MetaTrader 4 expert advisor functions as a semi-automatic trading assistant designed to automate lot sizing and position management.

GitHub stars1
Forks0
Last update5 years ago27 Mar 2021
LicenceNone stated

Overview

Auto Cal Lots Expert Adviser calculates position sizes based on the user account balance, a target interest rate, and a specific pips distance. The tool provides manual execution buttons for immediate buy and sell orders, including a feature for consecutive multiple entries to facilitate pyramiding. Risk management includes configurable stop loss and take profit levels, along with an automatic global exit function that closes all positions once a total pips profit threshold is reached.

Details

Author

KawaiAkihiro on GitHub

Type

Trade manager

Platform

MetaTrader 4 (MQL4)

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 Auto_Cal-Lot_Order.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
num_entryint2連続エントリー回数
pipsdouble20基準獲得pips数
Interest_ratedouble2.5利率( /基準獲得pips数)
account_type_lotdefault_lotstandard口座タイプによる1ロットのサイズ
max_lotint50Fx会社ごとの最大ロット
slip_pegeint2スリップページ[pips]
Auto_exitboolfalse自動決済機能
Auto_pipsint30自動決済基準[pips]
profit_pipsint20指値pips
loss_pipsint50逆指値pips

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone KawaiAkihiro/Auto_CalLots_Expert_Adviser 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.
  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

67 stars

This MetaTrader expert advisor functions as a trade manager that automates stop loss adjustments for existing positions. It specifically waits until a trade reaches a user-defined profit threshold in points before initiating a trailing stop. The tool includes flexible filtering options to manage specific symbols, magic

MT4MT5 Trade manager
Updated 3 months ago Apache-2.0 GitHub repository of Trailing Stop On Profit

ATR Trailing Stop

by EarnForex
19 stars

This trade manager for MetaTrader 4 and 5 automatically adjusts the stop-loss levels of open positions using the Average True Range indicator. It allows users to define the trailing distance through a configurable ATR period and multiplier. The expert advisor includes filtering logic to apply the trailing stop only to

MT4MT5 Trade manager
Updated 6 months ago Apache-2.0 GitHub repository of ATR Trailing Stop

PSAR Trailing Stop

by EarnForex
16 stars

PSAR Trailing Stop is a management utility for MetaTrader 4 and 5 that automates the adjustment of stop-loss levels for open positions. Instead of manual movement, it follows the Parabolic SAR indicator values to lock in profits or minimize losses as a trend progresses. The software includes filtering options to target

MT4MT5 Trade manager
Updated 2 years ago Apache-2.0 GitHub repository of PSAR Trailing Stop

Fractals Trailing Stop

by EarnForex
15 stars

This expert advisor is a utility for MetaTrader 4 and MetaTrader 5 designed to manage stop-loss levels for existing trades. It utilizes Bill Williams' Fractals indicator to dynamically adjust the stop loss as new fractal points form on the chart. Users can configure the number of bars to scan and specify which fractal

MT4MT5 Trade manager
Updated 1 year ago Apache-2.0 GitHub repository of Fractals Trailing Stop
13 stars

PATI Trading Assistant is a MetaTrader 4 utility designed to facilitate trade management and bookkeeping based on the PATI trading methodology. It 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

MT4 Trade manager BreakoutTrend following
11 stars

This expert advisor acts as a trade manager for MetaTrader 4 and 5, focusing on automated stop-loss adjustments. It uses the Supertrend indicator to dynamically calculate and move the stop-loss level for existing positions. Users can filter which trades are managed based on symbol, magic number, trade type, or comments

MT4MT5 Trade manager
Updated 2 years ago Apache-2.0 GitHub repository of Supertrend Trailing Stop

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