通达信短波段公式源码是什么?
2016-6-1 14:12:21 股票入门 http://rumen.southmoney.com
通达信短波段公式源码是什么?附:通达信牛股爬山坡副图公式源码 南方财富网小编为您提供
【通达信短波段公式源码】
N:=13;
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">A1:=REF(CLOSE,2);
A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
A3:=DATE <= 1070615;
A4:=REF(LOW,1);
A5:=SMA(ABS(LOW-A4),3,1)/SMA(MAX(LOW-A4,0),3,1)*100;
A6:=EMA(IF(CLOSE*1.3,A5*10,A5/10),3);
A7:=LLV(LOW,29);
A8:=HHV(A6,37);
A9:=IF(MA(CLOSE,90),1,0);
A10:=EMA(IF(LOW<=A7,(A6+A8*2)/2,0),3)/8888*A9;
A11:=IF(A10>100,100,A10);
STICKLINE(A11,0,A11,6,1) * A3,COLORF00FF0;
CCT:=DYNAINFO(8);
AAA:= FILTER(CCT=0,350) ;
VAR1:=SMA(EMA(((C+L)/2-LLV(L,N))/(HHV((H+C)/2,N)-LLV(L,N))*100,3),7,1)-(13);
RSV:=((HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))*100)-70;
RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,5,1);
绿慢线:SMA(FATK,5,1),LINETHICK2,COLOR00D300;
紫快线:(7*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*30,4,1),3,1),2,1)),COLORBB24DB;
介入:IF(A2<12,10,0),LINETHICK2,COLORWHITE;
B2:DRAWICON((ZIG(3,2)>REF(ZIG(3,2),1)) AND (REF(ZIG(3,2),1)<=REF(ZIG(3,2),2)) AND (REF(ZIG(3,2),2)<=REF(ZIG(3,2),3)),-2,1) ;
S2:DRAWICON((ZIG(3,2)<REF(ZIG(3,2),1)) AND (REF(ZIG(3,2),1)>=REF(ZIG(3,2),2)) AND (REF(ZIG(3,2),2)>=REF(ZIG(3,2),3)),95,15);
DRAWTEXT(ISLASTBAR,-7, 'EMA'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,-12, 'MACD'),COLORYELLOW;
B4:DRAWTEXT(CROSS(ZIG(3,4),REF(ZIG(3,4),1)),5,20),COLORGREEN;
B6:DRAWTEXT(CROSS(ZIG(3,6),REF(ZIG(3,6),1)),10,40),COLORGREEN;
B8:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),15,60),COLORGREEN;
B10:DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),20,80),COLORGREEN;
B12:DRAWTEXT(CROSS(ZIG(3,12),REF(ZIG(3,12),1)),25,100),COLORGREEN;
S12:DRAWTEXT(CROSS(REF(ZIG(3,12),1),ZIG(3,12)),67,-100),COLORGREEN;
S10:DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),72,-80),COLORGREEN;
S8:DRAWTEXT(CROSS(REF(ZIG(3,8),1),ZIG(3,8)),77,-60),COLORGREEN;
S6:DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),82,-40),COLORGREEN;
S4:DRAWTEXT(CROSS(REF(ZIG(3,4),1),ZIG(3,4)),88,-20),COLORGREEN;
T1:=IF(TIME>093100 AND TIME<145500 ,1,0);
吸筹:A11,COLORLIBLUE;
CA1:=IF( 绿慢线>80 AND S2,1,0);
CA2:=IF( 紫快线<6 AND A2<10 AND B2,1,0);
CA3:=IF(吸筹 >=60 AND B4,1,0);
DRAWTEXT(CA1,95,'短跌'),COLORGREEN;
DRAWTEXT(CA2,-2,'短涨'),COLORGREEN;
DRAWTEXT(CA3,3,'▲'),COLORRED;
顶:85,COLORWHITE;
大顶:=105,COLOR5AFF9E;
F1:=ZIG(3,15);
价差15:IF((F1> REF(F1,1)),-4,100),COLORYELLOW;
判断:=(SMA(((C+L)/2-LLV(L,N))/(HHV((H+C)/2,N)-LLV(L,N))*100,2,1)-8);
强势区:RSV1>VAR1,COLOR9800FF;
弱势区:RSV1<VAR1,COLORYELLOW;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(强势区,-8,-11,4,2),COLOR9800FF;
STICKLINE(弱势区,-8,-11,4,2),COLORYELLOW;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>=80,5),75,85,3,0),COLORGREEN;
STICKLINE(DIFF>DEA,-12,-15,2,0),COLORRED;
STICKLINE(DIFF<DEA,-12,-15,2,0),COLORGREEN;
附:【通达信牛股爬山坡副图公式源码】
NOTEXT1:=HHV(EMA(C,17),2);
NOTEXT2:EMA(C,17),LINETHICK3,COLORRED;
NOTEXT3:IF(((NOTEXT1 = NOTEXT2) AND UPNDAY(NOTEXT1,3)),NOTEXT1,DRAWNULL),LINETHICK3,COLORRED;
NOTEXT4:IF((REF(NOTEXT1,2) > NOTEXT2),NOTEXT2,DRAWNULL),LINETHICK3,COLORGREEN;
LC:=REF(CLOSE,1);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSI:=((SMA(MAX((CLOSE - LC),0),9,1) / SMA(ABS((CLOSE - LC)),9,1)) * 100);
DBTJ1:=(RSI > 75);
DBTJ2:=(J > 95);
B1:=(EMA(CLOSE,12) - EMA(CLOSE,26));
B2:=EMA(B1,3);
ZF:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
RSI1:=((SMA(MAX((CLOSE - LC),0),9,1) / SMA(ABS((CLOSE - LC)),9,1)) * 100);
TDSZ:=(((((((B1 > B2) OR (B1 = B2)) AND (ZF > 9)) AND (ZF < 11)) AND (40 < RSI1)) AND (RSI1 < 60)) AND (C = H));
RSV13:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
B11:=SMA(RSV13,4,1);
B22:=SMA(B11,3,1);
CDTJ:=(((C > O) AND CROSS(B11,B22)) AND (B22 <= 50));
TOPB:=IF(((DBTJ1 OR DBTJ2) AND (((C + NOTEXT2) / 2) < NOTEXT2)),(((3 * NOTEXT2) - C) / 2),((C + NOTEXT2) / 2));
BOTB:=IF(((CDTJ OR TDSZ) AND (((C + NOTEXT2) / 2) > NOTEXT2)),(((3 * NOTEXT2) - C) / 2),((C + NOTEXT2) / 2));
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),2.3,0),COLORA4A4A4;
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),2,0),COLORB6B6B6;
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),1.7,0),COLORB8B8B8;
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),1.4,0),COLORCACACA;
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),1.1,0),COLORF4F4F4;
STICKLINE((((NOT(DBTJ1) AND NOT(DBTJ2)) AND NOT(CDTJ)) AND NOT(TDSZ)),NOTEXT2,(NOTEXT2 * 1.009),0.8,0),COLORF6F6F6;
STICKLINE((RSI > 75),NOTEXT2,TOPB,2.3,0),COLOR000057;
STICKLINE((RSI > 75),NOTEXT2,TOPB,2,0),COLOR00007D;
STICKLINE((RSI > 75),NOTEXT2,TOPB,1.7,0),COLOR00008C;
STICKLINE((RSI > 75),NOTEXT2,TOPB,1.4,0),COLOR0000A1;
STICKLINE((RSI > 75),NOTEXT2,TOPB,1.1,0),COLOR0000B5;
STICKLINE((RSI > 75),NOTEXT2,TOPB,0.8,0),COLOR0000CC;
STICKLINE((J > 95),NOTEXT2,TOPB,2.3,0),COLOR570057;
STICKLINE((J > 95),NOTEXT2,TOPB,2,0),COLOR660066;
STICKLINE((J > 95),NOTEXT2,TOPB,1.7,0),COLOR7D007D;
STICKLINE((J > 95),NOTEXT2,TOPB,1.4,0),COLOR990099;
STICKLINE((J > 95),NOTEXT2,TOPB,1.1,0),COLORBD00BD;
STICKLINE((J > 95),NOTEXT2,TOPB,0.8,0),COLORMAGENTA;
STICKLINE(CDTJ,NOTEXT2,BOTB,2.3,0),COLOR004040;
STICKLINE(CDTJ,NOTEXT2,BOTB,2,0),COLOR006464;
STICKLINE(CDTJ,NOTEXT2,BOTB,1.7,0),COLOR00A8A8;
STICKLINE(CDTJ,NOTEXT2,BOTB,1.4,0),COLOR00DBDB;
STICKLINE(CDTJ,NOTEXT2,BOTB,1.1,0),COLOR15FFFF;
STICKLINE(CDTJ,NOTEXT2,BOTB,0.8,0),COLOR4DFFFF;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),2,0),COLORCYAN;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),1.5,0),COLOR990000;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),1.8,0),COLORCC0000;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),0.3,0),COLORFF4400;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),2,0),COLORFF8800;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),1.5,0),COLORFFCC00;
STICKLINE(TDSZ,NOTEXT2,(BOTB * 0.98),0.8,0),COLORCYAN;
更多通达信公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。