Else If Rank>=490 then SellShort 200 contracts next bar at O; {Go Short the worse 10 stocks}</syntaxhighlight>
The above is a classic case of Stocks Relative Performance Trading.MyIndicator should be generic, meaning that the user should be able to change this Ranking Indicator as he wishes. Another Example of Ranking Indicator might be MyIndicator = ADX of data2; Then allow trading only in those stocks that have the highest ADX.:
<syntaxhighlight>MyIndicator = ADX of data2;</syntaxhighlight>
Then allow trading only in those stocks that have the highest ADX.