When I run the Z13 script, I receive the „Not enough capital“ message. Even with capital slider on 100.000 and Leverage 6. (snapshot in appendix, demo account).

I could work around the problem by erasing the .trd files and running the script again. I get the sell proposal and can sell it automatically via IB bridge.

Nevertheless, I am concerned why this happens, also the sliders occasionally change the values during the script run (like changing form condor to put, changing capital to 5000, etc.).

Any advise ? Thank you ...

Attached Files capital.jpg