权证小周期使用
金三角或红箭头买入,重叠更要买,绿圈是调整。
不过注意结合其它经典指标判断
源码第三行含未来,但是该行负责生成文本,可以正行删除,第48行含未来,但那是生成成本线,并不影响使用,如不放心可以删除此行及其后两行。
DRAWGBK(CLOSE>0,STRIP(RGB(0,99,99),RGB(0,0,60),0));
A1:=DATE <= 13181231;
DRAWTEXTREL(4,5,'流通A股:'+NUMTOSTRN(FINANCE2(7),0)+'万'+'市净率:'+NUMTOSTRN((DYNAINFO(7)/FINANCE2(34)),2)+'昨:'+NUMTOSTRN(DYNAINFO(3),2)+'开:'+NUMTOSTRN(DYNAINFO(4),2)+'高:'+NUMTOSTRN(DYNAINFO(5),2)+'低:'+NUMTOSTRN(DYNAINFO(6),2)+'收:'+NUMTOSTRN(DYNAINFO(7),2)+'涨幅:'+NUMTOSTRN((DYNAINFO(14)*100),2)+'%'+'振幅:'+NUMTOSTRN((DYNAINFO(13)*100),2)+'%'+'换手率:'+NUMTOSTRN((DYNAINFO(37)*100),2)+'%'),linethick1,colorwhite;
七天线:MA(C,7),colorgray;
工作线:(EMA(C,14)) * A1,POINTDOT,linethick4,coloryellow;
PARTLINE(工作线,工作线>=REF(工作线,1),RGB(255,0,0),工作线<REF(工作线,1),RGB(0,180,0)),POINTDOT,linethick4;
生命线:(MA(C,25)) * A1,linethick2,colormagenta;
PARTLINE(生命线,生命线>=REF(生命线,1),RGB(255,0,0),生命线<REF(生命线,1),RGB(0,180,0)),linethick2;
不惑线:=(MA(C,40)) * A1;
姊妹线:=(EMA(C,56)) * A1;
长线启动点:MA(C,99) * A1,linethick1,Color0099FF;
{卖线:EMA(SLOPE(C,21)*21+C,42),colorred,LINETHICK2;}
A2:="cpzb@cp";
DRAWTEXT((A2 = 1),L,' ̄'),linethick2,ALIGN1,Color208FFF;
DRAWTEXT((A2 = 1),L,'B'),linethick5,ALIGN1,coloryellow;
DRAWTEXT((A2 = 9),H,' ̄'),linethick2,ALIGN1,colorcyan;
DRAWTEXT((A2 = 9),H+0.38,'S'),linethick5,colorcyan;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A4:=EMA(C,10);
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);
DRAWTEXT((CROSS(A4,A3)),L,'△金'),linethick2,ALIGN1,coloryellow;
DRAWTEXT(A7,H,'○'),linethick3,colorgreen;
A8:=LLV(L,21);
A9:=HHV(H,21);
A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);
A13:=LLV(L,55);
A14:=HHV(H,34);
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);
A16:=(A11 + A15) / 2;
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);
A18:=EMA(A16,5);
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);
A20:=CROSS(A10,A11);
A21:=(CROSS(A10,A19)) AND (A19 < 30);
A22:=A21 * 0.6;
DRAWTEXT((A22 = 0.6),L,'◇'),linethick4,ALIGN1,coloryellow;
DRAWTEXT((A20 = 1),L,'◇'),linethick4,ALIGN1,colorwhite;
A23:=((C + L) + H) / 3;
A24:=EMA(A23,6);
A25:=EMA(A24,5);
A26:=CROSS(A24,A25);
成本线:=cost(5);
ax:=工作线<成本线;
DRAWTEXT((Ax = 9),H+0.38,'调整足够'),linethick5,colorcyan;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1);
VAR4:=EMA(IF(CLOSE*1.2,VAR3*8,VAR3/8),8);
VAR5:=LLV(LOW,34);
VAR6:=HHV(VAR4,34);
VARX:=LLV(VAR4,34);
中线:=(VAR6+VARX)/2;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
drawicon(cross(j,k) and var4=var6 ,high*1,7);
drawicon(cross(j,k) and var4<var6 and var4=varx ,high*1,7); |