3 ma cross ea
Info
The 3 ma cross ea is a Expert Advisor for MetaTrader 5 that the ea uses two indicators: and. the following three options are available for setting stop loss and take profit:trailing stopis greater than zero.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use 3 ma cross ea
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
the ea uses two indicators: and.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Simple EMA Cross Expert Advisor with Stop Loss, Take Profit, and Magic Number - another powerful expert for MetaTrader 5 traders.
Also recommended: pro ma crossover ea for mt5 - similar expert with strong performance on MetaTrader 5.
the ea uses two indicators: and .the following three options are available for setting stop loss and take profit:
trailing stop
is greater than zero. in this case a usual trailing stop function will be applied to positions;
auto sl/tp
is set to 'true'. in this case the tp and sl levels are determined based on the "price channel" indicator;
breakeven
is greater than zero: if a position has reached 'breakeven' points of profit, the position is moved to breakeven points.
important note: only one of the three options can be selected. if one of the options is selected, the other two must be disabled. for example
breakeven
is set to 15. then the
trailing stop
parameter must be set to zero, and
auto sl/tp
must be set to false (these are the default ea parameters).
also, there are two options for setting position volume: fixed lot equal to
lots
or risk percent of free margin
risk in percent for a deal from a free margin
. only one option can be selected: if
lots
is equal to or less than zero, risk percent per trade will be used.
the ea was optimized for usdjpy,h1 (these parameters are used in the ea by default):
input parameters
trade parameters
:
lots
(if <=0 -> use risk from a free margin) - position volume;
stop loss
take profit
trailing stop
risk
- risk per trade as percent of free margin;
auto sl/tp
- stop loss and take profit based on the "price channel" indicator;
trade at close bar
- trading on a closed bar: if 'true' the ea uses data of bar #1, if 'false' the ea trades on bar #0;
breakeven
;
max open positions
- the maximum allowed number of positions in one direction.
ma cross 3macross alert warnsig
indicator parameters:
parameters of the first moving average
:
period
of the first moving average;
shift
of the first moving average;
method
of the first moving average.
parameters of the second moving average
:
period
of the second moving average;
shift
of the second moving average;
method
of the second moving average.
parameters of the third moving average
:
period
of the third moving average;
shift
of the third moving average;
method
of the third moving average.
crossesoncurrent
;
alertson
;
alertsmessage
;
alertssound
;
price channel
indicator parameters:
inpchannelperiod
- calculation period (the number of bars).
You may also like: automated trading with price crossover and moving average indicator - excellent alternative for expert users on MetaTrader 5.
Source Code
/
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.