通达信分时波段公式源码是什么?
2016-6-1 14:13:12 股票入门 http://rumen.southmoney.com
通达信分时波段公式源码是什么?附:通达信兔子寻宝主图指标公式 南方财富网小编为您提供
【通达信分时波段公式源码】
N:=21;
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;
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),COLORF00FF0;
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;
判断:=(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(强势区,-6,-10,4,2),COLOR9800FF;
STICKLINE(弱势区,-6,-10,4,2),COLORYELLOW;
STICKLINE(FILTER(判断<REF(判断,1)AND 判断>=80,5),85,90,3,0),COLORGREEN;
STICKLINE(DIFF>DEA,-11,-15,2,0),COLORRED;
STICKLINE(DIFF<DEA,-11,-15,2,0),COLORGREEN;
吸筹:A11,COLORLIBLUE;
CA1:=IF(吸筹 >=50 AND 紫快线<6 AND A2<10 ,1,0);
DRAWTEXT(CA1,5,'B'),COLORRED;
顶:80,COLOR5AFF9E;
大顶:=100,COLOR5AFF9E;
附:【通达信兔子寻宝主图指标公式】
兔子:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
K1:=BACKSET(兔子>REF(兔子,1),2);
IF(K1,兔子,DRAWNULL),COLORLIMAGENTA,LINETHICK1;
J:=SUM(VOL*CLOSE,5)/SUM(VOL,5);
寻宝:EMA(J,2),COLORCYAN,LINETHICK1;
K2:=BACKSET(寻宝>REF(寻宝,1),2);
IF(K2,寻宝,DRAWNULL),COLORRED,LINETHICK1;
DRAWICON((CROSS(寻宝,兔子)),兔子,10);
DRAWTEXT((CROSS(寻宝,兔子)),兔子,' ←兔兔介入,'),COLOR00FF00;
买线:=EMA(CLOSE,2);
卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;
平衡:=SMA(EMA(SMA((CLOSE+LOW)/2,3,1),3),5,1);
限制:=EMA((((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2))/(EMA(HHV (((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,21),2)-EMA(LLV(((HIGH+CLOSE)/2+LOW+(CLOSE+LOW)/2)/3,89),2)),8)*100;
DRAWICON(FILTER(平衡>REF(平衡,1) AND HHV(MA((HIGH+CLOSE)/2,13),10) AND REF((CLOSE+LOW)/2,1),5) AND 限制<88,LOW*0.98,5);
DRAWTEXT(FILTER(平衡>REF(平衡,1) AND HHV(MA((HIGH+CLOSE)/2,13),10) AND REF((CLOSE+LOW)/2,1),5) AND 限制<88,LOW*0.95,'←兔子追涨'),,COLORFFFF33;
一剑封喉:=((CROSS(CLOSE,MA(CLOSE,13)) AND CROSS(CLOSE,MA(CLOSE,34))) AND CROSS(CLOSE,MA(CLOSE,55)));
A1:=(((CLOSE - LLV(LOW,22)) / (HHV(HIGH,22) - LLV(LOW,22))) * 100);
A2:=(((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100);
A:=((3 * SMA(A1,5,1)) - (2 * SMA(SMA(A2,5,1),3,1)));
YNGS:=(一剑封喉 AND (A < 30)),LINETHICK0;
DRAWICON((一剑封喉 AND (A < 30)),(LOW * 0.99),1);
DRAWTEXT((一剑封喉 AND (A < 30)),(LOW * 0.99),' ←兔子封喉'),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(EMA(EMA(CLOSE,13),50)>EMA(EMA(CLOSE,13),50*3) AND CROSS(84,RSI), HIGH*1.02,'←风险'),COLOR00FF33;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
AAA:=(MA(CLOSE,13)+MA(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88,MA(DDD,3),DDD);
DRAWTEXT(CLOSE>=1.09*REF(CLOSE,1),CLOSE,'涨停'),COLORYELLOW;
SFF:=HIGH/REF(HIGH,1)<1 AND REF(HIGH,1)/REF(HIGH,2)<1 AND LOW/REF(LOW,1)>1 AND REF(LOW,1)/REF(LOW,2)>1 ;
更多通达信公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。