ZZADX v1.5 user guide

  This expert advisor is based on Showbaba's trading system.

Long signal:
3_Level_ZZ indicator shows a semafor below a candle.
ADXcrossesNRP indicator shows an up arrow.
Vantagetrend2 long stick is above a user defined level.
RSI is oversold.

Short signal:
3_Level_ZZ indicator shows a semafor above a candle.
ADXcrossesNRP indicator shows a down arrow.
Vantagetrend2 short stick is above a user defined level.
RSI is overbought.


Exper advisor settings

 Fresh signal means that at the previous candle we had a false entry signal and at the current candle a true one. Each condition takes a three digit number. The first number refers to entry, the second one to exit and the third one to a fresh signal. For the first two numbers 0 means the signal is ignored, 1 means a closed candle gives a signal and 2 means an unclosed candle gives a signal. For the third number 0 means a fresh signal should occur, 1 means a fresh signal is not required and 2 means a fresh signal of this particular condition is an absolute prerequisite. If we have more than one conditions with a 0 third number at least one of them should be a fresh signal. If we have more than one conditions with a 2 third number all of them should be a fresh signal. If we have more than one conditions with a 1 third number the existance or not of a fresh signal for these conditions is not taken into account.

ZZSignal:
The presence of a 3 Level ZZ Semafor number gives a signal.
ZZSemafor: The 3 Level ZZ Semafor number should be equal or greater than the defined number.
ZZPastBars: An entry condition should occur within the defined number of bars after a 3 Level ZZ Semafor number. This option is valid if ZZSignal entry is based on a closed candle.
ReverseZZEntry: A ZZSignal triggers an opposite order.
ReverseZZExit: A ZZSignal signal closes an opposite order.
ADXSignal: Signal is triggered by ADXcrossesNRP.
VantageTrend: Signal is triggered by VantageTrend2.
VantageTrendLevel: VantageTrend2 stick should be above this level.
RSI: Signal is triggered by RSI.
RSILevel: RSI should be below this level for long entry or short exit. RSI should be above 100 minus this level for short entry or long exit.
OppositeSignalExit: The order is exited at an opposite signal.
CloseIfProfit: True means that if an opposite signal occurs only profitable or breakeven trades are closed.
Hedge: True means that a long and a short order can be simultaneously open.
TradeDelay:  After an order has closed, no new trades are opened before the defined minutes after its entry time.
AlternateLongShort: An new order should have the opposite direction from the previous closed one.
MagicNumber: Magic number of the trade. If more than one chart of the same pair is opened the magic numbers should be different. Different pairs can have the same magic number.
TradeComment: The comment of the trade as shown at the Metatrader terminal.
ClassicSL: True means a classic stop loss relative to opening price is used. All kind of stop loss and take profit are hidden from the broker.
HighLowSL: True means the stop loss is relative to the highest or lowest of the past bars.
BarsBack: Number of past bars that taken into account to calculate the highest or lowest point.
StopLossPips: Pips added to one of the above stop loss methods.
StopLossAtrMultiplier: If greater than zero the stop loss is ATR based. ATR is multiplied by this number .
StopLossAtrPeriod: ATR period.
MinimumSLPips: Stop loss should be at least the defined pips.
VisibleSL: Visible stop loss in pips, it is used in case of disconnection.
PartialCloseTP: Partial close percentage at take profit level.
TakeProfitPips: Pips of take profit.
TakeProfitAtrMultiplier: If greater than zero the take profit is ATR based. ATR is multiplied by this number.
TakeProfitAtrPeriod: ATR period.
VisibleTP: Visible take profit in pips. It is used in case of disconnection.
BreakEvenPips: The stop loss moves to the opening price after price is in profit for the defined pips.
BreakEvenAtrMultiplier: If greater than zero the break even is ATR based. ATR is multiplied by this number.
BreakEvenAtrPeriod: ATR period.
LockPips: The stop loss moves to the opening price plus the defined pips after price reaches BreakEven.
LockAtrMultiplier: If greater than zero the lock level is ATR based. ATR is multiplied by this number.
LockAtrPeriod: ATR period.
TrailingStopPips: Pips of trailing stop loss.
TrailingStopAtrMultiplier: If greater than zero the trailing stop is ATR based. ATR is multiplied by this number.
TrailingStopAtrPeriod: ATR period.
TrailingStopStartPips: Trailig stop is activated when price goes above or below the order opening price for the defined pips.
TrailingStepPips: The trailing stop loss is modified in steps of price moves.
Slippage: Slippage of orders.
ScreenShots: A screenshot is saved when an order opens or closes.
Day: First and second trading period within a day. The first 8 digits are start and end trading time for the first trading period in hhmmhhmm format. The next 8 digits are used for the second trading period. Set it to "0000000000000000" for a no trading day and to "0000240000000000" to trade all day.
FridayClose: True means that all open orders are closed and no new orders are opened after a specified hour of Friday. This is to avoid the weekend gap.
CloseHour: Friday close hour in hhmm format.
Lots: The lot size if money management is not used.
MoneyManagement: True means that the lot size is defined by the money management.
LeveragePercent: Risk of each trade.
Martingale: True means the lot size increases after a losing trade.
LotMultiplier: The lot size is multiplied by this number.
MaxProgression: Maximum times of lot increase after consecutive losing trades. Then the lot size will remain the same after each consecutive losing trade.