The Expert Advisor is based on ATR, CCI, OsMA, and RSI. It always uses stops and automatically calculates lot depending on a signal clarity.
The EA has been configured for trading EURUSD, however it can work with other symbols as well.
Orders are placed when signals are detected at all indicators.
EA parameters (for EURUSD M15):
- AutoStops = 1; enable/disable (1 or 0) automatic stop loss and take profit
- sl = 0; stop loss (if AutoStops = 0)
- tp = 0; take profit (if AutoStops = 0)
- coeff = 8; coefficient for automatic stop loss and take profit (if AutoStops = 1)
- TrailingStop = 100; trailing stop, 0 - disabled.
- LotRisk = 0; auto money management: 0 - disabled, 1 - lot is selected based on the available balance, 2 - lot is set depending on a signal strength.
- Risk = 3; risk for a lot if LotRisk = 1 or 2.
- lot = 0.1; lot size (if LotRisk = 0).
- ATR = 0.0025; ATR value, orders are opened only above this value.
- period = 6; period for all indicators.
- magicnum = 2577857; magic number.
- comment = "Four Lights"; order comment.