波浪三段主图(通达信公式 主图 源码 测试图)

[复制链接]
查看130 | 回复0 | 2022-6-27 15:12:33 | 显示全部楼层 |阅读模式

 波浪三段主图

 
 
{跳空}
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}
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;
 

2022483432639015.png

2022483432639015.png

2022483431575829.rar

2.93 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

2022483431575829.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则