N:=3;N2:=36;N3:=23;N4:=75; Var1:=1; 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,colorff00ff; 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; {www.gpxiazai.com 股票软件下载网_最新股票指标公式} Var15:=MA(WINNER(CLOSE), N)*100; Var16:=EMA(Var4, N); A2:EMA(Var4, N), COLORFFDDCC,linethick2; 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,linethick2; c1:=cross(a2,a7) and a2>a7; DRAWICON(c1,a2,1); AA:EMA(A5, N2),LINETHICK2, COLORyellow; DRAWTEXT(CROSS(A4, AA) AND Var11,a4,'@'),color00ff00; DRAWTEXT(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, '拉'), colorred; |