[[SetStopPosition]] and [[SetStopContract]] or [[SetStopShare]] functions determine whether '''SetPercentTrailing''' will be applied to the entire position or each contract or share individually; by default, '''SetPercentTrailing''' is applied to the entire position.
<div style="background-color: #C1FFC1E3FBE5;margin-bottom:10px;">The SetPercentTrailing function is evaluated intra-bar and not only on close of a bar, and can exit within the same bar as the entry.</div>