通達(dá)信波段線主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-12 00:00:00
內(nèi)容介紹:
通達(dá)信波段線主圖指標(biāo)公式:
N:=20;N1:=7;N2:=79;
MA7:MA(C,7),COLORMAGENTA,LINETHICK2;
MA89:MA(C,89),COLORBLUE,LINETHICK2;
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:=(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;
A2:=EMA(A1,2);
A3:=EMA(A2,2);
A4:=EMA(A3,2);
A5:=EMA(A4,2);
A6:=EMA(A5,2);
A7:=EMA(A6,2);
IF(A1>REF(A1,1),A1,DRAWNULL),COLORRED;
IF(A1<REF(A1,1),A1,DRAWNULL),COLORGREEN;
IF(A2>REF(A2,1),A2,DRAWNULL),COLORRED;
IF(A2<REF(A2,1),A2,DRAWNULL),COLORGREEN;
IF(A3>REF(A3,1),A3,DRAWNULL),COLORRED;
IF(A3<REF(A3,1),A3,DRAWNULL),COLORGREEN;
IF(A4>REF(A4,1),A4,DRAWNULL),COLORRED;
IF(A4<REF(A4,1),A4,DRAWNULL),COLORGREEN;
IF(A5>REF(A5,1),A5,DRAWNULL),COLORRED;
IF(A5<REF(A5,1),A5,DRAWNULL),COLORGREEN;
IF(A6>REF(A6,1),A6,DRAWNULL),COLORRED;
IF(A6<REF(A6,1),A6,DRAWNULL),COLORGREEN;
IF(A7>REF(A7,1),A7,DRAWNULL),COLORRED;
IF(A7<REF(A7,1),A7,DRAWNULL),COLORGREEN;
壓力:HHV(MA((L+H+C)/3,5),60),COLORCYAN,LINETHICK2;
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
DRAWICON(REF(A<B,1) AND A>B,L*0.98,1);
{DRAWTEXT(REF(A<B,1) AND A>B,L,'--------------B'), COLORYELLOW;}
M3:=EMA(CLOSE,3);
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
M55:=EMA(M8,55);
VAR1B:=EMA(M13,55);
M81:=EMA(M55,81);
M6:=EMA(VAR1B,144), COLORRED,LINETHICK2;
VAR2B:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR3B:=MA(CLOSE,N)+2*STD(CLOSE,N);
DRAWICON(CROSS(VAR2B,VAR3B),HIGH+0.1,2);
VAR4B:=REF(CLOSE,1);
VAR5B:=SMA(MAX(CLOSE-VAR4B,0),N1,1)/SMA(ABS(CLOSE-VAR4B),N1,1)*100;
VAR6B:=CROSS(N2,VAR5B);
VAR7B:=FILTER(VAR6B,4);
DRAWICON(VAR7B,HIGH+0.1,2);
ZTJZ:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(ZTJZ AND COUNT(ZTJZ,13)>=1,C,O,1,0),COLORYELLOW;
DRAWTEXT(ZTJZ AND COUNT(ZTJZ,13)>=1,H*1.015,''),COLORYELLOW,LINETHICK1;
DRAWTEXT(ZTJZ AND COUNT(ZTJZ,13)>=1,H*1.028,''),COLORYELLOW;
YZFZ:=4;
YBLZ:=1.90;
DYKX:=C>O*(1+YZFZ/100) AND VOL>REF(VOL,1)*YBLZ;
LS0:=BARSLAST(DYKX);
BPJZ:=REF(L,LS0);
DRAWTEXT(DYKX,L-L*0.02,'陽'),COLOR00FFFF;
WZX1:=BPJZ *0.998;
WZX2:=BPJZ *0.98;
LS11:=IF(1,LS0=1,DYKX);
LS21:=IF(1,LLV(L,1)>REF(L,1),1);
DYBP:=LS11 AND LS21;
STICKLINE(DYBP,WZX1,BPJZ,4,0),COLORMAGENTA;
DRAWTEXT(DYBP,WZX2,'1'),COLORGREEN;
LS12:=IF(2,LS0=2,DYKX);
LS22:=IF(2,LLV(L,2)>REF(L,2),1);
DYBP2:=LS12 AND LS22;
STICKLINE(DYBP2,WZX1,BPJZ,4,0),COLORMAGENTA;
DRAWTEXT(DYBP2,WZX2,'2'),COLORGREEN;
LS13:=IF(3,LS0=3,DYKX);
LS23:=IF(3,LLV(L,3)>REF(L,3),1);
DYBP3:=LS13 AND LS23;
STICKLINE(DYBP3,WZX1,BPJZ,4,0),COLORMAGENTA;
DRAWTEXT(DYBP3,WZX2,'3'),COLORGREEN;
LS14:=IF(4,LS0=4,DYKX);
LS24:=IF(4,LLV(L,4)>REF(L,4),1);
DYBP4:=LS14 AND LS24;
STICKLINE(DYBP4,WZX1,BPJZ,4,0),COLORMAGENTA;
相關(guān)推薦: