>>x% above a low of N days ago<<
The low N days ago or the low over the last N days?
If you mean the low of N days ago try this (which is the same as I posted you earlier, just now uses the low: --------------------------------------------------------------
Exchange = NYSE , AMEX , NASDAQ;
Output="gainers.lst";
Float N,X;
N:=5; // Days Ago X:=10; //Percentage Points To Gain
if close(0)/low(0-N)>=1+(X*.01) then println symbol , "," , Description,",",((close(0)/low(0-N))-1)*100; // Prints Symbol, Name, and Percentage Return in five days endif; --------------------------------------------------------------
Buddy nuttybuddy.net |