Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 5323
- Rating:
- Published:
- 2017.01.26 09:21
- Updated:
- 2018.06.15 13:53
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author of the idea — Vladimir Khlystov, author of the MQL5 code — barabashkakvn.
The Expert Advisor trades daily breakouts. It places pending BuyStop and SellStop orders.
Quote from the author of the idea:
Trading daily breakouts.
Every day at the specified TimeSet time ("terminal time") pending orders are placed.
After one of the pending orders triggers the second order is deleted.
The pending Buy Stop orders is immediately placed with SL and TP (SL and TP sizes can be changed in the settings), the Buy Stop order is placed at the High of the trading day, above the price by Delta points.
The pending Sell Stop order is placed immediately with SL and TP. The Sell Stop order is placed at the High of the trading day, below the price by Delta points.
Description of Variables:
- TimeSet = "07:32" — Time for placing the stop orders. If TimeSet = "00:00", the EA trades the breakout of the previous day.
- Delta — Above or below the daily extremums.
- SL — Stop Loss in points.
- TP — Take Profit in points.
- risk — If 0, uses fixed lot.
- NoLoss — If 0, breakeven is disabled.
- trailing — If 0, trailing is disabled.
- Lot — Used only if risk = 0.
- OpenStop — Place stop orders if there is an open order present.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/17058
![EMA_WMA](https://c.mql5.com/i/code/expert.png)
EMA_WMA - Expert Advisor for MetaTrader 5. Intersection of two iMA (MA).
![Exp_RSIOMA](https://c.mql5.com/i/code/expert.png)
The Exp_RSIOMA Expert Advisor based on the signals taken from the RSIOMA histogram.
![WeightOscillator](https://c.mql5.com/i/code/indicator.png)
Oscillator, representing the weighted smoothed sum of four indicators: RSI, MFI, WPR and DeMarker.
![Exp_BykovTrend_ReOpen](https://c.mql5.com/i/code/expert.png)
The Exp_BykovTrend_ReOpen trading system based on the signals of the BykovTrend indicator with scaling by the trend.