Collection ยท MT5

Jivita Expert Advisors

by rasingollam

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies.

GitHub stars1
Forks0
Last update1 year ago18 May 2025
LicenceApache-2.0

Overview

The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk management options include fixed lot sizes or percentage-based compounding, alongside ATR-based adaptive stops and spread filters. The logic integrates ADX for market regime detection, allowing for distinct parameter evolution during trending or ranging cycles. Additional experts in the repository focus on ATR bands and multi-timeframe trend following.

Details

Author

rasingollam on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Indicator crossover, Trend following, Mean reversion

Markets

Any symbol

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

NameTypeDefaultDescription
Inp_ShortPeriodint10Initial Short SMA Period
Inp_LongPeriodint30Initial Long SMA Period
Inp_LotSizedouble0.01Fixed Lot Size (0 = use risk-based sizing)
Inp_RiskPercentagedouble1.0Risk percentage per trade (when lot size = 0)
Inp_MagicNumberulong123456Magic Number
Inp_StopLossPipsint50Initial Stop Loss in pips (0=off)
Inp_TakeProfitPipsint100Initial Take Profit in pips (0=off)
Inp_MaxSpreadPointsdouble5.0Max spread in points (0=off)
Inp_CloseOnOppositeSignalboolfalseClose positions on opposite signal
Inp_UseATRStopsboolfalseUse ATR for adaptive stops
Inp_ATRPeriodint14ATR period for adaptive stops
Inp_ATRMultiplierSLdouble2.0ATR multiplier for stop loss
Show all 35 inputs
NameTypeDefaultDescription
Inp_ATRMultiplierTPdouble4.0ATR multiplier for take profit
Inp_MinPeriodint5Min SMA Period
Inp_MaxPeriodint200Max SMA Period
Inp_MinDiffint5Min difference between periods
Inp_PopulationSizeint20Population size
Inp_Generationsint10Generations per evolution
Inp_MutationRatedouble0.1Mutation rate (0.0-1.0)
Inp_TestBarsint500Bars for fitness simulation
Inp_EvolveRiskParamsbooltrueEvolve SL/TP parameters
Inp_MinStopLossint20Min Stop Loss (pips)
Inp_MaxStopLossint100Max Stop Loss (pips) // REDUCED FROM 150
Inp_MinTakeProfitint20Min Take Profit (pips)
Inp_MaxTakeProfitint200Max Take Profit (pips) // REDUCED FROM 300
Inp_MinRiskRewarddouble0.5Min Risk:Reward ratio
Inp_MaxRiskRewarddouble5.0Max Risk:Reward ratio
Inp_EvolutionMinutesint60Evolution frequency (minutes)
Inp_MinTradesForEvolutionint10Min trades before considering real performance
Inp_RealTradeProfitWeightdouble0.7Weight for real trade performance (0.0-1.0)
Inp_OnlyEvolveAfterLossesboolfalseOnly evolve after losing trades
Inp_UseMarketRegimeboolfalseAdapt to market regime (trend/range)
Inp_ADXPeriodint14ADX period for trend strength
Inp_TrendThresholddouble25.0ADX threshold for trend detection
Inp_SeperateEvolutionbooltrueEvolve separate parameters for trend/range

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone rasingollam/Jivita-Expert-Advisors 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, 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

140 stars

This repository provides a collection of Expert Advisors for MetaTrader 5 and Python trading scripts developed for an educational YouTube series. It features various technical indicator-based strategies, including MACD, Relative Strength Index, Stochastic, and Bollinger Bands. The included MQL5 files implement multi-ti

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 3 years ago None stated GitHub repository of Kecoma Trading Collection
61 stars

This collection features several expert advisors for the MetaTrader 5 platform, each built around a different technical indicator such as MACD, RSI, Parabolic SAR, and Ichimoku Kinko Hyo. The robots execute trades based on classic signal logic, including zero-line crossings and signal line crossovers. Users can configu

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 6 years ago Custom licence GitHub repository of Pipbolt MT5 Expert Collection
40 stars

This educational collection provides a foundation for building MetaTrader 5 expert advisors through a series of modular code snippets and a primary RSI-based trading robot. The included expert advisor executes trades based on Relative Strength Index overbought and oversold levels, supporting both live and closed candle

MT5 Collection Mean reversionIndicator crossoverTrend following

This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicator automation. The core component aggregates signals from a wide array of standard tools, including trend-following moving averages, oscillators like RSI and MACD, and Bill Williams indicators. It includes specifi

MT5 Collection Trend followingIndicator crossoverMulti-strategy
8 stars

This collection of MetaTrader 5 expert advisors serves as an educational resource for MQL5 programming. It contains multiple example robots utilizing technical indicators such as Moving Averages, Parabolic SAR, CCI, and Stochastic oscillators. The provided scripts demonstrate fundamental trading automation features inc

MT5 Collection Indicator crossoverTrend followingMean reversion
4 stars

This repository is a collection of MetaTrader 5 expert advisors developed as early coding projects between 2021 and 2024. It includes multiple robots implementing varied strategies such as range breakouts, Donchian channels, Fibonacci retracements, and Bollinger Bands. The expert advisors are largely technical indicato

MT5 Collection Trend followingBreakoutMean reversion High risk

More collections

Need a broker for MT5?

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

Compare brokers