设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

通达信彩带趋势主图指标公式是什么?

2016-4-21 10:28:25 股票入门 http://rumen.southmoney.com

通达信彩带趋势主图指标公式是什么?附:通达信另类布林2主图指标公式 南方财富网小编为您提供


【通达信彩带趋势主图指标公式】

MA14:=MA(C,14);
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(H<MA14 ,H,L,10,0),COLOR000000;
STICKLINE(H<MA14 ,H,L,0.1,0),COLOR666666;
STICKLINE(H<MA14 ,O,C,8,0),COLOR666666;
STICKLINE(H<MA14 AND C>O,O,C,8,0),COLOR8F8F8F;
CC:=(3*C+H+L+O)/6;
MA6:=EMA(MA(IF(MA(CC,3)>MA(CC,4),MA((CC+3*H)/4,3),
REF(MA((CC+3*L)/4,3),1)),3),5);
REF(MA6,1), COLOR8A8A8A;
REF(MA6,2), COLOR898989;
REF(MA6,3), COLOR888888;
REF(MA6,4), COLOR878787;
REF(MA6,5), COLOR868686;
REF(MA6,6), COLOR858585;
REF(MA6,7), COLOR848484;
REF(MA6,8), COLOR838383;
REF(MA6,9), COLOR828282;
REF(MA6,10), COLOR818181;
REF(MA6,11), COLOR808080;
REF(MA6,12), COLOR7A7A7A;
REF(MA6,13), COLOR797979;
REF(MA6,14), COLOR787878;
REF(MA6,15), COLOR777777;
REF(MA6,16), COLOR767676;
REF(MA6,17), COLOR757575;
REF(MA6,18), COLOR747474;
REF(MA6,19), COLOR737373;
REF(MA6,20), COLOR727272;
REF(MA6,21), COLOR717171;
REF(MA6,22), COLOR707070;
REF(MA6,23), COLOR6A6A6A;
REF(MA6,24), COLOR696969;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,H,L,0.1,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,H,L,0.1,0),COLORFFCC66;
STICKLINE(L<MA14 AND C>O AND H>MA14 ,O,C,8,0),COLORDD66CC;
STICKLINE(L<MA14 AND C<O AND H>MA14,O,C,8,0),COLORFFCC66;
STICKLINE(L>MA14 AND C>O AND H>MA14,H,L,0.1,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,H,L,0.1,0),COLOR66FF66;
STICKLINE(L>MA14 AND C>O AND H>MA14,O,C,8,0),COLOR0066FF;
STICKLINE(L>MA14 AND C<O AND H>MA14,O,C,8,0),COLOR66FF66;
A0:=FROMOPEN;
P:=PERIOD ;
A:=IF(P=1,A0,IF(P=2,A0/5,IF(P=3,A0/15,IF(P=4,A0/30,
IF(P=5,A0/60,IF(P=0,0,1))))));
均价线:=IF(CAPITAL>0,SUM(AMOUNT,A)/100/SUM(VOL,A),
SUM(CLOSE*VOL,A)/SUM(VOL,A));
额势:=IF(CAPITAL>0,均价线,1);
取势:=IF(SMA(额势,3,2)>SMA(额势,5,3),(O+2*HHV(H,2))/3,(O+2*LLV(L,2))/3);
短1:=(EMA(取势,1)+MA(取势,3)+MA(取势,5))/3;
短2:=(EMA(取势,3)+MA(取势,6)+MA(取势,9))/3;
短01:=EMA((短1+短2+MA(短2,5))/3,2.637),COLORFFC0F0,LINETHICK2;
趋势线1:=SMA(FORCAST(CLOSE,13),5,1),COLORFFFF00,LINETHICK1;
趋势线2:(EMA(SMA(FORCAST(取势,12),4,1),4)+趋势线1)/2,COLORFFFF00,
LINETHICK1;
趋势线3:(EMA(SMA(FORCAST(取势,12),20,1),4)+趋势线1)/2,COLORFFFF00,
LINETHICK1;
IF(趋势线1>REF(趋势线1,1),趋势线2,DRAWNULL),COLORFFAA00,LINETHICK2;
IF(趋势线1<REF(趋势线1,1),趋势线2,DRAWNULL),COLOR0088FF,LINETHICK2;
A00:="RSI.RSI1"(6,12,24);
ZF:=(C-REF(C,1))/REF(C,1)*100;
DRAWICON(CROSS(A00,50) AND ZF>3,L*0.98,1);
MA20:=MA(C,20),COLORWHITE,LINETHICK2;
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;
卖点:=CROSS(C,乖离线);
X6:=REF(CLOSE,1);
X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);
X8:=CROSS(79,X7) ;
X9:=FILTER(X8,4) ;
出货:=X9;
条件A:=卖点 AND C<O;
条件B:=出货 AND C<O,LINETHICK1;
显示A_B:=(REF(BARSLAST(条件A OR 条件B)>=4,1) AND 条件B ) OR 条件A;
限制性出现出货:DRAWTEXT((REF(BARSLAST(条件A OR 条件B)>=4,1) AND 条件B ),
(HIGH * 1.02),'出货'),COLOR9000F5;{卖点跟出货在5天内同时出现的时候,
不让出货显示}
允许出现卖点:DRAWTEXT(条件A ,H+0.13,'卖点'),COLOR00FF00;
STICKLINE(显示A_B,O,C,8,0),COLORFF9933;
DRAWTEXT(显示A_B,(H+L)/2,'★'),COLORDD99FF;
★:DRAWTEXT(C>MA(C,20) AND (MA(C,5)>MA(C,10) AND MA(C,5)<MA(C,20))
OR (C>MA(C,20) AND MA(C,5)>MA(C,10) AND MA(C,10)<MA(C,20))
OR(C>MA(C,20) AND MA(C,5)>MA(C,10) AND MA(C,10)<MA(C,20)),MA(C,20),'★')
,COLORFFFFFF;

