Stufic Lite Expert Advisor Descripction

Stufic Lite Expert Advisor is an advanced  script that employs multiple indicators and methods to identify breakout trades. It is based upon Moving Averages, Stochastics, Williams %R signals.

ENTRY RULES for Stufic Lite Expert Advisor  –

The Expert Advisor employs Moving Average (specified by MA_MODE), Stochastic oscillator and the Williams %R indicators to identify entry signals.

The Expert Advisor can open positions and manage positions in both directions at the same time if a valid entry signal is received in that direction. Similarly, it can add to an existing position if a new signal is received in the same direction. It provides an optional feature to increase the lot-size using the ANOTHER_ORDER_LOTS_MULTIPLIER parameter.

There are six modes of signals as defined by the SIGNAL_MODE parameter. The Expert Advisor will identify on those signals as specified by this parameter.

  1. 0 –BUY if Slow MA is in uptrend and Fast MA crossing up, SELL if Slow MA is in downtrend and Fast MA is crossing down.
  2. 1 –BUY if Slow MA is in downtrend and Fast MA crossing up, SELL if Slow MA is in uptrend and Fast MA is crossing down.
  3. 2 –BUY if Fast MA simply crossing up through Slow MA, SELL if Fast MA simply crossing down through Slow MA.
  4. 3 –BUY ifFast MA crossing up through Slow MA and price is over Fast and Slow MA , and previous price was below Fast and Slow MA (range is crossing up through Fast MA). SELL Fast MA crossing downthrough Slow MA and price is below Fast and Slow MA , and previous price was above Fast and Slow MA (range is crossing downthrough Fast MA)
  5. 4 –BUY if Fast MA crossing up through Slow MA and price is over Fast and Slow MA and previous price was below Fast and Slow MA (range is crossing up through Fast MA) and Williams%R was oversold.SELL if Fast MA crossing downthrough Slow MA and price is below Fast and Slow MA and previous price was above Fast and Slow MA (range is crossing downthrough Fast MA) and Williams%R was overbought.
  6. 5- BUY if Fast MA crossing up through Slow MA and price is over Fast and Slow MA and previous price was below Fast and Slow MA (range is crossing up through Fast MA) andWilliams%R escaping from oversold zone. SELL if Fast MA crossing downthrough Slow MA and price is below Fast and Slow MA and previous price was above Fast and Slow MA (range is crossing downthrough Fast MA) and Williams %R escaping from overbought zone

EXIT RULES for Stufic Lite Expert Advisor –

The Expert Advisor employs the following rules for closing a trade:

  1. A trade is closed at Take Profit (TP) or Stop Loss (SL).
  2. A trade is closed at protective Trailing Stop.
  3. If the net profit of all open positions reaches PROFIT_USD then all open positions are closed if PROFIT_USD_CLOSE_ONE is If PROFIT_USD_CLOSE_ONEis TRUE, then only the most profitable trade is closed.
  4. If the net loss of all open positions reaches LOSS_USD then all open positions are closed if LOSS_USD_CLOSE_ONE is If LOSS_USD_CLOSE_ONE is TRUE, then only the worst (most losing) trade is closed.

Configurable Inputs Stufic Lite Expert Advisor

  1. LOTS – The lot-size of each trade opened by this Expert Advisor.
  2. TP – The take-profit (in points) of each trade opened by this Expert Advisor.
  3. SL – The stop-loss (in points) of each trade opened by this Expert Advisor.
  4. USE_TRAILING_SL – Specifies whether to use trailing-stop loss.
  5. PROFIT_USD – The net profit of all open trades, which when reached will close the open trade(s) based on the exit criteria of
  6. LOSS_USD – The net loss of all open trades, which when reached will close the open trade(s) based on the exit criteria of
  7. PROFIT_USD_CLOSE_ONE – Specifies whether the most profitable trade will be closed when the net profit of all trades reaches the PROFIT_USD net profit.