源码
{五彩K线公式:短兵相接 ((五彩K线)) 缺省周期:日线 }
CLOSE>SAR(20,1,20), COLORRED;
Var1:=(CLOSE-LLV(LOW,44))/(HHV(HIGH,44)-LLV(LOW,44))*100;
Var2:=SMA(Var1,4,1);
Var3:=SMA(Var2,245,1);
Var4:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
Var5:=SMA(Var4,3,1);
Var6:=SMA(Var5,10,1);
Var7:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
Var8:=SMA(Var7,2,1);
Var9:=SMA(Var8,22,1);
VarA:=EMA(CLOSE,5)-EMA(CLOSE,25);
VarB:=EMA(VarA,250);
VarC:=1.5*(VarA-VarB);
VarD:=EMA(CLOSE,10)-EMA(CLOSE,300);
VarE:=EMA(VarD,300);
VarF:=REF(CLOSE,1);
Var10:=SMA(MAX(CLOSE-VarF,0),2,1)/SMA(ABS(CLOSE-VarF),2,1)*100;
Var11:=SMA(MAX(CLOSE-VarF,0),7,1)/SMA(ABS(CLOSE-VarF),7,1)*100;
Var12:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var13:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
Var14:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var15:=REF(CLOSE,1);
Var16:=SMA(MAX(CLOSE-Var15,0),2,1)/SMA(ABS(CLOSE-Var15),2,1)*100;
Var17:=(HIGH+LOW+CLOSE)/3;
Var18:=(Var17-MA(Var17,14))/0.015*AVEDEV(Var17,14);
Var19:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
Var1A:=Var19+2*STD(Var19,13);
Var1B:=Var19-2*STD(Var19,13);
Var1C:=EMA(CLOSE,1);
Var1D:=VarC>0 AND HIGH>SAR(20,1,20) AND CLOSE>REF(CLOSE,1) AND
VOL/REF(MA(VOL,5),1)>1.3 AND Var3>56 AND CROSS(Var5,Var6);
Var1E:=VarC>0 AND Var10>95.5 AND Var3>54 AND VOL/REF(MA(VOL,5),1)>1.3 AND
HIGH>SAR(20,1,20) AND CROSS(VarD,VarE);
Var1F:=VarC>0 AND CLOSE>LOW*1.099 AND HIGH>SAR(20,1,20) AND MA(CLOSE,5)>MA(CLOSE,10);
Var20:=CROSS(CLOSE,"BOLL.LOWER"(25,2.3)) AND LLV(LOW,4)=LLV(LOW,120) AND
CLOSE/REF(CLOSE,1)>1.048 AND CLOSE>Var17;
Var21:=Var12>-15.8 AND Var12<-12.2 AND Var13<-20.8 AND Var14<-27.5 AND Var16<11.7 AND Var18<-145;
Var22:=VarC>0 AND HIGH>SAR(20,1,20) AND CLOSE>REF(CLOSE,1) AND
VOL/REF(MA(VOL,5),1)>1.3 AND Var9>70 AND CROSS(Var8,Var9);
Var23:=Var1A/REF(Var1A,1)>1.017 AND Var1B/REF(Var1B,1)>1.017 AND CROSS(Var1C,Var1A);
CLOSE<SAR(20,1,20), COLORYELLOW;
Var1D OR Var1E OR Var1F OR Var20 OR Var21 OR Var22 OR Var23, COLORWHITE;