大智慧彩虹波段副图指标
-
相关简介:大智慧彩虹波段副图指标 源码 DRAWTEXTREL(0,40,'【股海网 www.guhai.com.cn 】'),color0000ff; DRAWGBK((C 0),STRIP(RGB(10,10,30),RGB(10,10,10),0)); {吸筹码显示} Varo5:=LLV(LOW,27); Varo6:=HHV(HIGH,34); Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25; 建仓区: IF((Varo710),105,110) ,
-
文章来源:股海网作者:股海网发布时间:2016-04-29浏览次数:
大智慧彩虹波段副图指标
源码
DRAWTEXTREL(0,40,'【股海网 www.guhai.com.cn】'),color0000ff;
DRAWGBK((C> 0),STRIP(RGB(10,10,30),RGB(10,10,10),0));
{吸筹码显示}
Varo5:=LLV(LOW,27);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
建仓区: IF((Varo7<10),105,110) ,linethick2,ColorRED;
A18:=SUM((IF((CLOSE > (REF(CLOSE,1))),VOL,(IF((CLOSE < (REF(CLOSE,1))),(0 - VOL),0)))),0);
A19:=SUMBARS(VOL,CAPITAL);
A20:=(IF((CLOSE > (LLV(CLOSE,A19))),1,-1)) * (IF((A18 > (LLV(A18,A19))),1,-1));
A21:=IF((A20 = -1),1,0);
A22:=(COUNT((A21 = 1),8)) > 2;
A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;
A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23));
A25:=(((CLOSE - A24) / A24) * 100) < -15;
A26:=((CLOSE - (MIN(((REF(CLOSE,5)) * 0.865),((REF(CLOSE,21)) * 0.772)))) / CLOSE) < 0.05;
A27:=REF(LOW,1);
A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;
A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);
A30:=LLV(LOW,38);
A31:=HHV(A29,38);
A32:=IF((LLV(LOW,90)),1,0);
A331:=((EMA((IF((LOW <= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32;
A33:=IF(A331>10,6,A331);
VARX1:=3;
VARX2:=(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));
秘密买点:=IF((VARX2 <= 3),15,0);
机构增补仓:=IF((VARX2 < 5),25,0);
启动在即:=IF(CROSS(VARX2,VARX1),45,0);
主力筹码:(STICKLINE(A33,0-A33,0,6,1)),COLORWHITE;
底部建仓区: IF((秘密买点 OR 机构增补仓 OR 启动在即 OR 主力筹码 OR 启动在即),0,0-8) ,linethick2,ColoRBLUE;
VarL5:=LLV(LOW,75);
VarL6:=HHV(HIGH,75);
VarL7:=(VarL6-VarL5)/100;
VarL8:=SMA((CLOSE-VarL5)/VarL7,20,1);
VarLA:=3*VarL8-2*SMA(VarL8,15,1);
主力线:(100-VarLA),colorYELLOW,linethick1,POINTDOT;
{色块波段}
Var26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var27:=REVERSE(Var26);
Var28:=SMA(Var26,3,1);
波段王:= SMA(Var28,3,1);
趋势线:=((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)-50)*1.032+50);
FILLRGN(趋势线,波段王,趋势线>波段王),colorred;
FILLRGN(趋势线,波段王,趋势线<波段王),Color408080;
{主力动向趋势线}
VAR1a:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2a:=SMA(VAR1a,9,1)+100;
VAR3a:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4a:=SMA(VAR3a,3,1);
VAR5a:=SMA(VAR4a,3,1)+100;
zldx0:=VAR5a-VAR2a;
ZLDX:=IF(ZLDX0>100,100,ZLDX0);
ZLDX1:ZLDX,COLORYELLOW,LINETHICK1;
ZLDX2:ref(zldx,1),colorWHITE,linethick1;
{青白色波段}
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 );
STICKLINE(VAR12-VAR13 >0,VAR12 ,VAR13 ,4 ,0 ),colorffff52;
STICKLINE(VAR12-VAR13 <0,VAR12 ,VAR13 ,4 ,0),COLORFFFFff;
{提示信息}
TJ2:= CROSS(VAR12,VAR13) AND VAR12<18;
出击2:=(秘密买点 OR 机构增补仓 OR 启动在即 OR 主力筹码 OR 启动在即)AND CROSS(ZLDX1,ZLDX2)or tj2;
STICKLINE(出击2,0-8,0,10,0),coloryellow;
STICKLINE(出击2,0,8,8,0),colorred;
STICKLINE(出击2,8,15,4,0),colorred;
STICKLINE(出击2,15,25,2,0),colorwhite;
100,pointdot,colorred;
50,pointdot,colorgray;
10,pointdot,colorred;