博易大师-经典MACD指标则是当前运用较为广泛的技术指标看透高手
36
2024 / 11 / 03
2023-06-06 20:57:08 通达信指标网
(骑牛登顶-主图源码)
VAT4:=(LOW+HIGH+CLOSE)/3;
操作: MA(VAT4,5);
拉升: HHV(操作,13);
压力: HHV(操作,60);
买卖: LLV(操作,13);
底部支撑: LLV(LOW,60)*1.02,COLORBLUE,LINETHICK2;
顶部: HHV(HIGH,60)*0.98,COLORCYAN;
{涨跌停显示}
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,O,C,1,0),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF<-9.9,O,C,1,0),COLORBLUE;
{紫阳}
M:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND M<0,1,0);
P1:=今小昨;
今小前:=IF(C<REF(O,2) AND M<0,1,0);
P2:=今小前;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,3,0),COLORMAGENTA;
E1:=BARSCOUNT(C);
AH:=HHV(H,200);
AL:=LLV(L,200);
B0:=(AH-AL)/40;
KB1:=H+B0;
KB2:=L-B0;
STICKLINE((E1+0)/34=FLOOR((E1+0)/34),KB2,KB2-3*B0,1,0),COLORYELLOW,LINETHICK3;
DRAWTEXT((E1+0)/34=FLOOR((E1+0)/34),KB2-2*B0,'窗'),COLORWHITE;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;
阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;
2(之字转向附图参考)
N:1 30 10
【箱顶】:PEAK(CLOSE,N,1)*0.98;
【箱底】:TROUGH(CLOSE,N,1)*1.02;
【箱高】:100*(【箱顶】-【箱底】)/【箱底】,NODRAW;
月量价:SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000, COLORWHITE;
周均量:EMA(月量价,5),COLORYELLOW;
顶:HHV(月量价,20),COLORRED;
底:LLV(月量价 ,20),COLORGREEN ;
高: 100*(顶-底)/底,NODRAW;
原文链接:https://www.tdxzb.com/?id=1358
本文版权:如无特别标注,本站文章均为原创。