大智慧庄见光指标公式

大智慧庄见光指标公式:
M:=60;

N:=30;

散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),ColorFFFF00,LINETHICK3;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

庄家线:EMA(j,3),colorff00ff,LINETHICK3;{3=6};

LC:=REF(CLOSE,1);

rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

sgd:=crOSS(FF,MA15);

DRAWTEXT(sgd ,35 ,'上拐点' ),Color0000FF;

上拐点: IF(sgd ,30 ,15),COLORWHITE;

xgd:=cross(ma15,FF);

DRAWTEXT(xgd ,65 ,'下拐点' ),Color00FF00;

下拐点: IF(xgd ,70 ,85),Color00FF00;

DRAWTEXT(CROSS(85,RSI),50,''),colorFFFFFF;{(HIGH * 1.02)=50}

{''为回调点}

Var1:=IF(YEAR>=2038 AND MONTH>=1,0,1);

Var2:=REF(LOW,1)*Var1;

Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100*Var1;

Var4:=EMA(IF(CLOSE*1.3,Var3*10,Var3/10),3)*Var1;

Var5:=LLV(LOW,30)*Var1;

Var6:=HHV(Var4,30)*Var1;

Var7:=IF(MA(CLOSE,58),1,0)*Var1;

Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7*Var1;

吸筹:IF(Var8>100,100,Var8)*Var1,color00ffff;

庄家吸筹:stICKLINE(吸筹>-150,0,吸筹,6,1),color00ffff;