• Обзор
  • Отзывы
  • Обсуждение
  • Что нового

Macbbot

This is an expert that uses MACD and Bollinger Bands as the main recipe of an operation.

The main objective of this algorithm is to recognize good overbought and oversold positions.

Bollinger signals happens when price touches/breaks an external band.

MACD signals happens on lines crossing above or below the zero.

You can adjust Macbbot settings to be a high frequency trader or a low frequency trader, it all depends on your drawdown and commission projections. Using reversal trades usually tends to getting from a LFT configuration to a HFT.

Please make sure to strategy test the expert before using it on real money, you need to learn how to use it to understand.

This is how to configure Macbbot Inputs

  1. EA Number = self-explanatory;
  2. StopLoss = amount of times that the (points/tickSize) value will be added/subtracted from the price to create a stop loss range, if 0 = not used;
  3. TakeProfit = amount of times that the (points/tickSize) value will be added/subtracted from the price to create a take profit range, if 0 = not used;
  4. Trailing system = amount of (points/tickSize) to work with the moving stop on the position;
  5. Trade reversal system = if "true" will use opposite trading signals to reverse the current position;
  6. Start Time: Start time of the Operational Time Filtering
  7. End Time: End time of the Operational Time Filtering
  8. Sunday: allow expert on sundays..
  9. Monday: allow expert on mondays.
  10. Tuesday: allow expert on tuesdays.
  11. Wednesday: allow expert on wednesdays.
  12. Thursday: allow expert on thursdays.
  13. Friday: allow expert on fridays.
  14. Saturday: allow expert on saturdays.
  15. Lots to trade = amount of lots to be traded.
  16. Price Deviation = the biggest deviation from the current price that will be accepted before opening an order;
  17. Bollinger Bands Average = self-explanatory (for more information, see some info about Bollinger bands indicator);
  18. Bollinger Bands S.D. = self-explanatory (for more information, see some info about Bollinger bands indicator);
  19. Bollinger Bands Standard Deviation Operational Distance (in) = normalized distance from the price to the external bands, used for opening a position.
    0 = price needs to reach the external band or break it to signal.
    1 = price needs to reach the opposite external band or break it to signal (reverses the strategy of BB);
    -1 = price needs to reach break the external band by the same distance the external band is from the central one.
    (See pictures)
  20. Bollinger Bands Standard Deviation Operational Distance (out) = normalized distance from the price to the external bands, used for closing a position.
    0 = price needs to reach the external band or break it to signal.
    1 = price needs to reach the opposite external band or break it to signal (reverses the strategy of BB);
    -1 = price needs to reach break the external band by the same distance the external band is from the central one.
    (See pictures)
  21. Fast Moving Average Period = self-explanatory (for more information, see some info about the MACD indicator);
  22. Slow Moving Average Period = self-explanatory (for more information, see some info about the MACD indicator);
  23. Signal Period = self-explanatory (for more information, see some info about the MACD indicator);
  24. MACD price method = self-explanatory (for more information, see some info about MACD indicator);

You can optimize any settings in this list, but there is a need to talk specifically about these ones:

  • -Stop Loss and Take Profit: these inputs do major interference on the expert, since it can close positions by its own strategy. The need of higher stops/tps or not must be defined by the strategy wanted by the user and need to be calculated based on both Symbol Points and Tick Size (StopLoss*point/tickSize)
  • -Bollinger Bands S.D.O.D. = this value sets the major behavior of Bollinger Bands on the strategy. Higher inputs means less dependency of the Bollinger Bands for the strategy.
  • -All MACD settings (greatly depends on the type of Symbol you are testing it on)

Also, you can use the "Open Prices Only" option instead of "Every Tick" while optimizing because Macbbot only check for changes at the opening of a new candle. (While using SL/TP, the use of "Every Tick" may or may not be needed)

If you find any error, please report it. I will try my best to fix it as soon as possible.


Best Regards,

Yan Haeffner
Нет отзывов
Версия 1.3 2018.10.07
Added a Time Filtering System:
-Now you can set the start and end operational time for the expert
-You can also set the expert to be active only on a specific week day
Версия 1.2 2018.09.20
- Changed SL/TP/TS calculation:
The new formula is (StopLoss for example): StopLoss*symbolPoint/tickSize;
The old formula was: StopLoss*symbolPoint;

- Normalized BB_SDOD:
The BB_SDOD input now has a range of -1 to 1, which means the percentage amount of the distance from the price to the external band. BB_SDOD of 0.1 means a distance of 10% from the price to the external band (from within the bands), a BB_SDOD of -0.1 means a distance of 10% from the price to the external band (from outside the bands).
Версия 1.1 2018.09.01
Minor Update 1.01:
-Fixed a bug where Macbbot would not limit the number of opened positions