The OHLC Trailing Stop utility trails stop loss based on control prices of the specified bar: Open, High, Low, Close.
In the utility settings, you can choose the bar number, which prices will be used for the trailing stop function. A control price for trailing can be specified separately for buy and sell trades.
The Magic parameter allows using the utility together with other Expert Advisors.
Input parameters
- Magic – magic number: 0 – trailing of all trades, 1>= – trailing of trades with the specified Magic;
- Stop Level – stop loss level;
- Slippage – allowable slippage;
- BARS CONTROL PRICE SETTINGS
- Use Bars Control Price Trailing – enable trailing by control points;
- Bars Timeframe – choose timeframe;
- Bars Number – the number of the bar;
- Bars Buy Trailing Control Price – control price for trailing buy trades;
- Bars Sell Trailing Control Price – control price for trailing sell trades;
- Bars Symbol – trading symbol: CurrentSymbol or AllSymbols.
![图片[1]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194921-664ba941ec411.png)
 ![图片[2]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194923-664ba94312212.png)
 ![图片[3]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194925-664ba945222a9.png)
 ![图片[4]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194925-664ba945b5e8a.png)
 ![图片[5]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194927-664ba94710988.png)
 ![图片[6]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194928-664ba9484fe20.png)
 ![图片[7]-Mql5官网 OHLC Trailing Stop 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img/https://www.mql5.vip/wp-content/uploads/2024/05/20240520194929-664ba949e61df.png)
 
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END





























































