Forex Robot Factory is an All-in-one Tool To Get Unlimited Winning Forex Robots In Seconds. No Forex Skills Required - Guaranteed. It is a new and easy way to automate the workflow of trading.
Introductionfor MetaTrader 5 provides a highly intuitive graphical environment with a comprehensive set of predefined trading blocks that let you design Expert Advisors in minutes. No coding, programming or MQL5 knowledge is required.The click, drag and drop approach of allows you to create visual representations of forex trading strategies and signals as you would with pencil and paper. These trading diagrams are analyzed automatically by ’ MQL5 code generator that transforms them into ready to use Expert Advisors. The interactive graphical environment simplifies the design process and eliminates the need to write code.With Expert Advisor Visual Wizard you only need to follow a 3 step process:Fig.
Using Expert Advisor Visual Wizard1. Developing a Trading DiagramA trading diagram is a graphical representation of an Expert Advisor. It shows the ‘flow’ through a trading decision system. Trading diagrams are made of trading blocks that are connected to create complex Expert Advisors. To create a trading diagram, you only need to add the trading blocks, set their configuration parameters and make the necessary connections.Moving Average StrategyTypically, two moving averages can be used to create an Expert Advisor with these trading conditions:. Buy when the short period moving average is above the long period moving average (red line is above the green line).
Sell when the short period moving average is below the long period moving average (red line is below the green line)Fig. Buy and Sell signalsInstead of spending a long time coding this EA, with Expert Advisor Visual Wizard you can create a trading diagram that represents the moving average strategy in seconds.Launch Expert Advisor Visual Wizard:Fig.
Expert Advisor Visual WizardA. Just drag and drop two Technical Analysis blocks into the trading diagram:Fig. Adding TA blocksTo define the moving average trading conditions, click on the TA icon and select the options as shown in the pictures:Options to go long (or buy):Fig. Options to go long (buy)Options to go short (or sell):Fig. Options to go short (or sell)B.
Drag and drop one BUY block and one SELL block:Fig. Adding Buy and Sell blocksClick on the BUY icon to define the lot size, take profit, stop loss, and trailing stops for your EA as shown in the picture:Fig. Options of Buy trading blockRepeat the same procedure for the SELL icon:Fig. Options of Sell trading blockC. Connect all the blocks to get a trading diagram like the following:Fig.
10. Connected blocks2. Generating the Expert AdvisorAfter the trading diagram is complete you need to generate the EA clicking on Generate MQL5 Code in Trading Diagram of the main menu:Fig. Generate MQL5 codeThe EA Visual Wizard transforms your trading diagram into a fully working EA. It also gives you access to the EA’s MQL5 code:Fig.
MQL5 code generated3. Trading with MetaTrader 5After you generate the EA it will be available in MetaTrader 5 for you to trade. Just attach it to a chart to start trading.Fig.
![Expert Advisor Generator Expert Advisor Generator](/uploads/1/2/5/4/125410452/358944033.png)
13 Expert Advisor input parametersAll expert advisors generated with Molanis’ software have MetaTrader variables to manage:. Trading bars or ticks;. Alert mode (Does not trade but gives signals);. 4 or 5 decimals;.
Time filter;. ECN orders;. Maximum volume size;. Maximum percentage at risk;. Lot size management.4. Creating Expert Advisors that use Custom IndicatorsBreakthrough of the Price Channel Range StrategyEA logic: Positions are opened when the price pierces the borders of the Price Channel. To create this Expert Advisor we need to use the custom indicator Price Channel by.You can add any well-written custom indicator into the EA Visual Wizard with the Import Custom Indicator button.Under a TA block, select Custom Indicator –, and then click on Import Custom Indicator.Fig.
Editing a trading conditionSelect the custom indicator you want to import.Custom indicators must be located in the indicators directory (terminaldatafolderMQL5Indicators).Fig. Importing custom indicatorThe import custom indicator feature reads the indicator code and based on standard rules of coding gets the number of modes (signals) and the indicator parameters. This feature cannot select the mode or shift for you. It's your job to know the right signal and parameters for your EA.Fig. Indicator was importedAfter you finish importing the custom indicator, you can use it to define trading conditions in your Expert Advisor.For sell:Fig. Trading conditions for sellFor buy:Fig. Trading conditions for buyNow, just create a setup like the one and you are done.Fig.
The Expert Advisor diagramConclusionThe EA Visual Wizard is a great tool to create Expert Advisors in minutes. We have developed 15 examples based on the 20 Trade Signals in article. I encourage readers to review them at our.I am attaching the code for the Example 1 - simple moving average strategy explained in part 1 of this article.