通达信定乾坤主图指标公式
2020/6/8 19:06:02
红轨:MA(MA(C,3),1),COLORRED;
红升:IF(红轨>=REF(红轨,1),红轨,DRAWNULL),COLORRED;
绿降:IF(红轨<REF(红轨,1),红轨,DRAWNULL),COLORGREEN;
XX:MA(C,8),COLORRED,LINETHICK2;
IF(XX>=REF(XX,1),XX,DRAWNULL),LINETHICK2,COLORRED;
IF(XX<REF(XX,1),XX,DRAWNULL),LINETHICK2,COLOR824173;
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
平衡:EMA(((SLOPE(C,13) * 22) + C),50),COLORYELLOW;
黄升:IF(重心>=平衡,平衡,DRAWNULL),COLORYELLOW;
蓝降:IF(重心<平衡,平衡,DRAWNULL),COLORBLUE;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW*0.95,'买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,1,0),COLORYELLOW;
JG:=CROSS(MA(C,5),MA2);
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
NL:=CROSS(MAVOL1,MAVOL2);
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
NA:=CROSS(DIF,DEA);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,9,1);
D:=SMA(K,9,1);
J:=3*K-2*D;
KD:=CROSS(K,D) AND CROSS(J,D);
定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR
(JG AND NA AND KD) OR (NL AND NA AND KD),L*0.93,'定乾坤'),COLORYELLOW;
X1:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X1 AND J<20,LOW*0.90,'进'),COLORLIMAGENTA;
投股票 网 www.tou18.c n
股市公式下载推荐