Joe Wu / Publications
Forum
Algorithmic trading logic problem
How to write a condition where, starting from the latest candlestick, there are at least three consecutive bullish candlesticks, followed by at least one bearish candlestick, and finally, the latest candlestick is a bullish candlestick. It's my code but it didin't work. #include <Trade\Trade.mqh> //