To reproduce the bug and then avoid it as I explain in the video, I had to:
1. Run the strategy first, where I see doesn't respect brackets.
2. Go to Custom Blocks, then erasing the brackets.
3. Run the strategy again, where nothing should change.
4. Go to Custom Blocks, now I can see the brackets appear changed on a different location.
5. So, I delete them and add them again.
6. Run the strategy again, and now it's working.
I've attached the custom blocks below.
sorry for the inconvenience, we will look into it ASAP.
Tamas
1. Go to Custom Blocks
2. Erase the Brackets
3. Go to Editor
4. Go Back to Custom Blocks
5. Then you'll see the brackets changed (no need to backtest)
6. Then you can change the brackets
7. Then go to editor and it will be changed for the good.
The thing is, you don't need to backtest to see the bug, just going back and forth between custom blocks and editor.