通达信蒂法要点主图源码

[复制链接]
查看66 | 回复0 | 2021-8-20 10:36:09 | 显示全部楼层 |阅读模式

以下是通达信蒂法要点主图源码(无源码的请下载附件导入)

D3X3:REF(EMA(C,3),3),DOTLINE,COLORLIGRAY;
高1:=IF(CURRBARSCOUNT<=120,REFDATE(HHV(H,120),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低1:IF(CURRBARSCOUNT<=120,REFDATE(LLV(L,120),DATE),DRAWNULL)COLORFF00FF;
分割点11:IF(CURRBARSCOUNT<=120,高1-(高1-低1)*0.382,DRAWNULL)COLORFF00FF,DOTLINE;
分割点21:IF(CURRBARSCOUNT<=120,高1-(高1-低1)*0.618,DRAWNULL)COLORFF00FF,DOTLINE;
高:=IF(CURRBARSCOUNT<=20,REFDATE(HHV(H,20),DATE),DRAWNULL),COLORWHITE,DOTLINE;
低:IF(CURRBARSCOUNT<=20,REFDATE(LLV(L,20),DATE),DRAWNULL),COLORWHITE;
分割点1:IF(CURRBARSCOUNT<=20,高-(高-低)*0.382,DRAWNULL),COLORWHITE,DOTLINE;
分割点2:IF(CURRBARSCOUNT<=20,高-(高-低)*0.618,DRAWNULL),COLORWHITE,DOTLINE;
 P1:=IF(BARSLAST(CURRBARSCOUNT=2),1,0);
 DRAWTEXT(P1,分割点1,' 0.382'),COLORYELLOW;
 DRAWTEXT(P1,分割点2,' 0.618'),COLORYELLOW;
 DRAWTEXT(P1,低,' XO'),COLORYELLOW;

845222133.jpg

845222133.jpg

回复

使用道具 举报

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

本版积分规则