2020-12-03

2020-12-03_第1张图片

源代码:

var2=refBefore(low,1);

var3=sma(abs(low - var2),3,1) / sma(max(low - var2,0),3,1) * 100;

var4=ema(ifelse(close * 1.2,var3 * 10,var3 / 10),3);

var5=lowest(low,38);

var6=highest(var4,38);

var7=ifelse(lowest(low,90),1,0);

var8=ema(ifelse(low <= var5,(var4 + var6 * 2) / 2,0),3) / 618 * var7;

dd=var8 > 5;

买入=ifelse((count(dd,2) == 2),-20,0);

var1s=refBefore((low + open + close + high) / 4,1);

var2s=sma(abs(low - var1s),13,1) / sma(max(low - var1s,0),10,1);

var3s=ema(var2s,10);

var4s=lowest(low,33);

var5s=ema(ifelse(low <= var4s,var3s,0),3);

主力进场=ifelse(var5s > refBefore(var5s,1),var5s,0) * 1.1;

洗盘=ifelse(var5s < refBefore(var5s,1),var5s,0);

xg=ifelse((isCrossUp(洗盘,主力进场) && 买入 == -20),10,0);

drawStickBetweenIf(xg,0,6.5,color="red",fill=true,linewidth=4,showpricevalue=true);

drawStickBetweenIf(xg,6.5,12,color="white",fill=true,linewidth=3);


你可能感兴趣的:(2020-12-03)