Download Exp X2 MA JJ R S X for MetaTrader 5

Exp X2 MA JJ R S X

Exp X2 MA JJ R S X

This software component for MetaTrader 5 is built to enhance the capabilities of your trading environment. This Expert Advisor serves as automated trading software. It is utilized to monitor financial markets and execute trades based on predefined algorithmic rules, enabling precise position management without the need for constant manual oversight.

MT5 expert Pack 📂

How to Setup and Use Exp X2 MA JJ R S X

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.

Description & Settings


Exp_X2MA_JJRSX trend-following trading system is based on and indicator signals. ColorX2MA indicator is used to define the main slow trend direction, while ColorJJRSX indicator allows us to define an entry point when a fast trend direction is changing. An entry signal is generated at a bar closure if the following two conditions are met:

Fast and slow trend signals coincide;

Fast trend has changed its direction.
EA inputs: //+-------------------------------------------------+//| Input parameters of the EA indicator |//+-------------------------------------------------+input string Trade="Trade management"; //+============== TRADE MANAGEMENT ==============+ input double MM=0.1; //Share of a deposit in a dealinput MarginMode MMMode=LOT; //lot value detection methodinput uint StopLoss_=1000; //stop loss in pointsinput uint TakeProfit_=2000; //take profit in pointsinput string MustTrade="Trading permissions"; //+============== TRADING PERMISSIONS ==============+ input int Deviation_=10; //max price deviation in pointsinput bool BuyPosOpen=true; //Permission to enter a long positioninput bool SellPosOpen=true; //Permission to enter a short position//+-------------------------------------------------+//| Input parameters of the filter indicator |//+-------------------------------------------------+input string Filter="SLOW TREND PARAMETERS"; //+============== TREND PARAMETERS ==============+ input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; //1 Chart period for a trendinput Smooth_Method MA_Method1=MODE_SMA_; //first smoothing averaging method input uint Length1=12; //first smoothing depth input int Phase1=15; //first smoothing parameter,//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process;//---- For VIDIA it is a CMO period, for AMA it is a slow average periodinput Smooth_Method MA_Method2=MODE_JJMA; //second smoothing averaging method input uint Length2=5; //second smoothing depth input int Phase2=15; //second smoothing parameter,//---- for JJMA within the range of -100 ... +100 it influences the quality of the transition process;//---- For VIDIA it is a CMO period, for AMA it is a slow average periodinput Applied_price_ IPC=PRICE_CLOSE_;//price constantinput uint SignalBar=1; //bar index for getting an entry signalinput bool BuyPosClose=true; //Permission to exit long positions by trendinput bool SellPosClose=true; //Permission to exit short positions by trend//+-------------------------------------------------+//| Input parameters of the entry indicator |//+-------------------------------------------------+input string Input="ENTRY PARAMETERS"; //+=============== ENTRY PARAMETERS ===============+ input ENUM_TIMEFRAMES TimeFrame_=PERIOD_M30; //2 Chart period for an entry input uint JurXPeriod=8; //JurX periodinput uint JMAPeriod=3; //JMA periodinput int JMAPhase=100; //JMA averaging parameter, // for JJMA it varies within the range -100 ... +100 and influences the quality of the transient period;input Applied_price_ IPC_=PRICE_CLOSE_; //price constantinput uint SignalBar_=1;//bar index for getting an entry signalinput bool BuyPosClose_=false; //Permission to exit long positions by signalinput bool SellPosClose_=false; //Permission to exit short positions by signal//+-------------------------------------------------+
String variables containing text in the inputs code are included only for better visual display of the EA inputs window.
ColorJJRSX_HTF and ColorX2MA_HTF indicators in the EA are included only for more convenient trend visualization in the strategy tester. They are not used in other operation modes.
Place ColorX2MA.ex5, ColorX2MA_HTF.ex5, ColorJJRSX.ex5 and ColorJJRSX_HTF.ex5 compiled files to the <terminal_data_folder>\MQL5\Indicators for the generated EA correct operation.
Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer
nonzero spread
and the option of setting Stop Loss and Take Profit
together with position opening
. You can download more variants of the library at the following link: .
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. Examples of trades on the chart
Testing results for 2015 on GBPUSD, slow trend on H4, entry by fast trend on M30:
Fig. 2. Testing results chart

You May Also Like

RobotFX does not own any of the code provided on this platform. All tools are freely available on the internet; we simply index and re-offer them for download. We are not responsible for any financial losses that may occur. Trading responsibilities rely solely on the traders downloading and using the displayed Expert Advisors, indicators, and scripts. These tools are provided for educational purposes only and may require modification or optimization to align with a trader's specific strategy or needs.
© ROBOTFX - Best MetaTrader Expert Advisors & Indicators