Hi, thank you for spending your time reporting this, after careful investigation, I have found that the trades open after the re-arm alert time which is correct, I will try and explain how this alert system works.
Firstly this is not designed as a MACD automated trading system, but instead, as an alert system when the conditions are met listed in the alert settings, even when you first start the cBot.
- Signal is greater than zero
- MACD is rising
- MACD is greater than zero
- Histogram is greater than zero
So it is not when the MACD lines cross and if you set the only once trade option then the trade will open only once per signal, if this option is turned off then a trade will open after each re-arm time limit as long as the conditions are true.
You may want a traditional MACD trading system, I agree on your idea to sell one of these and this is in our pipeline to be published soon.
Due to the recent update of cTrader we have had to change a lot of the code for it to work and a new update will be published soon, also, I am re-checking the logic so it is working correctly, if I find any bugs I will move this thread to the open bugs forum.
You may also be interested in our new algorithmic trading school where we show you how to code and build a MACD trading system with little coding experience.
How to build a basic trading robot
I have found a few bugs and fixing them now and I will post it here once it is been published so you can download it.
The product page has been updated with this:
How Auto-Trading Works?
If you check the option once only and select to open position then when the conditions for a signal happen a single trade will open for that side, this trade will only close due to the user closing it or a stop loss & take profit target. If you do not check once only and you set the max open to above 1 then as long as there is a signal for a buy or sell and the re-arm time has passed a new trade will open up to the maximum set.
Please note that this trading system is not your standard MACD crossover strategy where a trade opens and closes each time the signal and MACD lines cross, if you are looking for this type of system then search our marketplace.