通达信行业指数指标公式
通达信行业指数指标公式
【股票资源馆】炒股教程、黑马股票、股票资讯、期货外汇,大智慧沪深10档破解,高成功率股票指标,策略投资破解,财经股票论坛,东方财富破解版,东方财富专业破解版。
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,
COLORLICYAN,LINETHICK1;
YC:=FORCAST((C+L+H)/3,5);
上1:=BBI+3*STD(BBI,10),COLORLIBLUE,LINETHICK1,POINTDOT;
下1:=BBI-3*STD(BBI,10),COLORLIBLUE,LINETHICK1,POINTDOT;{COLORAACC66}
{DRAWBAND(上1,RGB(780,100,120),下1,RGB(00,00,00));DRAWKLINE(H,O,L,C);}
中:=BBI,COLORLIGRAY,LINETHICK1;
惹1:=MA(C,13),COLORFFCC66,LINETHICK1;
AAA:=(3*C+H+L+O)/6;
VAR155:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
VAR255:=(HHV(VAR155,5)+HHV(VAR155,10)+HHV(VAR155,20))/3;
VAR355:=(LLV(VAR155,5)+LLV(VAR155,10)+LLV(VAR155,20))/3;
VAR455:=(HHV(VAR255,5)+HHV(VAR255,10)+HHV(VAR255,20))/3;
VAR555:=(LLV(VAR355,5)+LLV(VAR355,10)+LLV(VAR355,20))/3;
VAR655:=(LLV(VAR155,2)+LLV(VAR155,4)+LLV(VAR155,6))/3;
短线:=VAR155,COLORWHITE;
MA110:=MA(CLOSE,10),COLORYELLOW;
绿降:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
VAR1:=VOL*(O+C)/2;
生命线:=SUM(VAR1,7)/SUM(VOL,7),COLORFF00FF,LINETHICK1;
MW:=17;FL:=MA(CLOSE,MW)+ABS(MA(CLOSE,MW)-REF(MA(CLOSE,MW),1)),COLORRED;
FS:=MA(CLOSE,MW)+MA(CLOSE,MW)-REF(MA(CLOSE,MW),1),COLORGREEN,LINETHICK2;
分水岭:=IF(MA(CLOSE,MW)<FS,FS,MA(CLOSE,MW)),COLORLIBLUE,LINETHICK1,;
界:分水岭-(EMA(C,5)-分水岭),COLOR0099FF,LINETHICK1;
DRAWBAND(界,RGB(800,130,100),MA(C,20)-2*STD(CLOSE,20),RGB(255,155,650));
{DRAWBAND(界,RGB(540,110,360),MA(C,20)-2*STD(CLOSE,20),RGB(450,830,120));}DRAWKLINE(H,O,L,C);
筹码密集:=HHV(MA(H,13),13),COLORRED,LINETHICK1;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR11A:=(REF(CLOSE,1)-REF(ATR,1));
多:=(HHV(VAR11A,12)),LINETHICK1,COLOR0080FF;{COLOR0080FF}
N:=20;
MB:=MA(C,N);
R:=C-MB;
X1:=MA(R*R,N);
X:=SQRT(X1);
M5:=EMA(C,14),COLORWHITE,LINETHICK1;
M10:=MA(C,10),COLORLICYAN,LINETHICK1;
M20:MA(C,20)COLOR9DDEE2,LINETHICK1;{COLOR9D7DE2}{COLOR9DDEE2}
M26:=MA(C,30),COLOR855E42,LINETHICK1;
M60:=MA(C,60),COLORLIGRAY,LINETHICK1;
M120:=MA(C,120),COLORLIGRAY,LINETHICK1;
XS:=MA(LOW,5)*(1-5/100),COLORLIRED;
XS1:=MA(HIGH,5)*(1+5/100),COLORLIRED;
VARR199:=SMA(MAX(CLOSE-REF(C,1),0),5,1)/SMA(ABS(CLOSE-REF(C,1)),5,1)*100;
{STICKLINE(CROSS(82,VARR199),MIN(C,O),MAX(C,O),2.5,0),COLORBLUE;}
STICKLINE(CROSS(XS1,C),MAX(C,O),(MAX(C,O)*1+MIN(O,C)*1)/2,2.5,0),COLORWHITE;
{RSI出击买点}
AA1:="RSI.RSI1"(3,14,24),LINETHICK1,COLOR6295D6;
BB1:=REF("RSI.RSI1"(3,14,24),1),LINETHICK1,COLORFF9800;
JJJJ:=STICKLINE((AA1-BB1)/BB1>13/10,O,C,2.5,0),COLORYELLOW;
{STICKLINE(FILTER(买=1,5),O,C,1,0),COLOR0000FF;}
{彩色K线}
F33:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F33<0,1,0);
P133:=今小昨;
今小前:=IF(C<REF(O,2) AND F33<0,1,0);
P233:=今小前;
长压:=HHV(FORCAST(C,10),17)COLORCAF0D4,POINTDOT;{COLOR0099FF}
短压:=HHV(FORCAST(C,10),8),COLORFF9933;
生命:=FORCAST(C,10),COLOR0099FF;{COLOR0099FF}{COLORA8C300}{COLORAAAA00}
买入:=IF(生命>REF(生命,1) AND COUNT(生命>REF(生命,1),2)=1,生命,DRAWNULL),COLORFF00FF,CIRCLEDOT,LINETHICK2;
加仓:=IF(短压=生命,生命,DRAWNULL),COLORYELLOW,LINETHICK2;
持股:=IF(长压=短压 AND 短压=生命,M60,DRAWNULL),COLOR5756FF,LINETHICK1;{COLOR5BD1F1}{COLOR5BD1D4}
赢在龙头:=(L+H+C*4)/6;
工作:=EMA(赢在龙头,12),COLOR00FF00;
度假:=EMA(赢在龙头,19);
赢在:=(工作-REF(工作,1))/REF(工作,1)*100;
龙头:=(度假-REF(度假,1))/REF(度假,1)*100;
G:=BARSLAST(CROSS(赢在,0));
龙:REF(赢在龙头,G)*1,,COLORMAGENTA,LINETHICK2;{COLORCAF0D4(IF(CURRBARSCOUNT<60,1,DRAWNULL))}
V1:=DMA((HIGH+LOW+CLOSE+CLOSE)/4.15,0.9);
HY1:=REF(EMA(V1,3),1);
趋:=EMA(3*YC-2*SMA(YC,2,1),15),COLORFFCC66,LINETHICK1;
{中3:=DMA(CLOSE,VOL/SUM(VOL,13));
上3:=DMA(CLOSE,VOL/SUM(VOL,13))+3*STD(BBI,10),COLORFFCC66;
下3:=DMA(CLOSE,VOL/SUM(VOL,13))-3*STD(BBI,10),COLORFFCC66;};
AA999:=STICKLINE(1,REF(C,BARSLAST(V=HHV(V,20))),
REF(C,BARSLAST(V=HHV(V,20))),1,1),COLORLIRED;
MB77:=MA(C,20);
R77:=C-MB77;
X177:=MA(R77*R77,20);
X77:=SQRT(X177);
上2:=MB77+1.96*X77,COLORGRAY,LINETHICK1,CROSSDOT;
下2:=MB77-1.96*X77,COLORGRAY,LINETHICK1,CROSSDOT;
上:=MA(C,20)+2*STD(CLOSE,20)CROSSDOT,COLORLIGRAY;{COLORA8C300}
下:=MA(C,20)-2*STD(CLOSE,20)CROSSDOT,COLORLIGRAY;
强势:=MA(C,20)+1*STD(CLOSE,20),COLORLIGRAY;
均价:=(3*C+H+L+O)/6;
VAR199:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;
趋势:=(LLV(VAR199,2)+LLV(VAR199,4)+LLV(VAR199,6))/3,LINETHICK1,COLORYELLOW;
MA6:=MA(CLOSE,6);
MA18:=MA(CLOSE,18);
空方:(3)*(MA18) - (2)*(MA6),LINETHICK1,,COLORFF9933;{COLOR3571FF}{COLORD39D91}
MA4:=(3)*(MA6) - (2)*(MA18),LINETHICK2,COLOR87B08B;
M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3),POINTDOT,COLORFFFFFF;
M2:=EMA(M1,21),COLORFF00FF;
M30:=MA(CLOSE,30),LINETHICK1,COLORFF0000;
VAR166:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
VAR266:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR166)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR166)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR166)*(5),2)))/(10));
VAR366:=IF((VAR266 > 0),VAR266 - 0,(-1));
{DRAWICON(CROSS(VAR366,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8))
,下,24),LINETHICK2,COLORYELLOW;}
VAR1HH:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2HH:=REF(VAR1HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3HH:=REF(VAR2HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4HH:=REF(VAR3HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5HH:=REF(VAR4HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6HH:=REF(VAR5HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7HH:=REF(VAR6HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8HH:=REF(VAR7HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9HH:=REF(VAR8HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARAHH:=REF(VAR9HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARBHH:=REF(VARAHH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARCHH:=REF(VARBHH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
{STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;}{红1}
VARDHH:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAREHH:=REF(VARDHH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARFHH:=REF(VAREHH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10HH:=REF(VARFHH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11HH:=REF(VAR10HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12HH:=REF(VAR11HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13HH:=REF(VAR12HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14HH:=REF(VAR13HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15HH:=REF(VAR14HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16HH:=REF(VAR15HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17HH:=REF(VAR16HH,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18HH:=REF(VAR17HH,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19HH:=REF(VARDHH OR VAREHH OR VARFHH OR VAR10HH OR VAR11HH
OR VAR12HH OR VAR13HH OR
VAR14HH OR VAR15HH OR VAR16HH OR VAR17HH OR VAR18HH,1) AND VAR1HH;
QQQQ:=IF(VAR19HH,下1,DRAWNULL),COLORLICYAN,POINTDOT,LINETHICK4;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS);
STICKLINE(CROSS(短线买点,21),(MAX(C,O)+MIN(O,C)*3)/4,(MAX(C,O)*3+MIN(O,C)*1)/4,2.5,0),COLORMAGENTA;
STICKLINE(P133=0 AND REF(P133,1)=1 AND P233=0 AND REF(P233,1)=1,(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLORYELLOW;
{DRAWICON(CROSS(短线买点,21),L*1,9),COLORYELLOW;}
{DRAWICON(CROSS(C,界),L*1,1);};
MMM:=DRAWICON(CROSS(CLOSE,HY1),L*1,1),COLORWHITE;
VAR121:=AMOUNT/VOL/7;
VAR221:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR321:=SUM(AMOUNT,10)/VAR121/7;
VAR4:=DMA(VAR221,VOL/VAR321),LINETHICK1,COLORLICYAN;
换手动态移动:=DMA(C,(VOL/CAPITAL))COLORGREEN;
YC55:=FORCAST((C+L+H)/3,5);
潜入趋势:=EMA(3*YC55-2*SMA(YC55,2,1),15),COLORYELLOW;
DD:=FORCAST(潜入趋势,40);
做多:=(3)*(潜入趋势) - (2)*(DD),LINETHICK1,COLORLIRED;
做空:=(3)*(DD) - (2)*(潜入趋势),LINETHICK1,COLORFF9933;
{AA16:=AMOUNT/VOL;
BB16:=L<AA16*0.9;
CC16:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD16:=L<MA(C,5)*0.921;
EE16:=VOL<MA(V,5)*1.5;
FF16:=BB16 AND CC16 AND DD16 AND EE16;
DRAWICON(FF16,L*1,25),COLORYELLOW;}
MTM:=C-REF(C,1);
A:=(3*C+L+O+H)/6;
VAR45:=(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;
{CB:=EMA(VAR45,13);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
卖:=HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX);
DRAWICON(FILTER(卖=1,1),H,8),COLORGREEN;
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
DRAWTEXT(FILTER(买=1,5),下*1.02,'买'),COLORRED;
加仓11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
DRAWTEXT(FILTER((CROSS(加仓11,0) OR CROSS(CLOSE,CB)) AND 买=1,3),下*1.01,'加'),COLORLIBLUE;
跟:=MA(CLOSE,18)>=REF(MA(CLOSE,18),3) AND CROSS(CLOSE,MA(CLOSE,18));
DRAWTEXT(跟,下*1,'跟'),COLORCC66FF;};
STICKLINE(空方>上,空方,上,1.22,0),COLORRED;
STICKLINE(空方<下,空方,下,1.22,0),COLORBLUE;
铁:=MA((REF(HIGH,2)+REF(LOW,2))/2,3),COLORGREEN,LINETHICK1;{,COLOR70FB93}
HM2:=LLV(MA((REF(HIGH,2)+REF(LOW,2))/2,3),3),COLORGREEN,LINETHICK1;
锅1:=MA((REF(HIGH,2)+REF(LOW,2))/2,6),COLORLIRED;
锅:=MA((2*C+H+L)/4,5),COLORLICYAN;
防:=EMA((HHV(HIGH,9)+LLV(LOW,9))/2,5);
限高:=HHV(REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1),10),COLORMAGENTA;
(股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--)股票公式网
通达信最真宝塔线主图指标公式
通达信最真宝塔线主图指标公式