这是一个老指标了,拼凑了一下,下不下随你了
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,COLORMAGENTA;
散户:=VAR4,COLORRED;
VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:=EMA(VAR5,3)LINETHICK3,COLORWHITE;
STICKLINE(C,90,90,1,0),COLOR3C3CFF;
STICKLINE(C,50,50,1,0),COLORYELLOW;
STICKLINE(C,10,10,1,0),COLORCYAN;
买:=IF("KDJ.J"(27,3,3)<0,10,0);
VAR11:=(2*CLOSE+HIGH+LOW)/4;
VAR21:=LLV(LOW,5);
VAR31:=HHV(HIGH,5);
VAR41:=EMA((VAR11-VAR21)/(VAR31-VAR21)*100,5);
MA1:=MA(VAR41,2);
BBB:=STICKLINE(VAR41>MA1 AND REF(VAR41,1)<30,VAR41,MA1,3,1),COLORRED;
波段线:=5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA
((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA
((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK2,COLORGREEN;
M1:=EMA(MA(波段线,5),3);
STICKLINE(波段线>108 AND 波段线>=M1,波段线,108,2,0),COLORF0F000;
STICKLINE(波段线<0 AND 波段线
风险线:=108,COLORFF9D00;}
底部买:=LLV(波段线,2)=LLV(波段线,8);
进:IF(CROSS(波段线,REF(波段线+0.01,1)) AND 底部买 AND 波段线<0,30,5);
DRAWTEXT(FILTER(BBB,5) AND 波段线<0 AND 波段线