Y:=(H+O+L+3*C)/6;
X:EMA(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*VOL,0),13)/SUM(IF(Y<REF(Y,1),Y*VOL,0),13))),5),COLOR00FFFF,LINETHICK2;
{ 爱约股_最新股票指标公式}
A1:30,COLORWHITE,LINETHICK2;
A2:50,COLORRED,CIRCLEDOT;
A3:60,COLORFF0080,LINETHICK2;
A4:70,POINTDOT,LINETHICK2;
A5:80,COLORRED,LINETHICK2;
AA:=30>X,LINETHICK0;
BB:=X>80,LINETHICK0;
STICKLINE(AA,A1,A1*0.9,3,0),COLORRED;
DRAWTEXT(AA,A1*0.9,'吸'),COLOR0066FF;
DRAWTEXT(AA,A1*0.84,'货'),COLOR0066FF;
STICKLINE(BB,A5,A5*1.03,3,0),COLORGREEN;
DRAWTEXT(BB,A5*1,'派'),COLORFFFF00;
DRAWTEXT(BB,A5*0.96,'发'),COLORFFFF00;