源代码:
ema6=ma(close,6);
ema18=ma(close,18);
ema55=ma(close,55);
ema144=ma(close,144);
ema250=ma(close,250);
ema288=ma(close,288);
中线买入=count(close < ema18,5) == 4 && close / ema18 > 1.004 && isCrossUp(close,ema18) && ema18 >= refBefore(ema18,1);
drawText(中线买入,low * 0.95," ←中线买入",color="red");
vl=refBefore(low,1);
var12=(sma(abs(low - vl),13,1)) / (sma(max(low - vl,0),13,1)) * 100;
var14=ma(var12,13);
var15=llv(low,34);
var18=ema(ifelse(low <= var15,var14,0),3);
var110=sma(sma((close - llv(low,54)) / (hhv(high,54) - llv(low,54)) * 100,7,1),5,1);
var111=sma((close - llv(low,54)) / (hhv(high,54) - llv(low,54)) * 100,7,1) * 16.18 - var110 * 10.9;
t=forwardSet(ifelse(var111 <= var110 && var18 > refBefore(var18,1),var18 * 8,0),20);
drawText(t,low - 0.4,"洗盘竣事",color="#ff00ff");
drawText(t,low - 0.2,"|",color="#ff00ff");
var21=(close - llv(low,36)) / (hhv(high,36) - llv(low,36)) * 100;
var22=sma(var21,3,1);
var23=sma(var22,3,1);
var24=sma(var23,3,1);
var25=isCrossUp(var23,var24) && var23 < 20;
drawText(forwardSet(var25,10) == 1,low,"↑",y=20,color="white");
drawText(forwardSet(var25,10) == 1,low,"抄底",y=50,color="white");
drawText(forwardSet(var25,10) == 1,low - 0.2,"|",color="white");
var29=isCrossUp(var24,var23) && var23 > 80;
drawText(forwardSet(var29,5) == 1,high,"↓",y=-20,color="white");
drawText(forwardSet(var29,5) == 1,high,"逃顶",y=-50,color="white");
drawText(forwardSet(var29,5) == 1,high + 0.2,"|",color="white")
,郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。