通達(dá)信專捉強勢股多空指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 量能
- 畫線方法: 副圖
- 日期:2024-07-12 來源:互聯(lián)網(wǎng)
通達(dá)信專捉強勢股多空指標(biāo)公式:
N:=5;QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
QJ6:="MACD.DIF">"MACD.DEA" AND "MACD.DEA"<0;
QJ7:="KDJ.K">"KDJ.D" AND "KDJ.D"<30;
QJ8:="MACD.DIF"<"MACD.DEA";
QJ9:="KDJ.K"<"KDJ.D" AND "KDJ.K">80;
特大: QJ4*QJ5,NODRAW;大單: QJ3*QJ5,NODRAW;
中單: QJ1*QJ5,NODRAW;小單: QJ2*QJ5,NODRAW;
W1:=SUM(大單,N)+SUM(特大,N);W2:=SUM(小單,N)+SUM(中單,N);
量振1:=特大>大單 AND 大單>小單;
量振2:=特大<小單 AND 大單<小單;
標(biāo)振1:=QJ6 AND QJ7;
標(biāo)振2:=QJ8 AND QJ9;
A:=W1-W2;A0:=IF(A>0,A,0);B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,3,0),COLOR000044;
STICKLINE(A0,0,A0,2.5,0),COLOR000088;
STICKLINE(A0,0,A0,1.5,0),COLOR0000AA;
STICKLINE(A0,0,A0,1,0),COLOR0000CC;
STICKLINE(B0,0,-B0,3,0),COLOR004400;
STICKLINE(B0,0,-B0,2.5,0),COLOR008800;
STICKLINE(B0,0,-B0,1.5,0),COLOR00AA00;
STICKLINE(B0,0,-B0,1,0),COLOR00CC00;
周趨勢: MA(A,5),COLORFFFFFF;
平滑值: EMA(周趨勢,5),COLOR00FFFF;
STICKLINE(標(biāo)振1 AND 量振1 AND 周趨勢>平滑值,0,A0,3,0),COLORYELLOW;
DRAWTEXT(標(biāo)振1 AND 量振1 AND 周趨勢>平滑值,A0,'振'),COLORYELLOW;
通達(dá)信專捉強勢股多空指標(biāo)公式實例圖解:
通達(dá)信專捉強勢股多空指標(biāo)公式