同花顺使者看盘副图指标
-
相关简介:同花顺使者看盘副图指标 源码 p1:=13; p2:=5; 强弱线:0,COLOR663399; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0), 4, 1)/SMA(ABS(CLOSE-LC),4,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0), 8, 1)/SMA(ABS(CLOSE-LC),8,1)*100; RSI3:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
-
文章来源:股海网作者:股海网发布时间:2016-05-11浏览次数:
同花顺使者看盘副图指标
源码
p1:=13; p2:=5;
强弱线:0,COLOR663399;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0), 4, 1)/SMA(ABS(CLOSE-LC),4,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0), 8, 1)/SMA(ABS(CLOSE-LC),8,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
Var1:=(RSI1+RSI2+RSI3)/3,colorwhite;
Var2:=MA(CLOSE, 5);
Var3:=MA(CLOSE,10);
Var4:=MA(CLOSE,20);
Var5:=MA(CLOSE,30);
Var6:=(Var2+Var3+Var4+Var5)/4;
Var7:=(Var6-REF(Var6, p1 ))/REF(Var6, 13)*100;
Var8:=(Var6-REF(Var6, p1 ))/REF(Var6, 13)*100;
Var9:=EMA(Var7, p2);
趋势:Var9,colorwhite, POINTDOT;
STICKLINE(Var9>1*REF(Var9, 1), Var7, 0, 0.1, 0),COLOR663399;//反转:
STICKLINE(Var7>1*REF(Var7, 1), Var7,Var9, 7, 1), COLOR5050ff;//持股:
STICKLINE(Var7<1*REF(Var7, 1), Var7,Var9, 7, 1), colorgreen;//持币:
STICKLINE(趋势>=0 AND Var7<1*REF(Var7, 1) ,var7,趋势,7,1),COLORC0C0C0;//离场或持股观望:
STICKLINE(趋势>=20 AND 趋势>REF(趋势 ,1),Var7 ,趋势,7 ,0 ),coloryellow;//预警:
STICKLINE(趋势>=40 AND 趋势>REF(趋势 ,1),Var7,趋势 ,7 ,0 ),COLOREE00EE;//风险:
STICKLINE(趋势>5 AND CROSS(80,Var1),Var7 ,趋势 ,7 ,0 ),COLORFFB97A; //相对头部: