天:0 ,ColorFF00FF;地:130,ColorFF00FF;
WFVAR51:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
WFVAR61:=SMA(WFVAR51,5,1);
WFVAR71:=SMA(WFVAR61,8,1);
WFVAR81:=(CROSS(WFVAR61,WFVAR71) AND (WFVAR71 < 10));
WFVAR91:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND WFVAR81);
WFVARA121:=IF((CLOSE > 1000),WFVAR81,WFVAR91);
逃遁:=WFVARA121;
STICKLINE(逃遁,130,0,1,1),ColorFF00FF ;
DRAWTEXT(逃遁,130,'逃'),COLORRED;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),17,1))/(SMA(ABS(CLOSE-VAR11),17,1))*100;
减仓:=CROSS(79,VAR12);
STICKLINE(减仓,130,0,1,1),ColorFF00FF;
DRAWTEXT(减仓,120,'减'),coloryellow;
ema13:=ema(c,13);
ema34:=ema(c,34);
ema55:=ema(c,55);
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
见好:=gr6 and gr7;
STICKLINE(见好,130,0,1,1),ColorFF00FF;
DRAWTEXT(见好,110,'见'),COLORRED;
Ym:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YZ1m:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
YZ2m:=REF(C,1)>REF(O,1) AND O>MA(C,11);
独秀:=YZ1m AND YZ2m AND Ym>10;
STICKLINE(独秀,130,0,1,1),ColorFF00FF;
DRAWTEXT(独秀,100,'独'),ColorYellow;
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));
绝 sha:=CROSS(VAR3j,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8));
STICKLINE(绝 sha,130,0,1,1),ColorFF00FF ;
DRAWTEXT(绝 sha,90,'杀'),COLORRED;
空:=EMA(C,5);
均衡:=EMA(空,5);
中轨:=HHV(MA(H,13),13);
var5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
加仓:=var5;
STICKLINE(加仓,130,0,1,1),ColorFF00FF ;
DRAWTEXT(加仓,80,'加'),ColorYellow;
上:=(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;
STICKLINE(追击,130,0,1,1),ColorFF00FF;
DRAWTEXT(追击,70,'追'),COLORRED;
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);
STICKLINE(二金,130,0,1,1),ColorFF00FF;
DRAWTEXT(二金,60,'金'),ColorYellow;
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);
STICKLINE(出手,130,0,1,1),ColorFF00FF;
DRAWTEXT(出手,50,'手'),COLORRED;
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;
STICKLINE(抄底,130,0,1,1),ColorFF00FF ;
DRAWTEXT(抄底,40,'抄'),ColorYellow;
y1:=EMA(EMA(C,5),5);y2:=HHV(MA(H,13),13);
var51:=FILTER(y1>REF(y1,1)AND y2<REF(y2,1)AND C>REF(C,1),11);
追涨:=var51;
STICKLINE(追涨,130,0,1,1),ColorFF00FF;
DRAWTEXT(追涨,30,'涨'),COLORRED;
赢家:=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;
STICKLINE(下注,130,0,1,1),ColorFF00FF;
DRAWTEXT(下注,20,'注'),ColorYellow;
多方趋势:=(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;
STICKLINE(金矿,130,0,1,1),ColorFF00FF;
DRAWTEXT(金矿,10,'矿'),COLORRED;
|