urdala trol
Info
The urdala trol is a Expert Advisor for MetaTrader 5 that working strategy if there are no open positions (opened by the ea), two oppositely directed positions with the "lots" initial lot are opened with a stop loss equal to "stop loss", while take profit is not used. stop loss moves using trailing ("trailing stop" and "trailing step" parameters are applied).
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 urdala trol
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
working strategy if there are no open positions (opened by the ea), two oppositely directed positions with the "lots" initial lot are opened with a stop loss equal to "stop loss", while take profit is not used.
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: trading control panel for manual trading and scalping - another powerful expert for MetaTrader 5 traders.
working strategy
Also recommended: mcm control panel for multicurrency expert advisors and indicators - similar expert with strong performance on MetaTrader 5.
if there are no open positions (opened by the ea), two oppositely directed positions with the "lots
" initial lot are opened with a stop loss equal to "
stop loss
", while take profit is not used. stop loss moves using trailing ("
trailing stop
" and "
trailing step
" parameters are applied).
trailing
position's first modification reliably moves a stop loss to a breakeven or even a small profit. the subsequent modifications of stop loss increase the guaranteed profit.
two stop loss activation options are available afterwards:
1. position has closed with a loss
1.1. in this case, we assume that the trend has reversed. open a position with an increased lot (add "
number of minimum lots
" to the volume of the remaining position) in the direction opposite to the closed one. for example, the unprofitable buy position has been closed. then open a sell position with an increased lot. thus, we obtain two positions in one direction.
1.2. further on, it works only in the obtained direction: wait till the price leaves the least loss-making position by "
step
" points in the loss-making direction and open a position with an increased lot (add "
number of minimum lots
" to the volume of the least loss-making position) in the direction of existing positions (as you remember, we have one or several unidirectional positions).
2. position has closed with a profit (this is the position that was modified at least once)
2.1. we assume that this is not a trend reversal, but a small rebound. open a position with an increased lot in the direction of the closed one. for example, a profitable buy position has been closed, then we open a buy order with an increased lot. thus, we obtain two positions in the same direction.
2.2. we try to apply trailing afterwards. in any case, one of the stop losses will work and we will return either to p. 1 or to p. 2.
calculation of buy and sell positions, total profit on buy and total profit on sell, as well as searching for the least loss-making buy and sell position are performed within one call in the
calculateallpositions
function.
inputs
lots - initial position volume
number of minimum lots - number of minimum lots, a position volume is changed by
stop loss (in pips)
trailing stop (in pips)
trailing step (in pips)
step - initial step between differently directed positions
minimum nearest (in pips) - minimum distance within a series of positions
magic number - unique ea identifier
You may also like: futures portfolio control expiration - 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.