Collection · MT5

Simple Crazy Lot Pack

by Smilejarik

This repository provides a collection of MetaTrader 5 expert advisors based on moving average crossovers and price distance relative to the mean.

High risk

GitHub stars2
Forks1
Last update6 years ago4 Jan 2020
LicenceNone stated

Overview

The core logic monitors the gap between the current price and a simple moving average while tracking candle direction for entry signals. The collection includes variations for reversed logic and lot scaling. Risk controls feature hard stop loss and take profit levels, along with a maximum lot size constraint. The provided code is intended for educational purposes and demonstrates basic algorithmic execution on the MT5 platform.

Details

Author

Smilejarik on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Mean reversion, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

Read from 01_Simple_CrazyLot.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
TP_levelint50Take Profit (in pips)
SL_levelint600Stop Loss Level (in pips)
start_lotdouble0.01Start lot
MAX_lotdouble0.16max possible lot
MA_periodint8
MA_difint30defference (minimum gap) between MA and open/close price

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Smilejarik/MetaQuotes-Language-4-Trading-Scripts from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

Introducao MQL5 Collection

by RafaelFenerick
75 stars

This repository is a collection of educational expert advisors for MetaTrader 5, developed as part of an introductory MQL5 programming series. It includes multiple standalone robots utilizing common technical indicators such as moving average crossovers, Bollinger Bands, and the Relative Strength Index. The primary exp

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Introducao MQL5 Collection

NetAlgo EA Collection

by santiago-cruzlopez
55 stars

This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu

MT5 Collection Trend followingScalpingMartingale High risk
16 stars

This repository contains a collection of MetaTrader 5 Expert Advisors and scripts developed for educational and testing purposes. It includes various automated robots based on technical indicators such as the Stochastic Oscillator, RSI, and Moving Average crossovers. The primary Stochastic EA manages entries using over

MT5 Collection Indicator crossoverMartingaleMean reversion High risk

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
6 stars

This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define

MT5 Collection MartingaleGridBreakout High risk

EJ Trader MT5 Collection

by ejtraderPlugins
3 stars

This repository is a diverse collection of MetaTrader 5 Expert Advisors, featuring nearly 100 different scripts sourced from various origins. The library includes automated robots based on standard indicators like Bollinger Bands, MACD, Stochastics, and moving average crossovers, as well as channel trading systems and

MT5 Collection Indicator crossoverMean reversionBreakout High risk
Updated 8 years ago None stated GitHub repository of EJ Trader MT5 Collection

More collections

Need a broker for MT5?

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

Compare brokers