VAR0:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100;
VAR3:=SMA(VAR0,3,1); Q:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
VAR5:=SMA(VAR4,3,1); W:=SMA(VAR5,4,1)-90;
STICKLINE(REF(Q,1)<Q,Q,REF(Q,1),10,0),COLOR0000FF;
0,COLORWHITE,LINETHICK4,POINTDOT;
STICKLINE(REF(Q,1)>Q,Q,REF(Q,1),5,0),COLOR00FF00;
STICKLINE(REF(W,1)>W,W,REF(W,1),10,0),COLORFF00FF;
STICKLINE(REF(W,1)<W,W,REF(W,1),5,0),COLORFFFF00;
VR1:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
VR2:=SMA(VR1,3,1); 波:=SMA(VR2,3,1); 段:=SMA(波,3,1);
VV:=CROSS(段,波)AND波>80; Z:=TROUGHBARS(3,15,1)<4;
II:=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(II,3)-10; R7:=LLV(L,30); R8:=HHV(H,30);
EE:=EMA((C-R7)/(R8-R7)*4,4)*25;
{白色立柱}
STICKLINE(FILTER(VV,5)=1,60,30,4,0),COLOR999999;
STICKLINE(FILTER(VV,5)=1,60,30,3,0),COLORBBBBBB;
STICKLINE(FILTER(VV,5)=1,60,30,2,0),COLORDDDDDD;
STICKLINE(FILTER(VV,5)=1,60,30,1,0),COLORFFFFFF;
{绿色立柱}
STICKLINE(FILTER(VV,5)=1,30,0,3,0),COLOR009900;
STICKLINE(FILTER(VV,5)=1,30,0,2,0),COLOR00BB00;
STICKLINE(FILTER(VV,5)=1,30,0,1,0),COLOR00DD00;
STICKLINE(FILTER(VV,5)=1,30,0,0,0),COLOR00FF00;
{黄s立柱}
STICKLINE(FILTER(VV,5)=1,-30,0,2,0),COLOR33AAAA;
STICKLINE(FILTER(VV,5)=1,-30,0,1.5,0),COLOR33CCCC;
STICKLINE(FILTER(VV,5)=1,-30,0,0.8,0),COLOR33EEEE;
STICKLINE(FILTER(VV,5)=1,-50,-30,0,0),COLORFF00FF;
STICKLINE(EE>90,50,45,10,2),COLOR00FF00;
DRAWICON(CROSS(90,EE),50,15);
{白色立柱}
STICKLINE(FILTER(Z=1,5),-25,-50,4,0),COLOR777777;
STICKLINE(FILTER(Z=1,5),-25,-50,3,0),COLOR999999;
STICKLINE(FILTER(Z=1,5),-25,-50,2,0),COLORBBBBBB;
STICKLINE(FILTER(Z=1,5),-25,-50,1,0),COLORDDDDDD;
STICKLINE(FILTER(Z=1,5),-25,-50,0.1,0),COLORFFFFFF;
{绿色立柱}
STICKLINE(FILTER(Z=1,5),5,-25,3,0),COLOR009900;
STICKLINE(FILTER(Z=1,5),5,-25,2,0),COLOR00BB00;
STICKLINE(FILTER(Z=1,5),5,-25,1,0),COLOR00DD00;
STICKLINE(FILTER(Z=1,5),5,-25,0.1,0),COLOR00FF00;
{红色立柱}
STICKLINE(FILTER(Z=1,5),35,5,1.5,0),COLOR000099;
STICKLINE(FILTER(Z=1,5),35,5,1,0),COLOR0000CC;
STICKLINE(FILTER(Z=1,5),35,5,0.5,0),COLOR0000FF;
STICKLINE(FILTER(Z=1,5),35,60,0,0),COLORCC66FF;
DRAWTEXT(FILTER(Z=1,3),-35,' 铁'),COLORYELLOW;
DRAWTEXT(FILTER(Z=1,3),-45,' 底'),COLORYELLOW;
AR:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
RV:=HHV(AR,30)*8;
T:=EMA(IF(L<=R7 AND 趋势<40,(AR+RV),0),3)/618;
{白色立柱}
STICKLINE(T>0,0,T*0.5,2.5,0),COLOR999999;
STICKLINE(T>0,0,T*0.5,1.5,0),COLORBBBBBB;
STICKLINE(T>0,0,T*0.5,0.5,0),COLORDDDDDD;
STICKLINE(T>0,0,T*0.5,0,0),COLORFFFFFF;
合并买入 副图 源码 附图 重新优化组合而已。
|