mktmole 325 posts msg #117889 - Ignore mktmole |
1/25/2014 1:07:34 PM
Ultimate Stock Scanner. by Mark Helweg of ValueCharts.
Buy stocks where "Sustainable" Big Money is flowing into.
Looking for a new "net" ? high reaching a new 5 day high with a 60 day look back.
The result is displayed as an oscillator having a range of +30 0 -30
with Buying strength > +5
and Selling Strength > -5
Any ideas converting his TS code below for SF?
tks,
mm
------------------------------------------
TradeStation Code
Inputs: Length(5),Length2(60);
Variables:VarBuy(0),VarSell(0),BuyStrength(0), SellStrength(0), StrDiff(0),
VarF(""),VarSymbol("");
If H>Highest(H,Length)[1] then
VarBuy=H-Highest(H,Length)[1]
Else
VarBuy=0;
if LVarSell=Lowest(L,Length)[1]-L
Else
VarSell=0;
BuyStrength=(summation(VarBuy,Length2))/(AvgTrueRange(Length2));
SellStrength=(sumation(VarSell,Length2))/AvgTrueRange(Length2));
StrDiff=BuyStrength-SellStrength;
|