源码
Var1:=1;
Var2:=REF(CLOSE-OPEN, 2);
Var3:=REF(CLOSE, 1);
Var4:=REF(CLOSE, 2);
Var5:=REF(CLOSE, 3);
Var6:=REF(CLOSE, 4);
Var7:=MAX(MAX(MAX(CLOSE, Var3), Var4), Var5);
Var8:=MIN(MIN(MIN(CLOSE, Var3), Var4), Var5);
红持股:STICKLINE(CLOSE=Var7 AND (Var3>=Var4 OR Var3>=Var5) OR Var3=Var7 AND (Var4=Var8 OR Var5=Var8) AND CLOSE>=Var4 OR Var4=Var7 AND Var5=Var8 AND CLOSE>=Var3 OR Var5=Var7 AND CLOSE>=Var3 AND CLOSE>=Var4, Var3, CLOSE, 5, 1), COLORRED;
品红变盘:STICKLINE(CLOSE=Var7 AND Var3=Var8, Var4, CLOSE, 5, 1), COLORMAGENTA;
黄下跌:STICKLINE(CLOSE=Var8 AND (Var3
绿买:STICKLINE(Var3=Var7 AND CLOSE=Var8, Var4, CLOSE, 5, 0), COLORGREEN;
STICKLINE(Var3=Var8 AND CLOSE>=Var4 OR (Var4=Var8 AND Var3<=Var5 OR Var5=Var8 AND Var3<=Var4) AND Var4=Var3, Var3, Var4, 5, 0), COLORGREEN;
蓝卖:STICKLINE(Var3=Var7 AND CLOSEVar5 OR Var5=Var7 AND Var3>Var4) AND Var4>=Var6 AND CLOSE
Var9:=SAR(5, 1, 5);
Var10:=EMA(CLOSE, 30);
Var11:=IF(CLOSE>450, 8, IF(CLOSE>=20 AND CLOSE<150, 0.200, IF(CLOSE<20 AND CLOSE>=10, 0.070, IF(CLOSE<10, 0.030, 0.070))));
变色龙:STICKLINE(CLOSE>Var9, Var10, Var10+Var11, 6, 0), COLORMAGENTA;
STICKLINE(CLOSE
STICKLINE(CROSS(CLOSE, Var9), Var10, Var10-Var11, 6, 0);
STICKLINE(CROSS(Var9, CLOSE), Var10, Var10+Var11, 6, 0), COLORFF0066;
STICKLINE(RANGE(DAY, 6, 9) OR RANGE(DAY, 27, 30), Var10+0.010, Var10-0.010, 6, 0), COLORYELLOW;
Var22:=MA(LLV(CLOSE,9)*1.1,14)*1;
Var33:=MA(HHV(CLOSE,26)*0.9,14)*1;
Var55:=EMA((HIGH+LOW+CLOSE)/3,3);
VarB:=AMOUNT/(100*VOL);
VarC:=MA(VarB,34);
VarD:=MA(CLOSE,26);
通道: (VarD+VarC)/2, pointdot, coloryellow;
阻力: VarD+2*STD(CLOSE,34),LINETHICK2 ,
支持: (VarD-2*STD(CLOSE,26)),LINETHICK2 , colorgreen;
VarE:=MA(WINNER(CLOSE),34)*100;
警: DRAWTEXT(VarE>60 AND HIGH>阻力,HIGH,'★警'), COLORYELLOW;
突破:DRAWTEXT(VarE<15 AND CROSS(Var55,通道),LOW,'★突破'), COLORaaaaaa;