同花顺三合一副图指标
源码
(参数 N1-13,N2-33,N3-55)
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;
散户线:=100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORFFFF00,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
庄筹线:=EMA(J,6),COLORFF00FF,LINETHICK2;
机构介入:MA((庄筹线-散户线)/2,N1),colorblue,LINETHICK2;
GG:=100*(1-WINNER(C)) 99.8 AND V/CAPITAL*100
大底:=C REF(C,1) AND REF(GG,1) 0 AND VAR3,colorred;
量能饱和:MA(IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100)/2,N1),colorwhite;
长线:MA((MA(CLOSE,N3)-CLOSE)/MA(CLOSE,N3)*100,5),LINETHICK2,colorlired;
中线:MA((MA(CLOSE,N2)-CLOSE)/MA(CLOSE,N2)*100,5),LINETHICK2,colormagenta;
短线:MA((MA(CLOSE,N1)-CLOSE)/MA(CLOSE,N1)*100,5),LINETHICK2,colorred;
平衡线:0,colorwhite,LINETHICK2;
STICKLINE((长线 0),0,长线,0,-1),colorlired;
STICKLINE((长线 0),0,长线,0,-1),colorcyan;
STICKLINE((中线 0),0,中线,0,-1),colormagenta;
STICKLINE((中线 0),0,中线,0,-1),colorligreen;
STICKLINE((短线 0),0,短线,0,-1),colorred;
STICKLINE((短线 0),0,短线,0,-1),colorgreen;
STICKLINE(C REF(C,1) AND REF(GG,1) 0 AND VAR3,0,短线,6,0),colorred;
DRAWTEXT(C REF(C,1) AND REF(GG,1) 0,短线,'★大底'),coloryellow;