私房获利 决战波段 踏浪淘金 用过都说好
-
相关简介:私房获利 决战波段 踏浪淘金 用过都说好 源码 a=EMA(CLOSE,6)-EMA(CLOSE,16),ColorFFFF26; b=EMA(a,5),Color8A15FF; C=2*(a-b); aa=0-(EMA(CLOSE,6) - EMA(CLOSE,16)); bb= 0-(EMA(a,5)); 对称= 0-(2*(a-b)),STICK,ColorFF6060,LINETHICK1; {D1=EMA(C,16)-EMA(C,6),Color26FF26; E2=EMA(D1,5)
-
文章来源:股海网作者:股海网发布时间:2016-08-08浏览次数:
私房获利 决战波段 踏浪淘金 用过都说好
源码
a=EMA(CLOSE,6)-EMA(CLOSE,16),ColorFFFF26;
b=EMA(a,5),Color8A15FF;
C=2*(a-b);
aa=0-(EMA(CLOSE,6) - EMA(CLOSE,16));
bb= 0-(EMA(a,5));
对称= 0-(2*(a-b)),STICK,ColorFF6060,LINETHICK1;
{D1=EMA(C,16)-EMA(C,6),Color26FF26;
E2=EMA(D1,5),ColorFF1EFF;};
STICKLINE(C>=0,C,0,4,1),COLORF00FF0;
STICKLINE(C<0,C,0,4,1),colorwhite;
STICKLINE(C<REF(C,1)AND C>0,0,C,10,0 ),Color00C4C4;
STICKLINE(C<REF(C,1)AND C>0,0,C,6.3,0 ),Color00EAEA;
STICKLINE(C<REF(C,1)AND C>0,0,C,2.2,0 ),Color0BFFFF;
STICKLINE(C<REF(C,1)AND C>0,0,C,1.65,0 ),Color46FFFF;
STICKLINE(C>=REF(C,1)AND C>0,0,C,8 ,0 ),Color0000BB;
STICKLINE(C>=REF(C,1)AND C>0,0,C,6.3 ,0 ),Color0000F0;
STICKLINE(C>=REF(C,1)AND C>0,0,C,2.2,0 ),Color1111FF;
STICKLINE(C>=REF(C,1)AND C>0,0,C,1.65 ,0 ),Color3535FF;
STICKLINE(C>REF(C,1)AND C<0,0,C,10,0 ),Color9B009B;
STICKLINE(C>REF(C,1)AND C<0,0,C,6.3 ,0 ),ColorCA00CA;
STICKLINE(C>REF(C,1)AND C<0,0,C,2.2,0 ),ColorF000F0;
STICKLINE(C>REF(C,1)AND C<0,0,C,1.65,0 ),ColorFF28FF;
STICKLINE(C<=REF(C,1)AND C<0,0,C,8,0 ),Color00AA00;
STICKLINE(C<=REF(C,1)AND C<0,0,C,6.3 ,0 ),Color00CE00;
STICKLINE(C<=REF(C,1)AND C<0,0,C,2.2,0 ),Color00F700;
STICKLINE(C<=REF(C,1)AND C<0,0,C,1.65 ,0 ),Color2DFF2D;
守庄:=CROSS(a,b) AND a<-0.1;
STICKLINE(守庄,0,-0.18,10,0),ColorE8E8E8;
STICKLINE(守庄,0,-0.18,4,0),ColorF2F2F2;
STICKLINE(守庄,0,-0.18,2,0),ColorFFFFFF;
DRAWTEXT(守庄,-0.2,' 一击'),ColorFFFFFF;
JCCOUNT:=COUNT(CROSS(a,b),BARSLAST(b>=0));
猎庄:=CROSS(a,b) AND b<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(猎庄,0,-0.18,10,0),Color0042CC;
STICKLINE(猎庄,0,-0.18,8,0),Color004FF2;
STICKLINE(猎庄,0,-0.18,8,0),Color3375FF;
DRAWTEXT(猎庄,-0.2,' 连击'),Color3375FF;
波段
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-C;
VAR3:=C-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(C-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR6:=(2*C+H+L)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7 ,3 ,1 )-SMA(VAR4 ,9 ,1);
VAR10:=IF(VAR9>100 ,VAR9-100 ,0 );
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6- VAR8)/(VAR11-VAR8)*100,13 );
VAR13:=EMA(0.667*REF(VAR12 ,1) +0.333*VAR12,2 );
VAR13,colorred;
STICKLINE(VAR12-VAR13 >0,VAR12 ,VAR13 ,8 ,0 ),colorred;
STICKLINE(VAR12-VAR13 <0,VAR12 ,VAR13 ,8 ,0),colorgreen;