Changes
Jump to navigation
Jump to search
<syntaxhighlight>Generate an exit order for the entire position if the position loss reaches $100:
==== Example ====
<syntaxhighlight>SetStopPosition;
SetStopLoss(100); </syntaxhighlight>
Generate an exit order for the entry if the loss per contract reaches $10:
<syntaxhighlight>SetStopContract;
SetStopLoss(10);</syntaxhighlight>
[[Category:Strategy Orders]]