Counter is not working (Reset?)
-
When I backtest this project it seems like to work. It is buying and selling two times. When it comes to the third it is not buying because the couter which is set to 10 in the variable. After that it is not buying anymore but I reset the counters and vaiables after the counter past 10 but it stops there with buying. What could be the probelem?
-
Counter reset is done by its ID. Have you checked ? I use the counter Block very often that works well
-
Thanks for the reply. The number from the counter ID is the same in the two blocks. What else can be the problem? The trgger part on the left (RSI) is blocked after it's passing the <30 level. It's blocked by put block two in off status. Then the right part continues. In this the right part should put block two on after the max amount of passes (10 set in vaiable). The thing is that it looks like it's not activate the "wrong" yellow part of the conter block 14. So it's not opening the left part for continuation.

-
Without looking too deeply into this it looks like you are resetting the counter every time it passes n times by connecting the reset to yellow
-