This technical analysis is utilising “Three Soldiers” strategy. In a nutshell:
- BUY signal is executed when the past 6 candles were formed by 3 red candles then 3 green candles, forming a “V” shape. When this pattern forms, it is assumed that market is turning from bear to bull.
- SELL signal is executed when the past 6 candles were formed by 3 green candles then 3 red candles, forming a “^” shape. When this pattern forms, it is assumed that market is turning from bull to bear.
ThreeSoldiersCandleHistoryCount is used to tell bot how long it needs to store the BUY/SELL signal for. It is useful when combining this TA with other TAs.