大智慧四金叉主图指标公式
2020/12/23 18:19:43
ma3:ema(c,3),colorwhite;
ma5:ema(c,5),colorff9900,linethick2;
ma10:ema(c,10),colorff99ff,linethick2;
ma20:ema(c,20),color4080ff,linethick1;
ma60:ema(c,60),color00ff00,linethick1;
ma250:ema(c,250),coloraaaaaa,linethick1;
mv5:=ema(v,5);
mv10:=ema(v,10);
k:="kdj.k"(9,3,3);
d:="kdj.d"(9,3,3);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd1:=dif>ref(dif,1) and dea>=ref(dea,1) and dif>dea;
v1:=ma5>ref(ma5,1) and ma10>ref(ma10,1) and c>ref(c,1) and c/o>1.01;
vv1:=mv5>ref(mv5,1) and mv10>=ref(mv10,1) and v>ref(v,1)*1.2 ;
kd1:=k>ref(k,1) and d>=ref(d,1);
va:=count(cross(k,d),4)>=1 and count(cross(ma5,ma10),4)>=1 and
count(cross(mv5,mv10),4)>=1 and count(cross(dif,dea),4)>=1;
drawtext(v1 and vv1 and kd1 and macd1 and va,h*1.02,'四金叉'),
colorwhite;
看股 吧公式 www.kangub a.com
其它股票公式列表