以下是通达信超级量能柱ZC副图公式 源码
超级量能柱ZC副图公式 源码
参数1: LIMIT, 最小: 0, 最大: 1000, 缺省: 35
参数2: M1, 最小: 0, 最大: 1000, 缺省: 5
参数3: M2, 最小: 0, 最大: 1000, 缺省: 10
参数4: M3, 最小: 0, 最大: 1000, 缺省: 120
VOLUME:VOL,VOLSTICK;
X_1:=MA(VOL,LIMIT);
MA1:MA(VOL,M1);
MA2:MA(VOL,M2);
MA3:MA(VOL,M3);
X_2:=MA(VOL,5);
X_3:=MA(CLOSE,5);
脉冲量:VOL>X_1 AND CLOSE>OPEN;
量能簇:EVERY(VOL>X_1 AND CLOSE>OPEN,3);
X_4:=IF(OPEN>CLOSE,OPEN,CLOSE);
黑心柱:VOL>2*X_1 AND (CLOSE<OPEN OR (HIGH-X_4>0.5*(HIGH-LOW) AND (HIGH-LOW)/REF(CLOSE,1)>0.05));
洗盘柱:X_3<REF(X_3,1) AND VOL>REF(VOL,1) AND VOL>X_2 AND ABS(CLOSE/REF(CLOSE,1)-1)>0.03 AND CLOSE<OPEN;
STICKLINE(量能簇,HHV(VOL,3),0,2.5,0),COLORRED;
STICKLINE(量能簇,REF(VOL,1),0,2,0),COLORRED;
STICKLINE(量能簇,REF(VOL,2),0,2,0),COLORRED;
STICKLINE(脉冲量,VOL,0,2,0),COLORYELLOW;
STICKLINE(黑心柱,VOL*0.9,0,2,0),COLORBLACK;
STICKLINE(洗盘柱,VOL*0.8,0,2,0),COLORMAGENTA;
评论(0)