VAR2:=68;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
VAR6:=3*VAR4-2*VAR5;
VAR7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
VAR8:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;
VAR9:=VAR7>REF(VAR7,20) AND VAR7>75 AND FILTER(VAR7/REF(LLV(LOW,20),10)>1.18,20);
VARA:=IF(VAR7>70 AND VAR7< 75,1,0);
DRAWTEXT(COUNT(VARA,20)>3 AND VAR7/HHV(HIGH,30)< 1,VAR7,'调整到位');
VARB:=REF(CLOSE,1);
VARC:=SMA(MAX(CLOSE-VARB,0),6,1)/SMA(ABS(CLOSE-VARB),6,1)*100;
调整:VAR7,COLORGREEN;
AA:=STICKLINE((VAR7< 68 AND BARSLAST(CROSS(VAR2,调整))>2 AND CROSS(VAR6,VAR5) AND VAR5< 30),70,50,0.5,1);
来捡钱吧:IF((VAR7< 68 AND BARSLAST(CROSS(VAR2,调整))>2 AND CROSS(VAR6,VAR5) AND VAR5< 30),70,50),POINTDOT;
DRAWICON(来捡钱吧>50,70,1 );
DRAWTEXT(来捡钱吧>50,62, '★来捡钱吧'),COLORWHITE ;
顶区:IF(VAR7>VAR1,VAR7,VAR1),COLORRED;
底区:IF(VAR8< VAR2,VAR8,VAR2),COLORYELLOW;
DRAWTEXT(VAR9 AND VAR7< 88,调整,'短期获利风险'),COLORMAGENTA;
DRAWTEXT(VAR7>88 AND CROSS(84,VARC),调整,'高风险-跑') ,COLORYELLOW;
BB:=STICKLINE((FILTER(调整< 52,10)),75,50,0.5,1);
都疯了我没疯:IF(FILTER(调整< 52,10),75,50),COLORBLUE,POINTDOT;
DRAWICON(都疯了我没疯>50,75,1 );
DRAWTEXT(FILTER(调整< 52,10),调整,'都疯了-我没疯'),COLORYELLOW ;
排序:IF(来捡钱吧>50 OR 都疯了我没疯>50,60,50),COLORCYAN,POINTDOT;
60,POINTDOT;
100,POINTDOT;