以下是通达信蒂法要点主图源码

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;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。