order escort

order escort
Download ALL MT5 experts (1593)
YouTube Video Thumbnail



Similar MetaTrader Tools

order escort

Info

The order escort is a Expert Advisor for MetaTrader 5 that in many cases, when static stop loss and take profit are not enough, because it is unknown how long the trend will last, but the trend and the nature of price change are known. a simple trailing stop is not always suitable, since it does not take into account the nature of future price changes.

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 order escort

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

in many cases, when static stop loss and take profit are not enough, because it is unknown how long the trend will last, but the trend and the nature of price change are known.

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: tick data recorder - another powerful expert for MetaTrader 5 traders.


in many cases, when static stop loss and take profit are not enough, because it is unknown how long the trend will last, but the trend and the nature of price change are known. a simple trailing stop is not always suitable, since it does not take into account the nature of future price changes.

Also recommended: trade pilot: advanced order management for metatrader - similar expert with strong performance on MetaTrader 5.

if a linear price growth is expected, we need to trail a position along a price channel limited by two straight lines. the position should be trailed as long as the trend exists. once the price moves outside the channel, it is necessary to close the position, since the current trend is over. the expert advisor moves stop loss and tale profit at each bar, along the trend line that is drawn with a certain slope. in this case, at each new bar, stop orders will be placed at the borders of the channel.
in order to be able to determine the trend line and its angle, we need to set a target using two coordinates - a shift from the current position, which is set as the number of bars, and the change relative to the current price in pips. then the ea determines the trend line is a straight line passing through the target and the current coordinate, finds the channel borders and starts to trail the position.
in some situations a sharp exponential price growth is expected. in this case, we need to select the appropriate curve to trail and set the target. the ea will determine the trailing curve, which starts at the current coordinate and passes through the target. after this, stop loss and take profit are moved along a particular exponent. in this case, stop orders are first moved relatively slowly, but as you get closer to the target and further, the speed increases.
in cases where price growth rates with saturation is expected, it is better to use a curve like y=xˆ1/2 (a power function) as the trailing curve. any curve of form y=xˆn can be used, and the exponent may be greater or less than one, as well as negative. the method for setting the trailing curve is the same. for the y=xˆ1/2 curve, stop loss and take profit are moved fast from the beginning, but as you get closer to the target and further, the speed drops.
the ea also provides an option to close a position after n bars.
please note that the expert advisor does not open positions or place stop loss and take profit. it only trails open positions by moving initial stop orders.
parameters

target_bar
- shift relative to the current coordinate in bars;

delta_points
- price change relative to the current price, in pips;

type
- trailing curve: linear, exponential, power (parabolic);

exponent
- exponent for the power function;

e
- the base of the exponential curve (e=2.718);

tp_escort
- move the take profit of a position;

close_bar
- close positions after bars.

You may also like: ob trader order block strategy tester - excellent alternative for expert users on MetaTrader 5.

Source Code

/

.......

Leave your opinion, ask a question, share some knowledge

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.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.