附:【通达信另类布林2主图指标公式】

H1:=EMA(CLOSE,5);
H2:=EMA(H1,12);
UPR:H2+3*STD(H2,10),COLOR008364,LINETHICK2;
DWN:H2-3*STD(H2,10),COLOR008364,LINETHICK2;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR3:=EMA(VAR2,3);
VAR4:=EMA(VAR3,6);
L1:= EMA(VAR2,3);
L2:= EMA(VAR3,4);
L3:= EMA(VAR4,5);
STICKLINE(L1>=L2,(OPEN),(CLOSE),2,0), COLORRED;
STICKLINE(L1>=L2,(HIGH),(LOW),0,0), COLORRED;
STICKLINE(L1<L2,(CLOSE),(OPEN),2,0) ,COLORGREEN;
STICKLINE(L1<L2,(HIGH),(LOW),0,0), COLORGREEN;
VAR5:=REF(L1,1)>L1 AND L1>L2;
VAR6:=L1>L2 AND CLOSE<OPEN;
VAR7:=REF(L1,1)<L1 AND L1<L2;
STICKLINE(VAR5,(OPEN),(CLOSE),2,0), COLORBLUE;
STICKLINE(VAR5,(HIGH),(LOW),0,0), COLORBLUE;
STICKLINE(VAR7,(OPEN),(CLOSE),2,0), COLORMAGENTA;
STICKLINE(VAR7,(HIGH),(LOW),0,0), COLORMAGENTA;
VARE:=SAR(5,1,5);
VARF:=MA(CLOSE,20);
VAR10:=IF(CLOSE>450,8,IF(CLOSE>=20 AND CLOSE<150,0.2,IF(CLOSE<20 AND CLOSE>=10,0.07,IF(CLOSE<10,0.03,0.07))));
STICKLINE(CLOSE>VARE,VARF,VARF+VAR10,2,0),COLOR0066FF;
STICKLINE(CLOSE<VARE,VARF,VARF-VAR10,2,0),COLORFFFF00;
STICKLINE(CROSS(CLOSE,VARE),VARF,VARF-VAR10,2,0);
STICKLINE(CROSS(VARE,CLOSE),VARF,VARF+VAR10,2,0);
STICKLINE(RANGE(DAY,6,9) OR RANGE(DAY,27,30),VARF+0.01,VARF-0.01,2,0),COLOR00FFFF;
MA20:=MA(C,20);
MA120:=MA(C,120);
MA250:=MA(C,250);
乖离线:=((C-REF(MA20,1))/20+MA20)*1.20;
TT1:=CROSS(MA20,MA120) AND CROSS(MA20,MA250) AND V>REF(V,1);
TT2:=MA20>REF(MA20,2) AND V>REF(V,1) AND CROSS(C,MA20);
STICKLINE(TT1,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(TT1,L-0.13,'金叉'),COLORYELLOW;
STICKLINE(CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20),L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(CROSS(C,MA120) AND CROSS(C,MA250) AND CROSS(C,MA20),L-0.13,'并线开花'),COLORYELLOW;
STICKLINE(TT2,L,L-0.09,4,0),COLORYELLOW;
DRAWTEXT(TT2,L-0.13,'买点1'),COLORYELLOW;
STICKLINE(CROSS(C,乖离线),H,H+0.09,4,0),COLOR00FF00;
DRAWTEXT(CROSS(C,乖离线) ,H+0.13,'卖点'),COLOR00FF00;
STICKLINE(MA250>=REF(MA250,1) AND MA20>=REF(MA20,1) AND CROSS(C,MA250),L,L-0.09,4,0),COLORFFCC66;
DRAWTEXT(MA250>=REF(MA250,1) AND MA20>=REF(MA20,1) AND CROSS(C,MA250),L-0.13,'牛象'),COLORFFCC66;
STICKLINE(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L,L-0.09,4,0),COLORFF00FF;
DRAWTEXT(MA120>=REF(MA120,1) AND CROSS(C,MA20) AND CROSS(C,MA120) AND V>REF(V,1),L-0.13,'买点2'),COLORFF00FF;
RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=((3 * K) - (2 * D));
RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=((3 * K24) - (2 * D24));
U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);
L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);
RH1:=IF(((J < U2L) AND (REF(J,1) >= U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));
RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));
RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));
RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J < J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));
DRAWTEXT(FILTER(((((((((OPEN > ma120) AND (ma20 < ma120)) AND (LOW <= ma120)) AND ((ma20 - REF(ma20,1)) > 0)) AND (CLOSE > OPEN)) AND ((ma120 -REF(ma120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= ma120)),15),LOW,'★120跳马');

更多通达信指标公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。