以下是通达信最给力的分时主图公式 乾坤绝密线(无源码的请下载附件导入)
绝密线:EXPMA(C,17),COLORRED,LINETHICK2;
乾坤线:EXPMA(EXPMA(CLOSE,50),1),LINETHICK2,COLORBLUE;
IF(乾坤线>=REF(乾坤线,1),乾坤线,DRAWNULL),COLORYELLOW,LINETHICK2;
买入:DRAWICON(CROSS(绝密线,乾坤线),乾坤线,34);
卖出:DRAWICON(CROSS(乾坤线,绝密线),乾坤线,35);
DRAWTEXT_FIX(1,0,0.95,0,STRCAT('净流入: ',CON2STR(ZJBY.净流入#DAY,2))),COLORWHITE;
DRAWTEXT_FIX(1,0.15,0.95,0,STRCAT('超大单(万): ',CON2STR(ZJBY.超大单#DAY,2))),COLORGREEN;
DRAWTEXT_FIX(1,0.35,0.95,0,STRCAT('大单(万): ',CON2STR(ZJBY.大单#DAY,2))),COLORMAGENTA;
DRAWTEXT_FIX(1,0.5,0.95,0,STRCAT('中单(万): ',CON2STR(ZJBY.中单#DAY,2))),COLORGREEN;
DRAWTEXT_FIX(1,0.65,0.95,0,STRCAT('小单(万): ',CON2STR(ZJBY.小单#DAY,2))),COLORLIGRAY;
850322279.jpg
|