INVERSE_BOTv1 is a counter-trend strategy based on 2 WMA-Weighted
Moving Average and Last Candle Price Close. It only trades the pair
GBPUSD in the period of ONE-HOUR.
First, the strategy subscribes to the corresponding pair, the correct
period, and verifies that there are no open orders.
Next it check if the Last One-Hour Candle is a BULL or BEAR candle.
If
it is a BULL candle, calculate the values of the 2 WMA's with the
defined parameters and check if the Last One-Hour Candle closed above
the values of the 2 WMA's. If this condition is verified it opens a
SELL order with the defined parameters.
If it is a BEAR candle, calculate the values of the 2 WMA's with the
defined parameters and check if the Last One-Hour Candle closed below
the values of the 2 WMA's. If this condition is verified, it opens a
BUY order with the defined parameters. The orders are open to the
market with the TP of 9 pips a SL of 250 pips and a volume of 6 lots.