UID36196
积分399
学分
推广 个
预报后涨停 支
阅读权限40
在线时间 小时
注册时间2009-12-3
最后登录1970-1-1
|
参数描述: N(1,100,12)M(1,100,20)}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
STICKLINE(REF(J,7)<0 AND J>1,10,0,10,0),color00ff00;
Var1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
Var2:=SMA(Var1,3,1);
Var3:=SMA(Var2,3,1);
Var4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-
LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
Var5:=CROSS(Var4,10) AND Var3<N;
抄底:IF(Var5,90,1),colorred;
DRAWICON(Var5,65,1);
DRAWTEXT(Var5,30,'抄底'),coloryellow;
备钱$:IF(CROSS(10,Var4),40,1),colorff00ff;
DRAWICON(CROSS(10,Var4),45,1);
DRAWTEXT(IF(CROSS(10,Var4),1,0),20,'$备钱'),colorwhite;
危机: 80,colorred,pointdot,linethick2;
中线: 50,colorffcccc,pointdot,linethick2;
安全: 10,colorff00ff,pointdot,linethick2;
Var6:=(2*CLOSE+HIGH+LOW)/4;
Var7:=LLV(LOW,M);
Var8:=HHV(HIGH,M);
Var9:=EMA((Var6-Var7)/(Var8-Var7)*100,13);
VarA:=EMA(0.667*REF(Var9,1)+0.333*Var9,2);
战术: Var9,coloryellow,linethick2;
战略: EMA(0.382*REF(Var9,2)+0.618*Var9,12),colorblue;
STICKLINE(Var9>VarA,Var9,VarA,6,0),colorred;
STICKLINE(Var9<=VarA,Var9,VarA,6,0),color00ff00;
VarB:=SUM(IF(CLOSE>REF(CLOSE,7),VOL,IF(CLOSE<REF(CLOSE,7),0-VOL,0)),0);
VarC:=SUMBARS(VOL,CAPITAL);
VarD:=IF(CLOSE>LLV(CLOSE,VarC),1,-1);
VarE:=IF(VarB>LLV(VarB,VarC),1,-1);
VarF:=VarD*VarE;
Var10:=IF(VarF=-1,1,0);
关注:IF(Var10 AND CLOSE=LLV(CLOSE,20) AND Var3<N,70,1),colorffcc66;
a1:=ema(close,5);
a2:=ema(close,10);
a3:=ema(close,20);
a4:=ema(close,40);
a5:=ema(close,60);
上穿月线:if({cross(a1,a2) and }cross(c,a3),50,0),coloryellow,linethick2;
上穿季线:if({cross(a3,a4) and }cross(c,a5),50,0),colorred,linethick2;
i:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE<OPEN,VOL,1),3);
r:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
短线逃顶:=IF(i,0,1),colorgreen;
DRAWICON(短线逃顶,90,2); |
|