MA Twister monitors three distinct moving average periods to identify bullish or bearish momentum. The bot includes specialized risk controls for prop firm challenges, such as daily and total drawdown limits, account exposure settings, and specific profit targets. Position sizing and stop levels are dynamically adjusted using the Average True Range indicator. Users can manage exits through fixed profit levels, moving average reversals, or internal time-based triggers for closing positions during specific market sessions.
Triple moving average crossover logic
ATR-based dynamic lot sizing and stop loss
Prop firm drawdown and target management rules
Session-based trading with time-restricted execution
Read from bot-main.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
balances_parameters
string
== STARTING BALANCES ==
balance
double
6000
INITIAL STARTING BALANCE
ma_parameters
string
== ENTRY PARAMETERS ==
Period_fast_MA
int
13
PERIOD USED FOR FAST MA CALCULATION
Period_slow_MA
int
21
PERIOD USED FOR SLOW MA CALCULATION
Period_large_MA
int
50
PERIOD USED FOR LARGE MA CALCULATION
MA_Method_for_slow_MA
ENUM_MA_METHOD
MODE_SMA
METHOD USED FOR SLOW MA CALCULATION
MA_Method_for_fast_MA
ENUM_MA_METHOD
MODE_SMA
METHOD USED FOR FAST MA CALCULATION
PRICE_USED_WITH_MA
ENUM_APPLIED_PRICE
PRICE_OPEN
PRICE USED FOR FAST MA CALCULATION
number_of_trades_per_signal
int
1
NUMBER OF TRADES PER SIGNAL
min_distance_from_MA
int
40
MIN DISTANCE FROM MA FOR ENTRIES
timefunction_parameters
string
== TIME FUNCTION PARAMETERS ==
Show all 35 inputs
Name
Type
Default
Description
number_of_minutes
int
0
NUMBER OF MINUTES FOR EXECUTION PER SIGNAL
last_day_of_trading
int
5
LAST DAY OF TRADING(FRIDAY-> 5)
Launch_Time
int
3
START OF TRADING DAILY
end_of_trading
int
7
END OF TRADING DAILY
risk_parameters
string
== RISK PARAMETERS ==
RiskRewardRatio
double
0.1
RISK:REWARD RATIO(RRR)
ATR_Period_lots
int
16
ATR PERIOD USED TO CALCULATE LOT SIZE & SL
maxslippage
int
35
MAXIMUM ALLOWED SLIPPAGE/SPREAD
Risk_Percent
double
0.01
RISK IN DECIMAL FORM FOR TP & SL LOT SIZE CALCULATION
account_exposure
double
0.4
RISK EXPOSURE
ATR_Multiplier_lots
double
1.5
ATR MULTIPLIER IS INVERSELY RELATED TO THE LOT SIZE CALCULATION
prop_account_rules
string
== PROP ACCOUNT RULES ==
my_target
double
10
MY OVERALL TARGET(%)
my_daily_target
double
0.5
MY DAILY TARGET (%)
total_drawdown
double
6
MAX TOTAL DRAWDOWN(%)
daily_allowable_drawdown
double
1
DAILY ALLOWABLE DRAWDOWN(%)
daily_drawdown
double
3
MAX DAILY DRAWDOWN(%)
tradeprofit
int
3
TARGET PROFIT($)
closetrades
string
== CLOSE TRADES/DD MANAGER ==
Close_Trades_Based_on_Profit
bool
true
ACTIVATE CLOSURE OF TRADES BASED ON PROFIT
Close_Trades_Based_on_MA_Crosses
bool
true
ACTIVATE CLOSURE OF TRADES BASED ON MA CROSSES
Close_the_Trades_Based_on_Time
bool
true
ACTIVATE CLOSURE OF TRADES BASED ON TIME
time_to_close
int
20
TIME TO CLOSE TRADES
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone therealharrypotter/MATwister from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
EA31337 is a comprehensive multi-strategy trading robot and framework for MetaTrader platforms. It features dozens of pre-built strategies utilizing technical indicators like ATR, Moving Averages, and SuperTrend. The system manages entries and exits through a unique filtering system that monitors account metrics, volat
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di
Ladino Bot is an open-source expert advisor for MetaTrader 5 that uses HiLo Activator indicators and moving average crossovers to identify trade entries. It features a triple-timeframe architecture, allowing users to align entries with higher-period trends. Risk controls include daily gain and loss caps, brokerage fee
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n
This MetaTrader 5 expert advisor automates the 9.1 trading setup popularized by Larry Williams, utilizing an exponential moving average to detect trend shifts. It enters trades based on price action relative to the moving average slope. The system includes built-in trade management features like partial profit taking,