694
edits
Line 444: | Line 444: | ||
Else If Rank>=490 then SellShort 200 contracts next bar at O; {Go Short the worse 10 stocks}</syntaxhighlight> | 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 | 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 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: | ||
<syntaxhighlight>MyIndicator = ADX of data2;</syntaxhighlight> | |||
Then allow trading only in those stocks that have the highest ADX. | |||