The Up Bot Expert Advisor is a powerful bi-directional script that trades based on price divergence between two consecutive bars.
The concept behind this trading system is based on the formation of two consecutive Highs (or Lows) in close proximity, followed by a reversal in the opposite direction. The likelihood of the price continuing the reversal towards a new High (or Low) is very high, and entering a trade under such circumstances can be very rewarding. This is called High-Low divergence. Robust money management techniques using a tight profit target, stop-loss and use of a trailing stop can enhance the profitability of the trades.
Buy Trade Conditions for Up Bot Expert Advisor
A BUY position is opened if the absolute distance between the current Low and the previous Low is less than the value of HLDivergence parameter, and the Bid price is at a distance between SpanPrice and 1.5 times the SpanPrice from the current Low. The idea behind this entry is that after two adjacent Lows are formed very close to each other, and as the price continues to rise, the probability of a bullish breakout is very high, and a BUY trade is thus opened. Only one BUY trade per candle is allowed.
Sell Trade Conditions for Up Bot Expert Advisor
A SELL position is opened if the absolute distance between the current High and the previous High is less than the value of the HLDivergence parameter, and the Ask price is at a distance between SpanPrice and 1.5 times the SpanPrice from the current High. The idea behind this entry is that after two adjacent Highs are formed very close to each other, and as the price continues to fall, the probability of a bearish breakout is very high and a SELL trade is thus opened. Only one SELL trade per candle is allowed.
Both BUY and SELL trades can co-exist at that the same time, and are tracked independently. The maximum number of open trades allowed is restricted by the MaxTrades parameter.
A trade can be closed either when the profit-target, stop-loss or trailing-stop loss is hit. Additionally, a trade can exit if OutputAtLowerand/or OutputAtReverseparameters are enabled and their conditions are met.
Risk Management with Up Bot Expert Advisor
When OutputAtLower is enabled, BUY trade(s) are closed when the current Bid price is lower than the current candle Low, and SELL trades are closed when the Ask price is above the current candle High. This setting is useful in exiting trades that have false breakouts quickly. When a BUY trade is active, and the price starts falling and makes a new Low, it is likely that the market circumstances have changed and hence it is diligent to exit the BUY trade. Similarly, when a SELL trade is active, and the price starts rising and makes a new High, it is likely that the market circumstances have changed and hence it is diligent to exit the SELL trade.
Another safety mechanism for exiting open trades is the OutputAtReverse setting. When enabled, the Auto trader does not wait for the OutputAtLower trigger, which occurs only when a new Low (or High) is made. For a BUY trade, it exits when the current Bid price is at a distance between SpanReverseand 1.5 times SpanReversefrom the current Low. Similarly, for a SELL trade, it exits when the current Ask price is at a distance between SpanReverse and 1.5 times SpanReverse from the current High.
The OutputAtReverse ensures that the trade exits quickly if there is a change in direction, but at the same time, in a sideways market, it can generate false exits.The value of SpanToReverse should always be less than the value of SpanPrice.