通达信小白顶底指标公式
基本概况:
- 指标类别: 通达信指标
- 授权方式: 免费版
- 指标评级: ★★★★★
- 指标语言: 简体中文
- 指标来源: 互联网
- 指标日期: 2017-07-19 00:00:00
内容介绍:
通达信小白顶底指标公式:
N:=30;
M:=13;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
RSIF:=90-RSI1,COLOR33DD33;
A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;
K22:=LLV(LOW,10);
K33:=HHV(HIGH,25);
动力线:=EMA((CLOSE-K22)/(K33-K22)*4,4);
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
W1:=SMA(RSV,3,1);
W2:=SMA(W1,3,1);
W3:=3*W1-2*W2;
STICKLINE(动力线>0 AND ISLASTBAR AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),20,80,0,1),COLORGRAY;
STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ISLASTBAR AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),15,35,2,0),COLORGRAY;
STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ISLASTBAR AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),35,55,2,0),COLORYELLOW;
STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ISLASTBAR AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),55,75,2,0),COLORRED;
STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ISLASTBAR AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),75,95,2,0),COLORMAGENTA;
STICKLINE(动力线>=3.45 AND ISLASTBAR,72,80,2,0) AND W3<W1,COLORCYAN;
STICKLINE(W3<W1 AND ISLASTBAR,30,70,1,0),COLORGREEN;
STICKLINE(动力线>0 AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),96,93,1,0),COLORGRAY;
STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),98,91,1.6,0),COLORGRAY;
STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),97,93,1,0),COLORYELLOW;
STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),97,93,1,0),COLORRED;
STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ((W3>W1 AND W3<REF(W3,1)) OR W3>W1),98,92,1.6,0),COLORMAGENTA;
STICKLINE(动力线>=3.45,97,92,2,0) AND W3<W1,COLORCYAN;
STICKLINE(W3<W1,95,94,1,0),COLORGREEN;
K1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
K2:=SMA(K1,9,1)+100;
K3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K4:=SMA(K3,3,1);
K5:=SMA(K4,3,1)+100;
K6:=K5-K2;
趋势:IF(K6>45,K6-45,0),COLORLIGRAY,DOTLINE;
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),0.2,0),COLORLIRED;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),0.2,0),COLORLIBLUE;
NOTEXT保险:9.5,COLORLIGREEN,DOTLINE;
NOTEXT分界:49,COLORGRAY,DOTLINE;
NOTEXT底部:0,COLORLICYAN,DOTLINE;
NOTEXT安全:18,COLORLICYAN,DOTLINE;
NOTEXT预警:81,COLORLIBLUE,DOTLINE;
NOTEXT顶部:99,COLORLIRED,DOTLINE;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),20,' ● 买'),COLORRED;
DRAWTEXT(CROSS(3.5,价位线),101,' ● 卖'),COLORCYAN;
K2Q:=REF(LOW,1);
K3Q:=SMA(ABS(LOW-K2Q),3,1)/SMA(MAX(LOW-K2Q,0),3,1)*100;
K4Q:=EMA(IF(CLOSE*1.3,K3Q*10,K3Q/10),3);
K5Q:=LLV(LOW,30);
K6Q:=HHV(K4Q,30);
K7Q:=IF(MA(CLOSE,58),1,0);
K8Q:=EMA(IF(LOW<=K5Q,(K4Q+K6Q*2)/2,0),3)/618*K7Q;
K9Q:=IF(K8Q>100,100,K8Q);
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8);
卖临界:STICKLINE(走势-AA6>85,103,100,10,-1),COLORCYAN;
主力线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,
相关推荐: