通达信黄金分割操盘王主图指标公式,通达信紫风狂想曲主图指标公式
admin888
|通达信黄金分割操盘王主图指标公式,通达信紫风狂想曲主图指标公式
通达信黄金分割操盘王主图指标公式
N:=10;M:=150;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
stICKLINE(买线>=卖线,REFDATE(HHV(H,M),DATE),REFDATE(LLV(L,M),DATE),5,0),
COLOR600020;
STICKLINE(买线<卖线,REFDATE(HHV(H,M),DATE),REFDATE(LLV(L,M),DATE),5,0),
COLOR404050; DRAWKLINE(H,O,L,C);
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M20:MA(CLOSE,20);
M30:MA(CLOSE,30);
M60:MA(CLOSE,60);
M120:MA(CLOSE,120);
M250:MA(CLOSE,250);
{黄金分割线}
顶1:=REFDATE(HHV(H,M),DATE);
底1:=REFDATE(LLV(L,M),DATE);
H1:=顶1-(顶1-底1)*0.191;
H2:=顶1-(顶1-底1)*0.382;
H3:=顶1-(顶1-底1)*0.5;
H4:=顶1-(顶1-底1)*0.618;
H5:=顶1-(顶1-底1)*0.809;
顶部:REFDATE(顶1,DATE),COLOR666666;
%19.8:REFDATE(H1,DATE),COLOR666666;
%38.2:REFDATE(H2,DATE),COLOR666666;
%50:REFDATE(H3,DATE),COLOR666666;
%61.8:REFDATE(H4,DATE),COLOR666666;
%80.9:REFDATE(H5,DATE),COLOR666666;
底部:REFDATE(底1,DATE),COLOR666666;
DRAWTEXT(ISLASTBAR,顶部,' 顶部'),COLORGREEN;
DRAWTEXT(ISLASTBAR,%19.8,' 19.8%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,%38.2,' 38.2%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%50,' 50%'),COLORWHITE;
DRAWTEXT(ISLASTBAR,%61.8,' 61.8%'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,%80.9,' 80.9%'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,底部,' 底部'),COLORRED;
{箱体}
{箱顶:PEAK(CLOSE,N,1)*0.98,POINTDOT,LINETHICK3,COLORYELLOW;
箱底:TROUGH(CLOSE,N,1)*1.02,POINTDOT,LINETHICK3,COLORFFFF00;
箱高:100*(箱顶-箱底)/箱底,NODRAW;}
{买卖标志}
DRAWICON(crOSS(买线,卖线),LOW*0.99,1);
DRAWICON(CROSS(卖线,买线),HIGH*1.01,2);
{bs标志}
DRAWICON((zig(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))
AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,7);
DRAWICON((ZIG(3,5)=REF(ZIG(3,5),2))
AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);
通达信紫风狂想曲主图指标公式
紫风:=MA(C,1);
紫风1:MA(C,5),COLORRED;
紫风2:MA(MA(C,5),2),COLOR9CCCCC;
紫风3:MA(MA(MA(C,5),2),2),COLOR9CCCCC;
紫风4:MA(MA(MA(MA(C,5),2),2),2),COLOR9CCCCC;
紫风5:MA(MA(MA(MA(MA(C,5),2),2),2),2),COLOR9CCCCC;
紫风10:MA(C,20),COLORFF5505;
紫风20:MA(C,60),COLOR0555FF;
紫风21:MA(MA(C,60),2),COLOR555555;
紫风22:MA(MA(MA(C,60),2),2),COLOR555555;
交易:=紫风1;
拉升:HHV(交易,13),COLOR2FFFFF;
压力:HHV(交易,60),COLOR009000;
支撑:LLV(交易,13),COLOR009000;
stICKLINE(拉升>交易 AND 紫风>紫风1,拉升,紫风1,0,0),COLORYELLOW;
STICKLINE(拉升>交易 AND 紫风<紫风1,拉升,紫风1,0,0),COLOR00C000;
底:=LLV(LOW,60)*1.02;
顶:=HHV(HIGH,60)*0.98;
STICKLINE(底,底,底,5,0),COLOR555555;
STICKLINE(顶,顶,顶,5,0),COLOR555555;
DEA:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),COLOR00F000,LINETHICK2;
MID:=MA(CLOSE,20),COLOR999999,POINTDOT,LINETHICK1;
UPPER:MID +2*STD(CLOSE,20),COLOR999999;
LOWER:MID - 2*STD(CLOSE,20),COLOR999999;
STICKLINE((CLOSE >=OPEN),HIGH,LOW,0,1 ),COLOR5555FF;
STICKLINE((CLOSE >=OPEN),CLOSE,OPEN,3,1 ),COLOR5555FF;
STICKLINE((CLOSE
STICKLINE((CLOSE
STICKLINE(crOSS(紫风1,紫风),CLOSE,OPEN,0.5,0 ),COLOR008000;
STICKLINE(CROSS(紫风,紫风1),CLOSE,OPEN,0.5,0 ),COLOR2FFFFF;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。