同花顺干杯副图指标
-
相关简介:同花顺干杯副图指标 源码 VAR2:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100; VAR3:=SMA(SMA(VAR2,3,1),6,5)/28.57; VAR4:=EMA(VAR3,5); VAR5:=3*VAR3-2*VAR4; AA:=CROSS(VAR5,VAR3) AND VAR32.1 and co; var6:=(2*CLOSE+HIGH+LOW)/4; var7:=LLV(LOW,13); var8:=HHV(HIGH,13)
-
文章来源:股海网作者:股海网发布时间:2016-06-03浏览次数:
同花顺干杯副图指标
源码
VAR2:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
VAR3:=SMA(SMA(VAR2,3,1),6,5)/28.57;
VAR4:=EMA(VAR3,5);
VAR5:=3*VAR3-2*VAR4;
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 and c>o;
var6:=(2*CLOSE+HIGH+LOW)/4;
var7:=LLV(LOW,13);
var8:=HHV(HIGH,13);
var9:=EMA((var6-var7)/(var8-var7)*100,13);
varA:=EMA(0.667*REF(var9,1)+0.333*var9,1);
多:var9,COLORRED,POINTDOT;
空: EMA(0.382*REF(var9,2)+0.618*var9,12),COLOR00FF00;
STICKLINE(var9>varA,var9,varA,6,0), COLORWHITE;
STICKLINE(var9<=varA,var9,varA,6,0), COLORFFCC66;
STICKLINE(AA,0,40,19.5,1),coloryellow;
STICKLINE(AA,16,39.5,18,0),colorgreen;
STICKLINE(AA,1,16,18,0),colorgreen;
STICKLINE(AA,56.5,40,6,0),coloryellow;
STICKLINE(AA,40,49.5,6,0),coloryellow;
STICKLINE(AA,57,60,6,1),colorred;
STICKLINE(AA,61,64,6,1),colorred;
STICKLINE(AA,65,68,6,1),colorred;
STICKLINE(AA,69,75,8,0),colorffcccc;
DRAWTEXT(AA,85,'干杯'),coloryellow;