Hello,

I have some difficulties to use the variable RiskVal. It works as expected for a simple 1 lot entry/Exit system, but with a more complex system with multiple entry conditions and part Exit it does not. It seems to be a summation of all risks (open and closed). Even when there ist no open trade the risk in nonzero.
Therefore i tried to use a for(open_trades) command. I copied the second example from the manual (Sum of Open profits) into my script - Without modifications. The Script crashs with error111.
Both problems occur in Zorro 1.34 and 1.4.
Question: can anyone explain this behaviour? Hopefully someone can help me to solve these problems.

Regards, Opentrades