通达信波浪三段主图指标 源码 贴图
2022-04-12 08:44:00来源:本站整理浏览:1138
通达信波浪三段主图指标 源码 贴图
{跳空}
STICKLINE(REF(L,1)>H,H,REF(L,1),5,0),COLORGRAY;
STICKLINE(REF(H,1)<L,L,REF(H,1),5,0),COLORGRAY;
X_1:=STRCAT(HYBLOCK,1);
X_2:=STRCAT(X_1,FGBLOCK);
X_3:=STRCAT(X_2,DYBLOCK);
X_4:=STRCAT(X_3,1);
DRAWTEXT_FIX(ISLASTBAR,0.03,0,0,STRCAT(X_4,GNBLOCK)),COLORWHITE;
BM:=EMA(C,2);
SM:=EMA(SLOPE(C,21)*20+C,42);
密码:EMA(SLOPE(C,21)*20+C,42),DOTLINE,COLORYELLOW;
密码1:=EMA(C,2),LINETHICK2,COLORWHITE;
BU:=CROSS(BM,SM);
SEL:=CROSS(SM,BM);
DRAWICON(BU,L-0.02,1);
CPX:=MA(CLOSE,9),COLORCYAN;
JDX:=MA(CLOSE,20),COLORMAGENTA;
DRAWKLINE(H,O,L,C);
STICKLINE(BM>=SM,LOW,HIGH,0,1),COLORRED;
STICKLINE(BM>=SM,CLOSE,OPEN,2,1),COLORRED;
STICKLINE(BM<SM,LOW,HIGH,0,1),COLORFFFF00;
STICKLINE(BM<SM,CLOSE,OPEN,2,1),COLORFFFF00;
高:=REF(HHV(H,80),1);
低:=REF(LLV(L,80),1);
H1:=高-(高-低)/3;
H2:=高-(高-低)*2/3;
H3:=H2-(高-低)/6;
顶点:REFDATE(高,DATE),COLORWHITE;
第1支撑点:REFDATE(H1,DATE),COLORYELLOW;
第2支撑点:REFDATE(H2,DATE),COLORMAGENTA;
极限点:REFDATE(H3,DATE),COLORMAGENTA;
低点:REFDATE(低,DATE),COLORWHITE;
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;
DRAWTEXT(ISLASTBAR,第1支撑点,'第1支撑点'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,第2支撑点,'第2支撑点'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,极限点,'极限点'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;
【箱顶】:PEAK(HIGH,10,1)*0.8*(1+8/100),LINETHICK3,COLOR6600FF;
【箱底】:PEAK(HIGH,10,1)*0.8*(1-8/100),COLORGREEN,LINETHICK3;
【箱高】:100*(【箱顶】-(【箱顶】-【箱底】)*0.5),NODRAW;
{BIAS}{WWW.GPXIAZAI.COM}
LC:=REF(CLOSE,1);
DRAWTEXT(CROSS((CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,MA((CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,12)),LOW,'-----买入'),COLORYELLOW;
DRAWTEXT(CROSS(MA((CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100,12),(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100),HIGH,'-----逃顶'),COLORYELLOW;
- 上一篇公式:通达信波段多空线主图指标 源码 贴图
- 下一篇公式:通达信机构进场主图指标 源码 贴图