通达信多空量线指标公式

成交额:VOL/10000*C/100,LINETHICK0,COLORBLACK;
LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON:(DIFF-DEA);
LONMA:MA(LON,10),COLORYELLOW;
LONT:LON, COLORSTICK;
STICKLINE(LON>=LONMA AND LON>=0,0,LON,2,0),COLORRED;
STICKLINE(LON<LONMA AND LON>=0,0,LON,2,0),COLORYELLOW;
STICKLINE(LON<LONMA AND LON<0,0,LON,2,0),COLORFFFF00;
STICKLINE(LON>=LONMA AND LON<0,0,LON,2,0),COLORGREEN;
V6R:=CLOSE/REF(CLOSE,3)>=1.06;
V7R:=BACKSET(V6R,3);

(0)

相关推荐