通達信七劍出鞘主圖均線買賣指標(biāo)公式
- 指標(biāo)類別: 通達信指標(biāo)公式
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 均線
- 畫線方法: 主圖
- 日期:2021-05-24 來源:互聯(lián)網(wǎng)
通達信七劍出鞘主圖均線買賣指標(biāo)公式:
EMA5:=EMA(C,5);
EMA10:=EMA(C,10);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
EMA120:=EMA(C,120);
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,1,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,1,0),COLORBLUE;
GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));
GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2;
B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
E:=GJTJ1>60 AND GJTJ4>70;
白金:={ENTERLONG:}A AND B AND E,VOLSTICK;
DRAWTEXT(白金,(L * 0.98),'白金'),COLORRED;
ZA:=BARSLAST(CROSS(50,GJTJ1))<3 AND BARSLAST(CROSS(GJTJ1,50))<3;
ZB:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4;
黃金:={ENTERLONG:}ZA AND ZB,STICK,COLORRED;
DRAWTEXT(黃金,(L * 0.95),'黃金'),COLORYELLOW;
HXG:=BARSLAST(CROSS(GJTJ4,GJTJ1))<5 AND GJTJ1>GJTJ4;
天瀑:={ENTERLONG:}COUNT(HXG,3)=1 AND HXG;
DRAWTEXT(天瀑,(L * 0.9),'天瀑'),COLORBLUE;
YA:=BARSLAST(CROSS(GJTJ4,GJTJ1))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
YB:=BARSLAST(CROSS(GJTJ4,GJTJ2));
YD:=GJTJ3<GJTJ4 AND GJTJ2<GJTJ4;
YE:=BARSLAST(CROSS(GJTJ4,GJTJ3))>3 AND BARSLAST(CROSS(GJTJ1,GJTJ4))<3;
YF:=GJTJ2<GJTJ3 AND GJTJ2<GJTJ4 AND GJTJ2<GJTJ1 AND GJTJ1=100;
YB1:=YA>0 AND REF(YA,1)=0 AND REF(YA,2)>0;
舍神:={ENTERLONG:}YA AND YB AND YD AND YE AND YF{ AND YB1};
DRAWTEXT(舍神,(L * 0.95),'舍神');
XA:=BARSLAST(CROSS(97,GJTJ1))<=1 AND BARSLAST(CROSS(GJTJ1,85))<=1;
XB:=BARSLAST(CROSS(97,GJTJ2))<=1 AND BARSLAST(CROSS(GJTJ2,85))<=1;
XA1:=XA AND XB;
XAA:=BARSLAST(CROSS(97,GJTJ1))<=2 AND BARSLAST(CROSS(GJTJ1,85))<=1;
XBA:=BARSLAST(CROSS(97,GJTJ2))<=2 AND BARSLAST(CROSS(GJTJ2,85))<=1;
XA2:=XAA AND XBA ;
XAAA:=BARSLAST(CROSS(97,GJTJ1))<=3 AND BARSLAST(CROSS(GJTJ1,85))<=1;
XBAA:=BARSLAST(CROSS(97,GJTJ2))<=3 AND BARSLAST(CROSS(GJTJ2,85))<=1;
XA3:=XAAA AND XBAA ;
XB1:=REF(XA1,1);
XB2:=REF(XA2,1);
XB3:=REF(XA3,1);
XD1:=GJTJ1=100 AND GJTJ2=100 AND XA1 ;
XD2:=GJTJ1=100 AND GJTJ2=100 AND XA2 ;
XD3:=GJTJ1=100 AND GJTJ2=100 AND XA3 ;
日月:={ENTERLONG:}XD1 OR XD2 OR XD3;
DRAWTEXT(日月,(L * 0.85),'日月');
WA:=BARSLAST(CROSS(95,GJTJ1))<=2;
WB:=BARSLAST(CROSS(95,GJTJ2))<=2;
WE:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;
WF:=GJTJ2>50 AND GJTJ3>50;
WG:=GJTJ1=100 AND GJTJ2=100;
WTX:=COUNT(WG,2)=1;
青干:={ENTERLONG:}WA AND WB AND WE AND WF AND WTX;
DRAWTEXT(青干,(L * 0.95),'青干');
VA:=GJTJ3=100;
VB:=GJTJ4<90;
莫問:={ENTERLONG:}COUNT(VA,2) = 2 AND VB;
DRAWTEXT(莫問,(L * 0.95),'莫問'),COLORWHITE;
UA:=GJTJ1=GJTJ2 AND GJTJ2=GJTJ3 AND GJTJ1=100 AND GJTJ4>96;
UB:=COUNT(UA,2)=1;
UD:=GJTJ1<GJTJ2 AND GJTJ1<GJTJ3 AND GJTJ1<GJTJ4 AND GJTJ2<GJTJ3 AND GJTJ4<95;
UYH:=INDEXC/REF(INDEXC,1)*REF(C,1);
UYH1:=REF(C,1)+C-INDEXC/REF(INDEXC,1)*REF(C,1);
UX1:=EMA(UYH1,7);
UX2:=EMA(UYH1,14);
UX3:=EMA(UX1,14);
UE:=UX1>UX2 AND UX2>UX3;
競星:={ENTERLONG:}UB AND UD AND UE;
DRAWTEXT(競星,(L * 0.95),'競星'),COLORWHITE;
STICKLINE(黃金,C,O,6,0),COLORFFBB00;
STICKLINE(黃金,H,L,1,0),COLORFFBB00;
五:EMA(C,5),LINETHICK1;
十三:EMA(C,13),LINETHICK1;
八九:EMA(C,89),LINETHICK2;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
HY3:=IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW*0.96,' 注意買入'),COLORYELLOW;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意買入');
S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2;
BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F:=MA(S,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0);
DRAWTEXT(S1=2,LOW,'關(guān)注!'),COLORGREEN;
通達信七劍出鞘主圖均線買賣指標(biāo)公式實例圖解:
通達信七劍出鞘主圖均線買賣指標(biāo)公式