风控条码
Var3:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var4:=SMA(SMA(Var3,3,1),3,1);
Var5:=EMA(Var4,5);
Var6:=Var5;
Var7:=3*Var4-2*Var5;
Var8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K: SMA(Var8,3,1),0,COLORBROWN,0,1;
D: SMA(K,3,1),0,COLORBLUE,0,1;
VarA:=LLV(LOW,36);
VarB:=HHV(HIGH,30);
VarC:=EMA((CLOSE-VarA)/(VarB-VarA)*4,4)*25;
VarD:=87.5;
趋势:VarC,0,COLORCYAN,0,1;
20,0,COLORBLACK,2;
50,0,COLORBLACK,2;
80,0,COLORBLACK,2;
xRAWTEXT(IF(CROSS(VarD,趋势),87,0),85,'赚了'),1,COLORGREEN;
ww:STICKLINE(VarC>90,100,90,7,0),1,COLORRED;
y:STICKLINE(VarC<10,0,10,7,0),1,COLORBROWN;
VarF:=SMA(Var3,20,1);
Var10:=SMA(VarF,15,1);
Var11:=(3*VarF+2*Var10)/4;
Var12:=REF(Var11,1);
Var13:=SMA(MAX(Var11-Var12,0),2,1)/SMA(ABS(Var11-Var12),2,1)*100;
Var14:=MA(Var13,10);
Var15:=IF(CROSS(Var14,90),25,0);
DRAWTEXT(CROSS(Var14,90),27,'强势整理'),1,COLORCYAN;
军令如山
Var1:EMA(CLOSE,6),0,RGB(255,255,255),0,2;
X1:STICKLINE(CLOSE>Var1,CLOSE,Var1,9,0), 0,RGB(255,0,0);
X2:STICKLINE(CLOSE<Var1,Var1,CLOSE,9,0),0,RGB(10,255,0);
明日买卖价格:EMA(CLOSE,6),0,RGB(255,0,0);
压力支撑
RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
RSV55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(RSV55,3,1);
D55:=SMA(K55,3,1);
J55:=3*K55-2*D55;
支撑位:IF(CROSS(J13,J55),LOW,REF(LOW,BARSLAST(CROSS(J13,J55)))),0,COLORRED,0,2;
压力位:IF(CROSS(J55,J13),HIGH,REF(HIGH,BARSLAST(CROSS(J55,J13)))),0,COLORBLUE,0,2;
中位支撑位+压力位)/2,0,COLORBROWN,0,2;
黄金波段
A:=MA(CLOSE,4);
B:=MA(CLOSE,18);
黄金波段1:(A*25)/4,DRAW3D,COLORRED;
黄金波段2:(B*25)/4,DRAW3D,COLORBLUE;
先机龙头
换手率:=VOL/CAPITAL*100;
x1:=MA(换手率,3);
涨幅:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
x2:=MA(涨幅,3);
先机龙头:x1*x2*100;
涨停先锋
A4:=MA(CLOSE,20);
A5:=(CLOSE > MA(CLOSE,5));
A6:=(MA(CLOSE,5) > MA(CLOSE,10));
A7:=(CLOSE > MA(CLOSE,10));
A8:=(MA(CLOSE,5) > MA(CLOSE,20));
A9:=(CLOSE > MA(CLOSE,20));
A10:=REF(A4,1);
A11:=(A4 > A10);
{AVX((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10))) + IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0 - 10)))/50;}
风向标:MA((((((IF(A5,100,0) + IF(A6,100,0)) + IF(A7,100,0)) + IF(A8,100,0)) + IF(A9,100,0)) + IF(A11,100,0))/6,3.5);
{VARR:=REF(CLOSE,1);强弱方向:=SMA(MAX(CLOSE-VARR,0),5,1)/SMA(ABS(CLOSE-VARR),5,1)*100,COLORYELLOW;}
{80, POINTDOT,COLORBLUE,LINETHICK2;
70, POINTDOT,COLORWHITE,LINETHICK2;
20, POINTDOT,COLORGREEN,LINETHICK2;
{10, POINTDOT,COLORBLUE,LINETHICK2};
航向: MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1)-2*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,3,1),3); |