通达信布林轨道下跌极限主图指标公式,通达信趋势小牛主图指标公式
admin888
|通达信布林轨道下跌极限主图指标公式,通达信趋势小牛主图指标公式
通达信布林轨道下跌极限主图指标公式
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
boll:=ma(CLOSE,20),COLORLIGRAY,LINETHICK1;
上一轨:=BOLL+2stD(CLOSE,20),COLORRED,LINETHICK1;
上二轨:=BOLL+STD(CLOSE,20),COLORMAGENTA;
下二轨:=BOLL-STD(CLOSE,20),COLORCYAN;
下一轨:=BOLL-2*STD(CLOSE,20),COLORGREEN,LINETHICK1;
MID:MA(CLOSE,5),COLORGRAY;
UPPER:MID*(100+10)/100,COLORLICYAN;
LOWER:MID*(100-10)/100,,COLORA68064,LINETHICK1;
LOWER下:LOWER*(100-2)/100,COLORGREEN{,DOTLINE};
LOWER上:UPPER*(100+2)/100,COLORLIMAGENTA,DOTLINE;
XG:=crOSS(LOWER下,C);
XG2:=L<=LOWER+0.01;
下极限:=L<=LOWER下;
{DRAWTEXT(下极限,L*0.98,'下极限'),COLOR00FF00;}
DRAWICON(下极限,LOW*0.98,1);
M5:(L+REF(C,1)+REF(C,2)+REF(C,3)+REF(C,4))/5,COLORLIGRAY,DOTLINE;
SGD:=M5*(100+10)/100,COLORLICYAN;
XGD:M5*(100-10)/100,,COLORA68064,,DOTLINE;
XGD下:XGD*(100-2)/100,COLORLIGRAY,DOTLINE;
SGD上:=SGD*(100+2)/100,COLORLIGRAY,DOTLINE;
极限:=L<=XGD下*1.001;
STICKLINE(极限,XGD下,XGD下,4,1),COLORYELLOW;
角度:ATAN((MID/REF(MID,1)-1)*100)*180/3.1416,COLOR008888,NODRAW;
五日平均角度:SUM(角度,5)/5,COLOR008888,NODRAW;
平均角度:=SUM(角度,5)/5;
平均角度1:=SUM(角度,1)/1;
平均角度2:=SUM(角度,2)/2;
平均角度3:=SUM(角度,3)/3;
平均角度4:=SUM(角度,4)/4;
IF(角度>=45,MID,DRAWNULL),COLORRED,LINETHICK1;
IF(角度<=-45,MID,DRAWNULL),COLORBLUE,LINETHICK1;
{IF(角度>=50,UPPER,DRAWNULL),COLORRED,LINETHICK1;
IF(角度>=28,LOWER,DRAWNULL),COLORRED,LINETHICK3;}
IF(平均角度>=45,LOWER,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(平均角度1>=45,LOWER,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(平均角度2>=45,LOWER,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(平均角度3>=45,LOWER,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(平均角度4>=45,LOWER,DRAWNULL),COLORYELLOW,LINETHICK1;
IF(平均角度<=-45,LOWER,DRAWNULL),COLORBLUE,LINETHICK1;
IF(平均角度1<=-45,LOWER,DRAWNULL),COLORBLUE,LINETHICK1;
IF(平均角度2<=-45,LOWER,DRAWNULL),COLORBLUE,LINETHICK1;
IF(平均角度3<=-45,LOWER,DRAWNULL),COLORBLUE,LINETHICK1;
IF(平均角度4<=-45,LOWER,DRAWNULL),COLORBLUE,LINETHICK1;
通达信趋势小牛主图指标公式
A:=(3*C+L+O+H)/6;
X:=(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;
S2:=SMA(C,3,1);
S6:=Sma(C,5,1);
DK:=2*(S2-S6);
主力成本:(X,13),COLORFF00FF,LINETHICK0;
IF(MA(C,3),MA(C,3),DRAWNULL),COLORYELLOW,LINETHICK1;
IF(MA(C,9),MA(C,9),DRAWNULL),COLORMAGENTA,LINETHICK1;
IF(MA(C,23.5),MA(C,23.5),DRAWNULL),COLORWHITE;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
MA5:=MA(C,5);
MA10:=MA(C,10);
MA30:=MA(C,30);
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=crOSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'★建仓'),COLORGREEN;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏 '),COLORGREEN;
DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLORGREEN;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(Abs(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(82,VAR7),H*1.01,'逃顶'),COLORYELLOW;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。