What blocks to add for these situation?
-

https://fxdreema.com/shared/z0J4HR20b
I have problem and dont know which blocks use to resolve situations which i describe in the image.
I want EA to work on heiken ashi candle.
I send link to EA project, so far EA works so that it open buy transaction when the bull candle create after 3 bearish candles in a row, and vice versa in the case of sell transactions -
Not sure I fully understand. Do you want to know how to close the trades? You just need another block tree requesting the required condition.