VAR0:=(2*CLOSE+HIGH+LOW)/4;
VAR1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
B0:=EMA((VAR0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
AA:SMA(SMA(VAR2,2,1)+3,2,1),COLORRED,LINETHICK1;
浮筹:=EMA(B0,4),LINETHICK1,DOTLINE,COLORYELLOW;
BB:SMA(VAR1,3,1),COLORGREEN,LINETHICK1;
{背景}{}
STICKLINE(AA>BB,6,90,5,0),COLOR00002B;
STICKLINE(BB>AA,6,90,5,0),COLOR131300;
多方:SMA(SMA(VAR2,2,1)+3,2,1),COLOR0000FF,LINETHICK2;
空方:SMA(VAR1,3,1),COLORFFFF00,LINETHICK1,DOTLINE;
强势线:90,COLORMAGENTA,DOTLINE;
中轴线: 50,COLOR0080FF,DOTLINE;
弱势线:10,COLORLICYAN,DOTLINE;
STICKLINE(多方>强势线,多方,强势线,1,0),COLOR0000FF;
STICKLINE(多方<弱势线,多方,弱势线,1,0),COLOR0000FF;
STICKLINE(空方<弱势线,空方,弱势线,1,0),COLORGREEN;
STICKLINE(空方>强势线,空方,强势线,1,0),COLORGREEN;
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
见底:=10;
见顶:=90;
短期底部:=CROSS(趋势,见底),COLORRED;
STICKLINE(短期底部,4,40,1,0),COLORRED;
DRAWTEXT(CROSS(趋势,见底),40,'底');
短期顶部:=CROSS(见顶,趋势),COLORGREEN;
STICKLINE(短期顶部,4,40,1,0),COLORGREEN;
DRAWTEXT(CROSS(见顶,趋势),40,'顶'),COLORYELLOW;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
提纯:=(((CLOSE -过滤) / 过滤) * 100);
黄金:=((提纯 < (0)) AND ZXNH),COLORRED,NODRAW;
低进:IF(黄金 AND RSVV<VARB2-2,28,0),STICK,COLOR00FFFF;
DRAWICON(低进>0,低进,34);
STICKLINE(低进,0,2,0,9),COLOR00FFFF;
小股民:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);
庄家:= EMA(0.667*REF(小股民,1)+0.333*小股民,2);
高出:100*(CROSS(庄家,小股民) AND 小股民>50),COLORFFFF00,STICK,LINETHICK1;
DRAWICON(高出>0,高出,35 );
STICKLINE(高出,0,2,0,1),COLOR0000FF,NODRAW;