股道錢圖途指標公式代碼:
?
?
?
突破:REF(EMA(CLOSE,5),1)COLORMAGENTA,LINETHICK2;
A1X:=(EMA(CLOSE,5)-突破)/突破*100,NODRAW;
出擊:IF(A1X>=0,REF(EMA(CLOSE,5),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORYELLOW,LINETHICK2;
休假:IF(A1X<0,REF(EMA(CLOSE,5),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORBLUE,LINETHICK5;
STICKLINE(A1X>=0,出擊,突破,0.5,-1)COLORRED;
STICKLINE(A1X<0,休假,突破,0,-1)COLORGREEN;{http://www.kzuj.com.cn}
※:IF(A1X<0,突破,DRAWNULL)COLORGREEN,LINETHICK2;
飛狐主圖,但效果不如通達信:
突破:REF(EMA(CLOSE,5),1)COLORMAGENTA,LINETHICK2;
A1X:=(EMA(CLOSE,5)-突破)/突破*100;
出擊:PARTLINE(A1X>=0,REF(EMA(CLOSE,5),BARSLAST(CROSS(A1X,0))+1)),COLORYELLOW,LINETHICK2;
休假:PARTLINE(A1X<0,REF(EMA(CLOSE,5),BARSLAST(CROSS(0,A1X))+1)),COLORBLUE,LINETHICK3;
STICKLINE(A1X>=0,REF(EMA(CLOSE,5),BARSLAST(CROSS(A1X,0))+1),突破,0.5,-1),COLORRED;
STICKLINE(A1X<0,REF(EMA(CLOSE,5),BARSLAST(CROSS(0,A1X))+1),突破,0,-1),COLORGREEN;{http://www.kzuj.com.cn}
PARTLINE(A1X<0,突破),COLORGREEN,LINETHICK2;
?
{程序化交易 www.kzuj.com.cn }
?
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】
?