同花顺主力出入副图指标
-
相关简介:同花顺主力出入副图指标 源码 Var2:=REF(LOW,1); Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100; Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13); Var5:=LLV(LOW,34); Var6:=HHV(Var4,34); Var7:=IF(LLV(LOW,56),1,0); Var8:=EMA(IF(LOW=Var5,(Var4+Var6*2)/2,0),3)/6
-
文章来源:股海网作者:股海网发布时间:2016-02-25浏览次数:
同花顺主力出入副图指标
源码
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;
Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);
Var5:=LLV(LOW,34);
Var6:=HHV(Var4,34);
Var7:=IF(LLV(LOW,56),1,0);
Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
Var9:=EMA(CLOSE,5);
Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);
STICKLINE(Var9>REF(Var9,1),0,Var9*0.08,4,1),color10E410;
减仓:IF(Var9>REF(Var9,1),Var9,0),color10E410,linethick0;
STICKLINE(Var9
增仓:IF(Var9
STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),color10FFFF;
主力进场:IF(Var8>REF(Var8,1),Var8*8,0),color10FFFF,linethick0;
STICKLINE(Var8
洗缓:IF(Var8
主力持仓:(LOW*5),colorFF10FF,linethick0;
增减力度:Var10,colorFF7676;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1)
STICKLINE(XL3,0,Var8*3,4,0),Color006EFF;
DRAWTEXT(XL3,Var8*2,'买'),Color006EFF;
↑买:DRAWICON(XL3,0,4),colorred;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
VB1:=(V9-VA)/2*100;{}
变换:=IF(CAPITAL>0,VB,VB1);{}
大盘涨: IF(VB>=0,变换,0),LINETHICK2,Color0089FD;
大盘跌: IF(VB<=0,变换,0),LINETHICK2,colorblue;
jia:=EMA(V4,2);
0,LINETHICK2,colorwhite;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3)-9;
MID := (HIGH+LOW+CLOSE)/3;
CR:=SUM(MAX(0,HIGH-REF(MID,1)),26)/SUM(MAX(0,REF(MID,1)-L),26)*100;
A:=IF(CR<55,CR,0),colorred;
DPZD1:=BARSLAST(A)<10;
STICKLINE(A,0,-3,0.5,0),colorcc9900;
STICKLINE(DPZD1 AND CROSS(趋势线,0) AND MA(C,3)>MA(C,5),0,5,0.5,0),color0099ff;
DRAWTEXT(DPZD1 AND CROSS(趋势线,0) AND MA(C,3)>MA(C,5),4,'买票'),color0099ff;
STICKLINE(趋势线>=75 AND CROSS(jia,V4),V4-2,V4+2,5,0),coloryellow;
DRAWTEXT(趋势线>=75 AND CROSS(jia,V4),V4+2,' 见顶'),coloryellow;
上一篇:同花顺红K线持股优化源码
下一篇:同花顺顺势操盘主图指标