I am building a MT4 EA, which demands the use of this customized MACD (macd-2. Mq4), along with a Bollinger Band that could require a multiplier with decimal places.

Basically I've tried to code it out, but I am not familiar enough with MT4 to have the ability to code the custom indiors into the system.

The logic is as follows:

BUY:
- MACD Fast Line crosses over Signal Line
- Price is below Bollinger Band

SELL:
- MACD Fast Line crosses below Signal Line
- Price is over Bollinger Band

The MACD is required to be all three parts to be EMA. In the code attached, I have been required to utilize the iOsMA, although the Signal is 'simple'.

Any help will be greatly appreciated!
https://www.forexforum.co.za/attachm...6996968014.mq4