|
allan nathan
2013-01-25 23:02:10
0
|
|
If I wanted to also include stocks with negative 25 day performance,and would also like to optimize as well,is this formula correct?
Am I correct that this formula selects the strongest x stocks that had returns between -18 and 50 for the past 25 days?
a = close; // Stock value
Optimize( "level", -18,50,4 );
a1 = perf(a,25); // Performance of stock for the last month
strength=a1;
buy = strength > level and close > 5; // Buy only stocks with 25 day perf between -18 and 50
SetSimLongRank(strength); // Rank stocks by their performance
|
|