The Expert Advisor operates as a strategy generator, works on four timeframes, including M15, M30, H1, H4. The EA uses the following standard MT4 indicators: Bolinger Band, CCI, RSI, RVI, Force Ingex, Moving Average, DeMarker, MACD, OsMA, Stohastic, WPR, Money Flow Index. Any currency pairs. The EA includes a hidden sl and tp monitoring. Timeframe: M15.
The EA features the News Stop Trading system, which suspends trading during the news releases.
In order to activate the News Stop Trading function, enable Allow WebRequest and add "http://www.dailyfx.com" into the URL list for WebRequest. To do this, open Tools > Options > Expert Advisors. Check the option "Allow WebRequests for listed URL: http://www.dailyfx.com and click "OK".
Real operation monitoring as well as my other products can be found here: https://www.mql5.com/en/users/keasotik/seller
- UseFIFOClose: trading by the FIFO rule
- panel show: show/hide the balance panel
- hour trade friday: restrict trading on Friday
- end hour trade friday: time after which orders will not be open on Friday
- close order friday: closing orders on Friday after the specified time
- hour close order friday: time to close orders on Friday
- Lots: fixed lot, if 0 - Percent is used
- Percent: percent of free margin
- InpNewsFilterEnabled: enable News Stop Trading
- InpNewsLevel: the importance of news to stop trading
- InpNewsMinutesBefore: the number of minutes before the news release to stop trading
- InpNewsMinutesAfter: the number of minutes after the news release to resume trading
- InpNewsTimezoneShiftTest: time zone offset for the testing mode
- InpNewsTimezoneShiftLive: time zone offset for the live trading mode
- InpNewsDoClose: close or not orders before the news release
- InpNewsDoCloseAllMinutesBefore: the number of minutes before the news release to close orders
- InpNewsMainColor: color of news on the chart
- InpNewsUpdateEachMins: news update time in minutes
- InpNewsShowInfo: shoe news on the chart
- InpNewsManualUpdateMonths: number of months to update when manually (a button on the chart)
- OpenOrdersLimit: limit on open orders
- maximum spread: spread value
- comment: a comment to orders
- virtual_sl_tp: enables or disable virtual sl and tp
- Trailing: enable trailing stop mode
- TrailingStop: profit in points to activate trailing stop
- TrailingGap: the step of the trailing stop
- breakeven: enable/disable the breakeven function
- breakeven distance: points to enable breakeven
- breakeven pips: number of pips to set the breakeven безубытка
- bar: choose bar (0 - current, 1 - previous)
- magicm15: the number to open orders, if magicm15=1 orders 1,2,3,4 will be opened
- select stop loss: static or dynamic stop loss
- period atr for dynamic sl tp: the ATR indicator period
- risk for dynamic sl: risk per trade for stop loss calculation
- risk for dynamic tp: risk per trade for take profit calculation
- slm15, slm30, slh1, slh4: static sl
- tpm15, tpm30, tph1, tph4: static tp
- NumberOfTry: number of attempts to close, open or modify an order.
- ECN: setting sl and tp during order placing or after it is opened (for ECN accounts).
- slippage: allowable slippage.
- indicator1,2,3,4: choose indicator
- provision - conditions for indicators, "AND", "OR", "NON" - no indicator
- sellm15, buym15, sellm30, buym30, sellh1, buyh1, sellh4, buyh4 - enable disable trading buy/sell on timeframes
- period(sell or buy and TF): period for indicator 1 specified in indikator1
- x(sell or buy and TF): used for stohastic - d period. Osma and macd - slow EMA Period.
- y(sell or buy and TF): for stohastic - slowing. Osma and macd - signal SMA Period.
- value(sell or buy and TF): values of indicators - depend on the indicator selected.
- settings for: period2 x2 y2 value2 period3 x3 y3 value3 period4 x4 y4 value4 (sell or buy and TF) the same for other three indicators.
Similar for buy.
Sample set files and other information are available in Comments.
closing orders by FIFO rule
The EA contains the News Stop Trading system, which suspends trading during the news releases.
Option: dynamic stop loss - dynamic sl and tp
Trailing: enable the trailing stop mode
TrailingStop: profit in points to activate the trailing stop
TrailingGap: step for moving the trailing stop
breakeven: enable/disable breakeven
breakeven distance: the number of points to activate the breakeven
breakeven pips: the number of points to place the breakeven