Changes
Jump to navigation
Jump to search
<syntaxhighlight>Generate an exit order for the entire position if the position profit reaches $100:
==== Example ====
<syntaxhighlight>SetStopPosition;
SetProfitTarget(100); </syntaxhighlight>
Generate an exit order for the entry if the profit per contract reaches $10:
<syntaxhighlight>SetStopContract;
SetProfitTarget(10);</syntaxhighlight>