上:=(SMA(HIGH,21,2) * 1.05);
下轨:=(SMA(LOW,21,2) * 0.969);AA10:=MA(CLOSE,8);
追击:FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*10,ColorFF1CAE;
STICKLINE(追击,70,0,4.5,0),ColorFF1CAE;
多方趋势:=(7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
空方趋势:= EMA(MA(多方趋势,5),7);
金矿:CROSS(多方趋势,空方趋势) AND 空方趋势 <35,ColorYellow;
STICKLINE(金矿,60,0,4.5,0),ColorYellow;
赢家:=3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1);
下注:CROSS(赢家,MA(赢家,15)) AND 赢家<35,COLORFF00FF;
STICKLINE(下注,50,0,4.5,0),COLORFF00FF;
M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);
M2:=EMA(M1,21);
VAR1j:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
VAR2j:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5),2)))/(10));
VAR3j:=IF((VAR2j > 0),VAR2j - 0,(-1));
绝杀:CROSS(VAR3j,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/ (2),8)),ColorFF7F00;
STICKLINE(绝杀,40,0,4.5,0),ColorFF7F00;
Var2p:=REF(LOW,1);
Var3p:=SMA(ABS(LOW-Var2p),3,1)/SMA(MAX(LOW-Var2p,0),3,1)*100;
Var4p:=EMA(IF(CLOSE*1.2,Var3p*10,Var3p/10),3);
Var5p:=LLV(LOW,38);
Var6p:=HHV(Var4p,38);
Var7p:=IF(LLV(LOW,90),1,0);
Var8p:=EMA(IF(LOW<=Var5p,(Var4p+Var6p*2)/2,0),3)/618*Var7p;
趋势p:= 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);
底部p:=10;
出手:CROSS(趋势p,底部p),ColorWhite;
STICKLINE(出手,30,0,4.5,0),ColorWhite;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIFF1,9);
JCCOUNT:=COUNT(CROSS(DIFF1,DEA1),BARSLAST(DEA1>=0));
二金:CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21),ColorGreen;
STICKLINE(二金,20,0,4.5,0),ColorGreen;
Var1z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
Var2z1:=SMA(Var1z1,3,1);
Var3z1:=SMA(Var2z1,3,1);
Var4z1:=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);
抄底:CROSS(Var4z1,10) AND Var3z1<12,COLORRED;STICKLINE(抄底,10,0,4.5,0),COLORRED;