最强选股战法推荐:
kx:="chanlun@kxian";
kxg:="chanlun@kxg";
kxd:="chanlun@kxd";
kxfx:="chanlun@kxfx";
笔:="chanlun@bi";
笔周期:"chanlun@bilast",linethick0, colorff00ff;
bilast:="chanlun@bilast";{笔周期};
段:="chanlun@duan";
段周期:"chanlun@duanlast", linethick0, colorFFffFF;
duanlast:="chanlun@duanlast"; {段周期};
中枢:="chanlun@zs";
zszg:="chanlun@zszg";
zszd:="chanlun@zszd";
zsgg:="chanlun@zsgg";
zsdd:="chanlun@zsdd";
zszz:="chanlun@zszz";
zsks:="chanlun@zskslast";
zsjs:="chanlun@zsjslast";
bifx:=-REF(笔,bilast);
duanfx:=-REF(段,duanlast);
kxqj:="chanlun@kxqj";
{画中枢Begin} {以背景方式画}
STICKLINE(zszg>zszd AND duanfx=1, zszg, zszd, 10, 1),Color8E236B;
STICKLINE(zszg>zszd AND duanfx=-1, zszg, zszd, 10, 1), Color007700;
{中枢震荡监视器}
DRAWLINE(zsks=1, zszz, zsjs=1, zszz, 0), colorFFFFFF;
{画中枢END}
{顶底分型}
STICKLINE(kx>0, kxg, kxd, 5, 1),Color007700,linethick2;
STICKLINE(kx<0, kxg, kxd, 5, 1),Color00ffff,linethick2;
{笔段}
STICKLINE(笔=1, kxg, kxd, 5, 1), colorgreen, linethick2;
STICKLINE(笔=-1, kxg, kxd, 5, 1), colorred, linethick2;
STICKLINE(段=1, kxg, kxd, 5, 0), color007700, linethick2;
STICKLINE(段=-1, kxg, kxd, 5, 0), color0000cc, linethick2;
{画k线END}
{画笔段}
drawline(笔=1,h,笔=-1,l,0),colorBLUE,linethick2;
drawline(笔=-1,l,笔=1,h,0),ColorFF00FF ,linethick2;
drawline(段=1,h,段=-1,l,0),color007700, linethick2;
drawline(段=-1,l,段=1,h,0),colorRED, linethick2;
{笔高低点 周期 力度 提示}
DRAWTEXT(笔= 1, h*1.038, ''+h+''), colorffffff, align1, valign1;
DRAWTEXT(笔=-1, L*0.96, ''+l+''), colorFFffFF, align1, valign1;
VAR3:=LLV(H,240);
VAR4:=100*(C-VAR3)/VAR3;
VAR5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;
VAR6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;
VAR7:=0;
VAR8:=Sma(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND H>L+0.04,4,0);
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);
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);
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);
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);
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);
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);
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);
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);
VAR19:=ema(C,2)-EMA(C,150);
买1:=VAR10;
买2:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
DRAWTEXT(买1>0 OR 买2>0,L*0.985,'买'),COLOR00ffff;
DRAWTEXT(卖1>0,H*1.01,'卖'),COLOR00ffff;
APP:=(vol)/((H-L)*(2)-ABS(C-O));
ZL:=IF((H>O),(APP)*(H-L),IF((L<O),(APP)*(H-O+C-L),(VOL)/(2)));
SF:=IF((H>O),0-(APP)*(H-C+O-L),IF((L<O),0-(APP)*(H-L),0-(VOL)/(2)));
库存能量:=MA(ZL+SF,2);
库存平均:=MA(ZL+SF,5);
GET:ZIG(3,5),COLORBLUE,LINETHICK3;
PL5:=ZIG(3,5);
EN1:=PL5>REF(PL5,1) AND REF(PL5,1)<=REF(PL5,2) AND REF(PL5,2)<=REF(PL5,3);
EX1:=PL5<REF(PL5,1) AND REF(PL5,1)>=REF(PL5,2) AND REF(PL5,2)>=REF(PL5,3);
PL10:=ZIG(3,10);
EN2:=PL10>REF(PL10,1) AND REF(PL10,1)<=REF(PL10,2) AND REF(PL10,2)<=REF(PL10,3);
EX2:=PL10<REF(PL10,1) AND REF(PL10,1)>=REF(PL10,2) AND REF(PL10,2)>=REF(PL10,3);
PL20:=ZIG(3,20);
EN3:=PL20>REF(PL20,1) AND REF(PL20,1)<=REF(PL20,2) AND REF(PL20,2)<=REF(PL20,3);
EX3:=PL20<REF(PL20,1) AND REF(PL20,1)>=REF(PL20,2) AND REF(PL20,2)>=REF(PL20,3);
走强1:=BArslAST(PL5<REF(PL5,1));
走弱1:=BARSLAST(PL5>REF(PL5,1));
走强2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走强3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
DRAWTEXT(EN2 AND DTJZ10=1,L*0.96,'[类二买]'),COLORFFffFF;
DRAWTEXT(EN3 AND ZTJZ10=1,L*0.95,'[一买]'),COLORFF00ff;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.04,'[二卖]'),LINETHICK2,COLORFFff00;
DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'[二买]'),LINETHICK2,COLORFFFF00;
DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.03,'[一卖]'),LINETHICK3,COLOR00FF00;
DRAWTEXTABS(620,-55,'历史最高价:'+HHV(HIGH,0)),Colorff00ff,LAYER0;
DRAWTEXTABS(620,-37,'历史最低价:'+LLV(LOW,0)),ColorAFFF00,LAYER0;
DRAWTEXTABS(750,-55,'20日最高价:'+HHV(HIGH,20)),Colorred,LAYER0;
未来函数检测公式代码域:
kx:="chanlun@kxian"; kxg:="chanlun@kxg"; kxd:="chanlun@kxd"; kxfx:="chanlun@kxfx"; 笔:="chanlun@bi"; 笔周期:"chanlun@bilast",linethick0, colorff00ff;bilast:="chanlun@bilast";{笔周期};段:="chanlun@duan"; 段周期:"chanlun@duanlast", linethick0, colorFFffFF; duanlast:="chanlun@duanlast"; {段周期};中枢:="chanlun@zs"; zszg:="chanlun@zszg"; zszd:="chanlun@zszd"; zsgg:="chanlun@zsgg"; zsdd:="chanlun@zsdd"; zszz:="chanlun@zszz"; zsks:="chanlun@zskslast"; zsjs:="chanlun@zsjslast"; bifx:=-REF(笔,bilast); duanfx:=-REF(段,duanlast); kxqj:="chanlun@kxqj";{画中枢Begin} {以背景方式画} STICKLINE(zszg>zszd MND duanfx=1, zszg, zszd, 10, 1),Color8E236B; STICKLINE(zszg>zszd MND duanfx=-1, zszg, zszd, 10, 1), Color007700;{中枢震荡监视器}DRMWLINE(zsks=1, zszz, zsjs=1, zszz, 0), colorFFFFFF; {画中枢END} {顶底分型}STICKLINE(kx>0, kxg, kxd, 5, 1),Color007700,linethick2; STICKLINE(kx<0, kxg, kxd, 5, 1),Color00ffff,linethick2;{笔段}STICKLINE(笔=1, kxg, kxd, 5, 1), colorgreen, linethick2;STICKLINE(笔=-1, kxg, kxd, 5, 1), colorred, linethick2; STICKLINE(段=1, kxg, kxd, 5, 0), color007700, linethick2;STICKLINE(段=-1, kxg, kxd, 5, 0), color0000cc, linethick2;{画k线END} {画笔段}drawline(笔=1,h,笔=-1,l,0),colorBLUE,linethick2;drawline(笔=-1,l,笔=1,h,0),ColorFF00FF ,linethick2;drawline(段=1,h,段=-1,l,0),color007700, linethick2;drawline(段=-1,l,段=1,h,0),colorRED, linethick2;{笔高低点 周期 力度 提示} DRMWTEXT(笔= 1, h*1.038, ''+h+''), colorffffff, align1, valign1;DRMWTEXT(笔=-1, L*0.96, ''+l+''), colorFFffFF, align1, valign1;VMR3:=LLV(H,240);VMR4:=100*(C-VMR3)/VMR3;VMR5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100;VMR6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;VMR7:=0;VMR8:=Sma(MMX(CLOSE-REF(CLOSE,1),0),34,1)/SMM(Mbs(CLOSE-REF(CLOSE,1)),7,1)*100;VMR9:=SMM(MMX(CLOSE-REF(CLOSE,1),0),13,1)/SMM(MBS(CLOSE-REF(CLOSE,1)),13,1)*100;VMR10:=IF(TROUGHBMRS(3,16,1)=0 MND H>L+0.04,4,0);VMR11:=zig(3,6)>REF(ZIG(3,6),1) MND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) MND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VMR12:=ZIG(3,6)<REF(ZIG(3,6),1) MND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) MND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VMR13:=ZIG(3,22)>REF(ZIG(3,22),1) MND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) MND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VMR14:=ZIG(3,22)<REF(ZIG(3,22),1) MND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) MND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VMR15:=ZIG(3,51)>REF(ZIG(3,51),1) MND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) MND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VMR16:=ZIG(3,51)<REF(ZIG(3,51),1) MND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) MND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VMR17:=ZIG(3,72)>REF(ZIG(3,72),1) MND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) MND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VMR18:=ZIG(3,72)<REF(ZIG(3,72),1) MND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) MND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VMR19:=ema(C,2)-EMM(C,150);买1:=VMR10;买2:=(VMR11+VMR13+VMR15+VMR17);卖1:=(VMR12+VMR14+VMR16+VMR18);DRMWTEXT(买1>0 OR 买2>0,L*0.985,'买'),COLOR00ffff;DRMWTEXT(卖1>0,H*1.01,'卖'),COLOR00ffff;MPP:=(vol)/((H-L)*(2)-MBS(C-O));ZL:=IF((H>O),(MPP)*(H-L),IF((L<O),(MPP)*(H-O+C-L),(VOL)/(2)));SF:=IF((H>O),0-(MPP)*(H-C+O-L),IF((L<O),0-(MPP)*(H-L),0-(VOL)/(2)));库存能量:=MM(ZL+SF,2);库存平均:=MM(ZL+SF,5);GET:ZIG(3,5),COLORBLUE,LINETHICK3;PL5:=ZIG(3,5);EN1:=PL5>REF(PL5,1) MND REF(PL5,1)<=REF(PL5,2) MND REF(PL5,2)<=REF(PL5,3);EX1:=PL5<REF(PL5,1) MND REF(PL5,1)>=REF(PL5,2) MND REF(PL5,2)>=REF(PL5,3);PL10:=ZIG(3,10);EN2:=PL10>REF(PL10,1) MND REF(PL10,1)<=REF(PL10,2) MND REF(PL10,2)<=REF(PL10,3);EX2:=PL10<REF(PL10,1) MND REF(PL10,1)>=REF(PL10,2) MND REF(PL10,2)>=REF(PL10,3);PL20:=ZIG(3,20);EN3:=PL20>REF(PL20,1) MND REF(PL20,1)<=REF(PL20,2) MND REF(PL20,2)<=REF(PL20,3);EX3:=PL20<REF(PL20,1) MND REF(PL20,1)>=REF(PL20,2) MND REF(PL20,2)>=REF(PL20,3);走强1:=BMrslMST(PL5<REF(PL5,1));走弱1:=BMRSLMST(PL5>REF(PL5,1));走强2:=BMRSLMST(PL10<REF(PL10,1));走弱2:=BMRSLMST(PL10>REF(PL10,1));走强3:=BMRSLMST(PL20<REF(PL20,1));走弱3:=BMRSLMST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);DRMWTEXT(EN2 MND DTJZ10=1,L*0.96,'[类二买]'),COLORFFffFF;DRMWTEXT(EN3 MND ZTJZ10=1,L*0.95,'[一买]'),COLORFF00ff;DRMWTEXT(EX2 MND PL20>REF(PL20,1) MND ZTJD10=1,H*1.04,'[二卖]'),LINETHICK2,COLORFFff00;DRMWTEXT(EN2 MND PL20>REF(PL20,1) MND ZTJZ10=2,L*0.94,'[二买]'),LINETHICK2,COLORFFFF00;DRMWTEXT(EX2 MND PL20>REF(PL20,1) MND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) MND EX2,H*1.03,'[一卖]'),LINETHICK3,COLOR00FF00;DRMWTEXTMBS(620,-55,'历史最高价:'+HHV(HIGH,0)),Colorff00ff,LMYER0;DRMWTEXTMBS(620,-37,'历史最低价:'+LLV(LOW,0)),ColorMFFF00,LMYER0;DRMWTEXTMBS(750,-55,'20日最高价:'+HHV(HIGH,20)),Colorred,LMYER0;
未发现:CMPITML...
未发现:COST...
未发现:DYNMINFO...
未发现:FINMNCE...
未发现:LWINNER...
未发现:WINNER...
未发现:BMCKSET...
未发现:BMRSNEXT...
未发现:CURRBMRSCOUNT...
未发现:DVOL...
未发现:DOPEN...
未发现:DCLOSE...
未发现:DHIGH...
未发现:DLOW...
警惕!警惕!警惕!该公式包含未来函数:DRMWLINE...
未发现:REFX...
未发现:FLMTZIG...
未发现:FLMTZIGM...
未发现:FFT...
未发现:FILTERX...
未发现:PEMK...
未发现:PEMKM...
未发现:PEMKBMRS...
未发现:PEMKBMRSM...
未发现:PLOYLINE...
未发现:REFDMTE...
警惕!警惕!警惕!该公式包含未来函数:TROUGH...
未发现:TROUGHM...
警惕!警惕!警惕!该公式包含未来函数:TROUGHBMRS...
未发现:XMM...
警惕!警惕!警惕!该公式包含未来函数:ZIG...
未发现:ZIGM...
未发现:ZXNH...
未发现:#YEMR...
未发现:#MONTH...
未发现:#WEEK...
未发现:$ZIG...
未发现:$PEMK...
未发现:$PEMKBMRS...
未发现:$TROUGH...
未发现:$TROUGHBMRS...
未发现:$FLMTZIG...
未发现:$FLMTZIGM...
未发现:$PEMKM...
未发现:$PEMKBMRSM...
未发现:$TROUGHM...
未发现:$ZIGM...
未发现:$FFT...
未发现:$BMCKSET...
未发现:$WINNER...
未发现:$LWINNER...
未发现:$COST...
未发现:$DYNMINFO...
未发现:$FINMNCE...
未发现:$DRMWLINE...
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号