以下是大智慧.通达信.三和一60%成功率的 源码.幅图
【大智慧.通达信.选股】三和一的可信度能达到有60%成功率的波段公式.如果你能配合MCST线就可以大大提高赚钱效应的可靠性.成本线的用法和BOLL相同.通达信版本必需能用函数【WMA】
没有一成不变的事情.你可以试试用BOLL替代成本线效果也不错
【MID : MA(ZC5,18);
UPPER: MID + 1.8*STD(ZC5,18);
LOWER: MID - 1.8*STD(ZC5,18);】
--建议你以后使用公式做高抛低吸都要检查他的波段成功率.不能达到60%的还是不用为好.我们不是见一个公式要一个公式.学会鉴别能力.有选择的使用公式.那叫【去伪存真】吧.-----------
大智慧源码:--------------------------------------------
DRAWGBKlast(c 0,strip(RGB(0,0,80),RGB(0,20,40),0));
{相似K线}
STICKLINE(C =REF(C,1),H,L,0,0),COLOR0000FF;
STICKLINE(CLOSE =REF(C,1),O,C,1.8,0),COLOR0099FF;
STICKLINE(CLOSE REF(C,1),H,L,0,0),COLOR00FF00;
STICKLINE(CLOSE REF(C,1),O,C,1.8,0),COLORFF9900;
{收盘重心}
CC:=WMA(C,2); HH:=HHV(H,5); LL:=LLV(L,5);
ZC5:WMA((2*CC+HH+LL)/4,5),COLOR00FF00,LINETHICK2,LAYER0;
PARTLINE(ZC5,ZC5 REF(ZC5,1),rgb(255,120,0)),LINETHICK2,LAYER0;
FILLRGN(ZC5,REF(ZC5,1),ZC5 REF(ZC5,1),RGB(0,40,40)),LAYER7;
FILLRGN(ZC5,REF(ZC5,1),ZC5 REF(ZC5,1),RGB(180,0,0)),LAYER7;
{【注意】这两句在图上功能.他可以预判的微妙变化}
STICKLINE(CC AND CC =ZC5,CC,CC,6,500),COLOR0000FF,LINETHICK1;
STICKLINE(CC AND CC ZC5,CC,CC,6,500),COLOR00FF00,LINETHICK1;
{成本通道在指数不能用.你可以改用我前边写的【BOLL】}
MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORFF9900,DOTLINE;
MCST*1.092 ,COLOR0044FF;
MCST*0.908 ,COLOR00FF00;
通达信源码:-------------------------------------------------------------------------
DRAWGBK(O C,RGB(40,0,40),RGB(0,50,40),0,'01',0);
{相似K线}
STICKLINE(C =REF(C,1),H,L,0,0),COLOR0000FF;
STICKLINE(CLOSE =REF(C,1),O,C,0.2,0),COLOR0099FF;
STICKLINE(CLOSE REF(C,1),H,L,0,0),COLOR00FF00;
STICKLINE(CLOSE REF(C,1),O,C,0.2,0),COLORFF9900;
{收盘重心}
CC:=WMA(C,3); HH:=HHV(H,5); LL:=LLV(L,5);
ZC5:WMA((2*CC+HH+LL)/4,5),COLOR00FF00,LINETHICK2;
DRAWBAND(ZC5,RGB(255,0,0),REF(ZC5,1),RGB(0,0,255));
WMA((2*CC+HH+LL)/4,5),COLOR00FF00;
IF(ZC5 REF(ZC5,1),ZC5,DRAWNULL),COLORRED,LINETHICK3;
REF(ZC5,1),COLOR00FFFF;
{【注意】这两句在图上功能.他可以预判趋势的微妙变化}
STICKLINE(CC AND CC =ZC5,CC,CC,3,0),COLOR0000FF,LINETHICK1;
STICKLINE(CC AND CC ZC5,CC,CC,3,0),COLOR00FF00,LINETHICK1;
MCST:DMA(AMOUNT/(100*VOL),VOL/CAPITAL),COLORFF9900,DOTLINE;
MCST*1.092 ,COLOR0077FF;
MCST*0.908 ,COLOR00FF00;
选股源码:------------------------------------------------------------------------
CC:=WMA(C,2); HH:=HHV(H,5); LL:=LLV(L,5); 【参数是可变的现在是2.5.5.当然也可以3.5.5以及3.8.8等等}
ZC5:=WMA((2*CC+HH+LL)/4,5);
CROSS(ZC5,REF(ZC5,1)) AND CC ZC5 AND C REF(C,1) AND V MA(V,20) AND DYNAINFO(4);