最强选股战法推荐:
同花顺量价K线主图选股指标公式源码
源码正文:
飞龙线:(ema(C,19)),POINTDOT,linethick8,coloryellow{XG51};
超短:ma(C,3){XG51};
主力成本线:MA(C,21){XG51};
中线:MA(C,49){XG51};
天眼:MA(C,13){XG51};
A0:="cpzb.zp"{XG51};
A1:="cpzb.cp"{XG51};
A2:="cpzb.DP"{XG51};
stICKLINE((A2>=2.1),H,L,0.8,0),colorred{XG51};
STICKLINE(((A2>=2.1) AND (C>OPEN)),8,0),colorred{XG51};
STICKLINE(((A2>=2.1) AND (C<OPEN)),8,0),colorred{XG51};
STICKLINE(((A2>=0) AND (A2<5)),H,L,0.8,0),colorred{XG51};
STICKLINE((((A2>=0) AND (A2<5)) AND (C>REF(C,1))),O,C,8,0),colorred{XG51};
STICKLINE((((A2>=0) AND (A2<5)) AND (C<REF(C,1))),C,O,8,0),colorred{XG51};
STICKLINE(((C>=飞龙线) AND (C>OPEN)),H,L,0.5,0),colorred{XG51};
STICKLINE(((C>=飞龙线) AND (C>OPEN)),C,O,8,1),colorred{XG51};
STICKLINE(((C>=飞龙线) AND (C=OPEN)),O,C,8,1),colorred{XG51};
STICKLINE(((C>=飞龙线) AND (C<OPEN)),H,L,0.5,0),colorred{XG51};
STICKLINE(((C>=飞龙线) AND (C<OPEN)),O,C,8,0),colorred{XG51};
STICKLINE(((C<=飞龙线) AND (C>OPEN)),H,L,0.5,1),colorcyan{XG51};
STICKLINE(((C<=飞龙线) AND (C>OPEN)),O,C,8,1),colorcyan{XG51};
STICKLINE(((C<=飞龙线) AND (C=OPEN)),O,C,8,1),colorcyan{XG51};
STICKLINE(((C<飞龙线) AND (C<OPEN)),H,L,0.5,0),colorcyan{XG51};
STICKLINE(((C<飞龙线) AND (C<OPEN)),O,C,8,0),colorcyan{XG51};
DRAWTEXT(A0,L,' ̄0.98 ̄'),linethick2,ALIGN1,ColorFFFFFF{XG51};
DRAWTEXT(A0,L*0.98,' B-B'),linethick5,ALIGN1,colorFFFFFF{XG51};
DRAWTEXT(A1,H,' ̄ ̄'),linethick2,ALIGN1,colorFFFFFF{XG51};
DRAWTEXT(A1,H*1.03,' S-S'),linethick5,colorFFFFFF{XG51};
STICKLINE(A1,C,O,8,0),colorFFFF00{XG51};
STICKLINE(A1,H,L,1,0),colorFFFF00{XG51};
STICKLINE(A0,C,O,8,0),ColorFFFFFF{XG51};
STICKLINE(A0,H,L,1,0),ColorFFFFFF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,0,0),ColorFFBBFF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,8,0),colormagenta{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,7,0),ColorFF22FF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,6,0),ColorFF44FF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,5,0),ColorFF66FF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,4,0),ColorFF88FF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,3,0),ColorFF99FF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,2,0),ColorFFAAFF{XG51};
STICKLINE((A2>=10 AND A2<30),C,O,1,0),ColorFFBBFF{XG51};
A3:=EMA((((SLOPE(C,21)) * 20) + C),68){XG51};
A4:=EMA(C,10){XG51};
A5:=REF(C,3){XG51};
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(Abs((C - A5)),6,1))) * 100{XG51};
A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0){XG51};
DRAWTEXT((crOSS(A4,A3)),L,''),linethick2,ALIGN1,colorred{XG51};
DRAWTEXT(A7,H,'○'),linethick3,colorgreen{XG51};
A8:=LLV(L,21){XG51};
A9:=HHV(H,21){XG51};
A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5){XG51};
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13){XG51};
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2){XG51};
A13:=LLV(L,55){XG51};
A14:=HHV(H,34){XG51};
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3){XG51};
A16:=(A11 + A15) / 2{XG51};
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2){XG51};
A18:=EMA(A16,5){XG51};
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2){XG51};
A20:=CROSS(A10,A11){XG51};
A21:=(CROSS(A10,A19)) AND (A19 < 30){XG51};
A22:=A21 * 0.6{XG51};
DRAWTEXT((A22 = 0.6),L,'◇'),ALIGN1,coloryellow{XG51};
DRAWTEXT((A20 = 1),L,'◇'),ALIGN1,colorwhite{XG51};
DA:(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT{XG51};
VAR3:=LLV(HIGH,240){XG51};
VAR4:=100*(CLOSE-VAR3)/VAR3{XG51};
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100{XG51};
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100{XG51};
VAR7:=0{XG51};
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100{XG51};
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100{XG51};
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0){XG51};
VAR11:=zig(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3){XG51};
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3){XG51};
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3){XG51};
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3){XG51};
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3){XG51};
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3){XG51};
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3){XG51};
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3){XG51};
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150){XG51};
买线:=EMA(C,2){XG51};
卖线:=EMA(SLOPE(C,21)*18+C,42){XG51};
BU:=CROSS(买线,卖线){XG51};
SEL:=CROSS(卖线,买线){XG51};
DRAWTEXT(bu,LOW,'买'),ALIGN1,VALIGN0,colorred,linethick3{XG51};
DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK8{XG51};
DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3{XG51};
DRAWTEXT(sel,HIGH,'卖'),ALIGN1,VALIGN2,colorgreen,linethick8{XG51};
STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),colorred{XG51};
STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),colorred{XG51};
STICKLINE(买线<卖线,CLOSE,OPEN,8,0),colorcyan{XG51};
STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorcyan{XG51};
STICKLINE(((买线>=卖线) AND (C>OPEN)),H,L,0.5,0),colorred{XG51};
STICKLINE(((买线>=卖线) AND (C>OPEN)),C,O,8,1),colorred{XG51};
STICKLINE(((买线>=卖线) AND (C=OPEN)),O,C,8,1),colorred{XG51};
STICKLINE(((买线>=卖线) AND (C<OPEN)),H,L,0.5,0),colorred{XG51};
STICKLINE(((买线>=卖线) AND (C<OPEN)),O,C,8,0),colorred{XG51};
STICKLINE(((买线<=卖线) AND (C>OPEN)),H,L,0.5,1),colorcyan{XG51};
STICKLINE(((买线<=卖线) AND (C>OPEN)),O,C,8,1),colorcyan{XG51};
STICKLINE(((买线<=卖线) AND (C=OPEN)),O,C,8,1),colorcyan{XG51};
STICKLINE(((买线<=卖线) AND (C<OPEN)),H,L,0.5,0),colorcyan{XG51};
STICKLINE(((买线<=卖线) AND (C<OPEN)),O,C,8,0),colorcyan{XG51};
STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,8,0),coloryellow{XG51};
STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,8,0),colorgreen{XG51};
VAR3:=LLV(HIGH,240){XG51};
VAR4:=100*(CLOSE-VAR3)/VAR3{XG51};
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100{XG51};
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100{XG51};
VAR7:=0{XG51};
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100{XG51};
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100{XG51};
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0){XG51};
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3){XG51};
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3){XG51};
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3){XG51};
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3){XG51};
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3){XG51};
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3){XG51};
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3){XG51};
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3){XG51};
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150){XG51};
买1:=VAR10{XG51};
买2:=(VAR11+VAR13+VAR15+VAR17){XG51};
卖1:=(VAR12+VAR14+VAR16+VAR18){XG51};
DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'关注'),coloryellow{XG51};
DRAWTEXT(卖1>0,HIGH*1.02,'风险'),colorgreen{X.G!5_1.C.N.{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7