这是个抄底指标,虽然信号数不多,但准确率较高点。低位金叉并出现“拉”文字,为底部买入信号。
n=3;
n2=6 ;
n3=-23 ;
n4=75;
Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var3:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Var4:=SMA(Var3, 9, 1);
Var5:=SMA(Var4, 3, 1);
J:3*Var4-2*Var5;
Var6:=J>1*REF(J, 1);
Var7:=LLVBARS(LOW, 50);
Var8:=SUM(VOL, Var7);
Var9:=HHVBARS(HIGH, 50);
Var10:=SUM(VOL, Var9);
Var11:=(CLOSE-REF(OPEN, Var9))/REF(OPEN, Var9)*100;
Var12:=Var10/CAPITAL*100;
Var13:=(CLOSE-REF(OPEN, Var7))/REF(OPEN, Var7)*100;
Var14:=Var8/CAPITAL*100;
Var15:=MA(WINNER(CLOSE), N)*100;
Var16:=EMA(Var4, N);
A2:EMA(Var4, N), COLORFFDDCC;
A3:EMA(A2, N), COLORFFBBCC;
A4:EMA(A3, N), COLORFF99CC;
A5:EMA(A4, N), COLORFF55CC;
A6:EMA(A5, N), COLORFF33CC;
A7:EMA(A6, N), COLORFF11CC;
Var17:=EMA(A7, N);
Var18:=EMA(Var17, N);
Var19:=EMA(Var18, N);
AA:EMA(A5, N2),LINETHICK2, COLORFF00CC;
电话:J, POINTDOT, colorwhite;
DRAWTEXT(CROSS(A4, AA) AND var11 AND CROSS(A2, J) AND A2>N4, A2, '峰'), coloryellow;
DRAWTEXT(CROSS(J, A2) AND Var6 AND A2<20 AND Var2>9 OR A2>1*REF(A2, 1) AND Var2>4 AND A2<60, A2, '拉'), COLORFFFFCC;