Changes

Jump to navigation Jump to search

SetPercentTrailing

35 bytes added, 12:34, 27 January 2012
==== Example ====
<syntaxhighlight>Generate an exit order for the entire position if 50 percent of maximum position profit is lost
after the profit has reached $25:
<syntaxhighlight>SetStopPosition;
SetPercentTrailing(25,50); </syntaxhighlight>
Generate an exit order for the entry if 25 percent of maximum per share profit is lost after the
profit has reached $5:
<syntaxhighlight>SetStopShare;
SetPercentTrailing(5,25);</syntaxhighlight>
Anonymous user

Navigation menu