通达信L3能量指标公式

通达信小猛超强指标公式

通达信L3能量指标公式:

A1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));

主动买盘:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED NODRAW;

主动卖盘:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2)),COLORGREEN NODRAW;

L3:SUM((主动买盘-主动卖盘),0)/10000 LINETHICK;

DRAWBAND(MA(L3,5),RGB(155,50,50),MA(L3,10),RGB(83,123,68));

stICKLINE(L3>=REF(L3,1),REF(L3,1),L3,2.6,0),COLOR000088;

STICKLINE(L3>=REF(L3,1),REF(L3,1),L3,1.2,0),COLOR0000AA;

STICKLINE(L3>=REF(L3,1),REF(L3,1),L3,0.7,0),COLOR0000CC;

STICKLINE(L3>=REF(L3,1),REF(L3,1),L3,0.1,0),COLOR0000FF;

STICKLINE(L3<REF(L3,1),REF(L3,1),L3,2.6,0),COLOR888800;

STICKLINE(L3<REF(L3,1),REF(L3,1),L3,1.2,0),COLORAAAA00;

STICKLINE(L3<REF(L3,1),REF(L3,1),L3,0.7,0),COLORCCCC00;

STICKLINE(L3<REF(L3,1),REF(L3,1),L3,0.1,0),COLORFFFF00;

双倍量:=L3>MA(L3,5)*2 OR L3>MA(L3,10)*2 AND L3>0 AND CLOSE>OPEN;

STICKLINE(双倍量,REF(L3,1),L3,1,0),COLORYELLOW;

MA5:MA(L3,5),COLORWHITE;

MA10:MA(L3,10),COLORYELLOW;

MA20:=MA(L3,20),COLORGREEN LINETHICK2;

DRAWTEXT_FIX(C>0,0.004,0.11,0,DYBLOCK),COLORYELLOW,LINETHICK2;

DRAWTEXT_FIX(C>0,0.06,0.11,0,HYBLOCK),COLORRED,LINETHICK2;

DRAWTEXT_FIX(C>0,0.12,0.11,0,EXTERNSTR(0,1)),COLORWHITE,LINETHICK2;

前30高:HHV(L3,30);

NN:EMA(EMA(L3,20),20),COLORGREEN,LINETHICK2;

通达信祥龙赚钱指标公式