【CounterTrendStocks】
[code]Inputs: Len(Numeric), LegPercent(Numeric), MinimumPriceValue(Numeric);Variables: var0(0), var1(0), var2(0), var3(0);
var0 = BarQuality(Len);
var1 = AverageUpMove(Len);
var2 = AverageDnMove(Len);
var3 = 100 - MinList(100, AbsValue(var1 - var2));
condition1 = Lowest(Low, Len) < MinimumPriceValue OR var0 < 20 OR MaxList(var1, var2) < LegPercent ;
If condition1 Then
var3 = 0;
CounterTrendStocks = var3;
[/code]
页:
[1]