This action is used to increment the current risk value automatically whenever a certain event occurs (opening or closing of orders).
Syntax | a:risk_increment(risk_increment_value)! | |
---|---|---|
Parameters | risk_increment_value | The value (in lots) you want to add to the current lot size (risk). |
Single-sided | Yes | |
Example | a:risk_increment(0.02)! | |
Consider this example and imagine that the current lot size is 0.03 (note that it can be the initial value set in the Risk Setup input or any other already incremented by this action). When the event where the action a:risk_increment(0.02)! is set on is triggered (meaning that the full condition set is true) the current lot size will be incremented by 0.02. This means that the next orders which may open will have a lot size of 0.05 (0.03 + 0.02). |