MA5:MA(C,5)DOTLINE;
MA60:MA(C,60);
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
紫色柱子:=VAR4>95;
VAR11:=BARSLASTCOUNT(紫色柱子)=1;
VA1:=HHV(EMA(CLOSE,17),2);
VAR12:EMA(CLOSE,10),COLORRED,LINETHICK1 DOTLINE;
VAR13:=IF(VA1=VAR12 AND UPNDAY(VA1,3),VA1,DRAWNULL),COLORRED,LINETHICK3;
VAR14:=IF(REF(VA1,2)>VAR12,VAR12,DRAWNULL),COLORGREEN,LINETHICK3;
VA2:=REF(CLOSE,1);
VA3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VA4:=SMA(VA3,3,1);
VA5:=SMA(VA4,3,1);
VA6:=3*VA4-2*VA5;
VA7:=SMA(MAX(CLOSE-VA2,0),9,1)/SMA(Abs(CLOSE-VA2),9,1)*100;
VA8:=VA7>=75;
VA9:=VA6>=95;
VA10:=EMA(CLOSE,12)-EMA(CLOSE,26);
VA11:=EMA(VA10,3);
VA12:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
VA13:=SMA(MAX(CLOSE-VA2,0),9,1)/SMA(ABS(CLOSE-VA2),9,1)*100;
VA14:=VA10>VA11 OR VA10=VA11 AND VA12>9 AND VA12< 11 AND 40< VA13 AND VA13< 60 AND CLOSE=HIGH;
VA15:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VA16:=SMA(VA15,4,1);
VA17:=SMA(VA16,3,1);
VA18:=CLOSE>=OPEN AND crOSS(VA16,VA17) AND VA17<=50;
VA19:=IF(VA8 OR VA9 AND (CLOSE+VAR12)/2< VAR12,(3*VAR12-CLOSE)/2,(CLOSE+VAR12)/2);
VA20:=IF(VA18 OR VA14 AND (CLOSE+VAR12)/2>VAR12,(3*VAR12-CLOSE)/2,(CLOSE+VAR12)/2);
STICKLINE(VA7>=75,CLOSE,OPEN,2.3,0),COLOR000057;
STICKLINE(VA7>=75,CLOSE,OPEN,2,0),COLOR00007D;
STICKLINE(VA7>=75,CLOSE,OPEN,1.7,0),COLOR00008C;
STICKLINE(VA7>=75,CLOSE,OPEN,1.4,0),COLOR0000A1;
STICKLINE(VA7>=75,CLOSE,OPEN,1.1,0),COLOR0000B5;
STICKLINE(VA7>=75,CLOSE,OPEN,0.8,0),COLOR0000CC;
STICKLINE(VA6>=95,CLOSE,OPEN,2.3,0),COLOR570057;
STICKLINE(VA6>=95,CLOSE,OPEN,2,0),COLOR660066;
STICKLINE(VA6>=95,CLOSE,OPEN,1.7,0),COLOR7D007D;
STICKLINE(VA6>=95,CLOSE,OPEN,1.4,0),COLOR990099;
STICKLINE(VA6>=95,CLOSE,OPEN,1.1,0),COLORBD00BD;
STICKLINE(VA6>=95,CLOSE,OPEN,0.8,0),COLORMAGENTA;
STICKLINE(VA18,CLOSE,OPEN,2.3,0),COLOR004040;
STICKLINE(VA18,CLOSE,OPEN,2,0),COLOR006464;
STICKLINE(VA18,CLOSE,OPEN,1.7,0),COLOR00A8A8;
STICKLINE(VA18,CLOSE,OPEN,1.4,0),COLOR00DBDB;
STICKLINE(VA18,CLOSE,OPEN,1.1,0),COLOR15FFFF;
STICKLINE(VA18,CLOSE,OPEN,0.8,0),COLOR4DFFFF;
STICKLINE(VA18,CLOSE,OPEN,1.8,0),COLORYELLOW;