通达信横扫强势主图指标公式
2020/5/28 18:30:30
DRAWTEXT_FIX(ISLASTBAR,0.1058,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1258,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1858,0,0,GNBLOCK),COLORYELLOW;
市值:(CAPITAL/100*C)/10000,NODRAW,COLORYELLOW;
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
枪神跑道:HHV(MA((HIGH),6),10),LINETHICK2,COLORGREEN;
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,10))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,13))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,18))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,20))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,25))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,30))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,13))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,18))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,20))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,25))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,30))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,25))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,30))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
KK1:=REF(RSV,1);KK2:=REF(RSV,2);KA:=RSV;KK3:=REF(RSV,3);KK4:=REF(RSV,4);KK5:=REF(RSV,5);
KK80:=3*80-(POW(2/3,1)*KK1+POW(2/3,2)*KK2+POW(2/3,3)*KK3+POW(2/3,4)*KK4+3*POW(2/3,5)*KK5);
KKK80:=SMA((KK80*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
交叉:=3*SMA(SMA(KA,3,1),3,1)-(POW(2/3,1)*KK1+POW(2/3,2)*KK2+POW(2/3,3)*KK3+POW(2/3,4)*KK4+3*POW(2/3,5)*KK5);
K转折:=3*SMA(KA,3,1)-(POW(2/3,1)*KK1+POW(2/3,2)*KK2+POW(2/3,3)*KK3+POW(2/3,4)*KK4+3*POW(2/3,5)*KK5);
K转折价0:=SMA((K转折*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
日交叉0:=SMA((交叉*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
S:DRAWTEXT(K转折价0>=KKK80 AND K转折价0>=日交叉0,日交叉0,'◆'),COLORWHITE;
投股票 网 www.tou18.c n
股市公式下载推荐