Why does parallel optimization become impossible if I add such a block to the buy conditions?

Rename
Because that Block uses static variables, so if multiple threads run that Strategy simultaneously they will step on each other over those statics, leading to incorrect results.
Your Response
Post
Edit Post
Login is required