通达信新五线布林主图指标公式

中轨 :MA(CLOSE,20),COLORWHITE,LINETHICK1;
上轨:中轨+1*STD(CLOSE,20),COLORWHITE,;
下轨:中轨-1*STD(CLOSE,20),COLOR00FF00,;
上上轨:中轨+2*STD(CLOSE,20),COLORYELLOW;
下下轨:中轨-2*STD(CLOSE,20),COLORFF00FF,DOTLINE;
高速:=HHV(MA(SMA(SMA(SMA(MA(C,1),2,1),2,1),2,1),1),13),COLOR00AAFF
,LINETHICK4,POINTDOT;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(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),COLORBLUE;
{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,COLORCAF0D4,LINETHICK2;{COLORCAF0D4(IF(CURRBARSCOUNT<60,1,DRAWNULL))}
V1:=DMA((HIGH+LOW+CLOSE+CLOSE)/4.15,0.9);
黄金:(HHV(VAR11A,12)),LINETHICK2,COLOR0080FF;{COLOR0080FF}
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((AA1-BB1)/BB1>13/10,O,C,2.5,3),COLORWHITE;}
{DRAWICON(FILTER(买=1,3),L*0.9988,11),COLORRED;};
STICKLINE((AA1-BB1)/BB1>13/10,
O,C,2.5,0),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;
STICKLINE(空方>上,上轨,上上轨,3.22,0),COLORRED;
STICKLINE(空方<下,下轨,下下轨,3.22,0),COLORBLUE;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
回调买:=(AV + NEWVOL);
DRAWICON(CROSS(回调买,0),下,11),COLORYELLOW;
指标王:=COUNT(CROSS((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5)),7)>0 AND REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1) AND (HHV
{指标王买错也要买:是个在当天拼命找低点进的指标,在短线上,次日均有利润出的机会。如不慎被套,均是套在V字形的左侧,后期会有V字形右侧丰厚的利润等着你去拿!}
(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1) AND COUNT(COUNT(CROSS((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5)),7)>0 AND REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1) AND (HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1),5)=1 OR
CROSS(EMA((((CLOSE - LLV(LOW,10)) / (HHV(HIGH,25) - LLV(LOW,10))) * 4),4),0.3);
DRAWICON(指标王=1,L,1);
DRAWTEXT(CURRBARSCOUNT=26,下下轨,'');




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图