高速路(同花顺)

[复制链接]
查看365 | 回复0 | 2021-8-20 23:24:10 | 显示全部楼层 |阅读模式

N(1,100,3)N2(1,100,10)N3(1,100,83)N4(-3,10,1)
Var1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Var2:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100;
Var3:=VOL/MA(VOL, 5);
Var4:=VOL/CAPITAL*100;
Var5:=1;
Var6:=MA(CLOSE, 5);
Var7:=Var6/10+Var6;
Var8:=(HIGH-MA(CLOSE, 5))/MA(CLOSE, 5)*100;
Var9:=(HIGH-MA(CLOSE, 60))/MA(CLOSE, 60)*100;
Var10:=(LOW-MA(CLOSE, 60))/MA(CLOSE, 60)*100;
Var11:=(RANGE(CLOSE, MA(CLOSE, 5), MA(CLOSE, 10)) AND Var1>5 AND Var2<(-30))*30*Var5;
Var12:=0-(Var8>10 AND Var2>5)*20;
Var13:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100;
Var14:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
售价两千走势线:MA(HIGH, 1)*Var5, COLORWHITE;
界标:MA(CLOSE, 10), COLORYELLOW;
上限:界标/N2+界标, COLORRED;
上2:MA(上限, N), COLORWHITE;
上3:MA(上2, N), COLORYELLOW;
上4:MA(上3, N), COLORFFAA00;
上5:MA(上4, N), COLOREE00EE;
下限:上限*N3/100, COLORGREEN;
下2:MA(下限, N), COLORRED;
下3:MA(下2, N), COLORYELLOW;
下4:MA(下3, N), COLORFFAA00;
下5:MA(下4, N), COLOREE00EE;
DRAWTEXT(CROSS(售价两千走势线, 下限) AND Var13<(-25) AND Var14>N4, 下限, '买 卖 '), COLORYELLOW;
DRAWTEXT(CROSS(上限, 售价两千走势线) AND Var2>6, 上限, ''), COLORWHITE;
STICKLINE(Var8>10 AND Var2>5, 售价两千走势线, 售价两千走势线*0.990, 5, 0), COLOREE00EE;

202108202255.jpg

202108202255.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则