Let follow previous EA by this link https://www.mql5.com/en/code/46630
The Double Bollinger Band Strategy makes use of two Bollinger Bands in order to filter entries and exits in the forex market
This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article