Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Pubblicati da::
- Vladimir Karputov
- Visualizzazioni:
- 3997
- Valutazioni:
- Pubblicato:
- 2017.03.02 09:54
- Aggiornato:
- 2018.06.25 15:39
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The EA places pending stop orders BUY_STOP and SELL_STOP.
Recommended timeframe — M15.
Author of the idea — Yuri, author of the MQL5 code — barabashkakvn.
Trading rules:
- Find the maximum price value in the interval between 14 and 16 hours terminal time and place a pending Buy stop order at this level. Find the minimum price value in the interval between 14 and 16 hours terminal time and place a pending Sell stop order at this level.
- The distance between the maximum and minimum should be no more than 50 points, otherwise the orders should not be placed.
- Take Profit is 30 points.
- Stop Loss is set at the price level of the opposite trade. Untriggered orders are deleted at the end of the day.
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/17250

The Expert Advisor places two pending orders (BuyStop and SellStop) with the specified expiration.

The Expert Advisor uses the values of two iMA (Moving Average, MA) indicators.

An example of working with the trading history on Hedge accounts — reconstruction of positions.

An example of an Expert Advisor with a Trailing Stop implementation.