看主力指标 同花顺公式

拾荒网 同花顺公式 109

VAR1:=LLV(LOW,13);

VAR2:=HHV(HIGH,13);

VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);

VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);

DRAWBAND(VAR3,RGB(155,50,50),50,RGB(0,100,50));

主力:VAR3,colorred;

散户:VAR4,colorgreen;

VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;

操作:=EMA(VAR5,3),coloryellow;

STICKLINE(C,90,90,1,0),COLOR3C3CFF;

STICKLINE(C,50,50,1,0),coloryellow;

STICKLINE(C,10,10,1,0),colorcyan;

N1:=7;

界:=38,COLORFF3311;

加仓线:=51,COLORFF1155;

LC:=REF(CLOSE,1);

X:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORFFFFFF;

魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;

TJ1:=X=魔鬼;

TJ2:=X<REF(X,1);

DRAWICON(TJ1 AND TJ2,X,1);

VAR2M:=(HIGH+LOW+CLOSE*2)/4;

VAR3M:=EMA(VAR2M,21);

VAR4M:=STD(VAR2M,21);

VAR5M:=((VAR2M-VAR3M)/VAR4M*100+200)/4;

VAR6:=(EMA(VAR5M,5)-25)*1.56;

AK:=EMA(VAR6,2)*1.22;

AD1:=EMA(AK,2);

注意:=CROSS(AD1,AK);

DRAWTEXT(注意,散户,'变');