通达信主力进场诱多指标公式

自用组合副图公式之金蛇狂舞(通达信)

VAR1:=REF((L+O+C+H)/4,1);

VAR2:=SMA(Abs(REF((L+O+C+H)/4,1)-H),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-H,0),10,1);

VAR3:=EMA(VAR2,10);

VAR4:=HHV(H,33);

VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*(-0.1);

主力退场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK2,COLORWHITE;

主力诱多:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK2,COLORGREEN;

{主力洗进}

VAR22:=SMA(ABS(REF((L+O+C+H)/4,1)-L),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-L,0),10,1);

VAR33:=EMA(VAR22,10);

VAR44:=LLV(L,33);

VAR55:=EMA(IF(L<=VAR44,VAR33,0),3)*100;

主力进场:IF(VAR55>REF(VAR55,1),VAR55,0),LINETHICK2,COLORYELLOW;

主力洗盘:IF(VAR55<REF(VAR55,1),VAR55,0),LINETHICK2,COLORRED;

指导线主图指标(通达信)