I updated the code to your suggestion and get the same behavior, the duration of the trades is 0, no stop loss define and risk no exit rule too, same thing will happen even if I set a wide stop loss. which causes to lose always, it is weird why it happens. im using the latest zorro version