通达信快速涨跌副图公式源码是什么?
2016-6-3 11:20:44 股票入门 http://rumen.southmoney.com
通达信快速涨跌副图公式源码是什么?附:通达信有庄控盘牛股启动副图指标公式 南方财富网小编为您提供
【通达信快速涨跌副图公式源码】
STICKLINE(1,100,100,20,0),COLORGREEN;
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">STICKLINE(1,90,90,1,0),COLORGREEN;
STICKLINE(1,10,10,1,0),COLORYELLOW;
STICKLINE(1,0,0,20,0),COLORYELLOW;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
RSV:= (CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
FASTK:=SMA(RSV,5,1);
K:=SMA(FASTK,5,1);
D:=SMA(K,3,1);
AA1:=K-REF(K,1);
STICKLINE(VAR9>VARA,VARA,VARA+(1/5)*(VAR9-VARA),4,0),COLOR00FFFF;
STICKLINE(VAR9>VARA,VARA+(1/5)*(VAR9-VARA),VARA+(2/5)*(VAR9-VARA),4,0),COLOR00CCFF;
STICKLINE(VAR9>VARA,VARA+(2/5)*(VAR9-VARA),VARA+(3/5)*(VAR9-VARA),4,0),COLOR0099FF;
STICKLINE(VAR9>VARA,VARA+(3/5)*(VAR9-VARA),VARA+(4/5)*(VAR9-VARA),4,0),COLOR0066FF;
STICKLINE(VAR9>VARA,VARA+(4/5)*(VAR9-VARA),VARA+(5/5)*(VAR9-VARA),4,0),COLOR0033FF;
STICKLINE(VAR9<=VARA,VARA,VARA-(1/5)*(VAR9-VARA),4,0),COLOR00FF33;
STICKLINE(VAR9<=VARA,VARA-(1/5)*(VAR9-VARA),VARA-(2/5)*(VAR9-VARA),4,0),COLOR33FF33;
STICKLINE(VAR9<=VARA,VARA-(2/5)*(VAR9-VARA),VARA-(3/5)*(VAR9-VARA),4,0),COLOR66FF33;
STICKLINE(VAR9<=VARA,VARA-(3/5)*(VAR9-VARA),VARA-(4/5)*(VAR9-VARA),4,0),COLOR99FF33;
STICKLINE(VAR9<=VARA,VARA-(4/5)*(VAR9-VARA),VARA-(5/5)*(VAR9-VARA),4,0),COLORCCFF33;
STICKLINE(AA1>0,REF(K,1),REF(K,1)+(1/5)*(K-REF(K,1)),6,0),COLOR0000FF;
STICKLINE(AA1>0,REF(K,1)+(1/5)*(K-REF(K,1)),REF(K,1)+(2/5)*(K-REF(K,1)),6,0),COLOR3300FF;
STICKLINE(AA1>0,REF(K,1)+(2/5)*(K-REF(K,1)),REF(K,1)+(3/5)*(K-REF(K,1)),6,0),COLOR6600FF;
STICKLINE(AA1>0,REF(K,1)+(3/5)*(K-REF(K,1)),REF(K,1)+(4/5)*(K-REF(K,1)),6,0),COLOR9900FF;
STICKLINE(AA1>0,REF(K,1)+(4/5)*(K-REF(K,1)),REF(K,1)+(5/5)*(K-REF(K,1)),6,0),COLORCC00FF;
STICKLINE(AA1<=0,REF(K,1),K,6,0),COLORFFFF00;
快速涨:IFF(VAR9>VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FFFF;
快速跌:IFF(VAR9<=VARA,(VAR9+VARA)/2,DRAWNULL),NODRAW,COLOR00FF33;
慢速涨:IFF(AA1>0,K,DRAWNULL),NODRAW,COLORCC00FF;
慢速跌:IFF(AA1<=0,K,DRAWNULL),NODRAW,COLORFFFF00;
附:【通达信有庄控盘牛股启动副图指标公式】
{牛股启动主图}
A:=(3*C+L+O+H)/6;
AX:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
主力成本:EMA(AX,13),COLORFF00FF,LINETHICK0;
短期底部:LLV(HIGH,30),LINETHICK2,COLORFFCC00;
IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(C/REF(C,1)>1.095,C,O,1.5,0)COLORMAGENTA;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
FA:=BARSLAST(CROSS(MA10,MA5)) AND CROSS(MA5,MA10);
FB:=FA AND MA5>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);
DRAWTEXT(FB,L-0.58,'★追涨'),COLORRED;
V1:=EMA(CLOSE,5);
V2:=EMA(EMA(CLOSE,90)*1.01,10);
DRAWTEXT(CROSS(V1,V2),V1+0.05,'牛起步'),COLOR00FF00;
VARA1:=LLV(LOW,21);
VARA2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 100),5);
AK:=EMA((((CLOSE - VARA1) / (VARA2 - VARA1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'○关注'),COLORYELLOW;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
介入:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(介入,L*0.99,'介入'),COLOR0099FF;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★买入' ),COLOR00FFFF;
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;
更多通达信公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。