通达信【波段神器】主副图 抄底逃顶高胜率操盘组合!指标源码

{波段神器主图源码如下}
{波段神器主图指标,无未来函数}

DC:=HHV(C,2);

DC1:=LLV(C,2);

MA3:=MA(C,3);

DC4:=(3*C+L+O+H)/6;

DCZ1:=(C>REF(C,1) AND C>REF(C,2));

DCZ2:=(REF(DCZ1,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ3:=(REF(DCZ2,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ4:=(REF(DCZ3,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ5:=(REF(DCZ4,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ6:=(REF(DCZ5,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ7:=(REF(DCZ6,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ8:=(REF(DCZ7,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ9:=(REF(DCZ8,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZA:=(REF(DCZ9,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZB:=(REF(DCZA,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZC:=(REF(DCZB,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZD:=(C<REF(C,1) AND C<REF(C,2));

DCZE:=(REF(DCZD,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZF:=(REF(DCZE,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ10:=(REF(DCZF,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ11:=(REF(DCZ10,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ12:=(REF(DCZ11,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ13:=(REF(DCZ12,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ14:=(REF(DCZ13,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ15:=(REF(DCZ14,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ16:=(REF(DCZ15,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ17:=(REF(DCZ16,1) AND C<=REF(C,1) AND C>=REF(C,2));

DCZ18:=(REF(DCZ17,1) AND C>=REF(C,1) AND C<=REF(C,2));

DCZ19:=((REF(DCZD OR DCZE OR DCZF OR DCZ10 OR DCZ11 OR DCZ12 OR DCZ13 OR DCZ14 OR DCZ15 OR DCZ16 OR DCZ17 OR DCZ18,1)) AND DCZ1);

DCZ1A:=((REF(DCZ1 OR DCZ2 OR DCZ3 OR DCZ4 OR DCZ5 OR DCZ6 OR DCZ7 OR DCZ8 OR DCZ9 OR DCZA OR DCZB OR DCZC,1)) AND DCZD);

红色持股:DCZ1 OR DCZ2 OR DCZ3 OR DCZ4 OR DCZ5 OR DCZ6 OR DCZ7 OR DCZ8 OR DCZ9 OR DCZA OR DCZB OR DCZC,COLOR0000FF,NODRAW;

离场:=IF(红色持股,DC1,DRAWNULL);

明离场价:=离场,COLORFF99FF,NODRAW;

今离场价:REF(离场,1)COLOR0000FF,NODRAW;

青色观望:DCZD OR DCZE OR DCZF OR DCZ10 OR DCZ11 OR DCZ12 OR DCZ13 OR DCZ14 OR DCZ15 OR DCZ16 OR DCZ17 OR DCZ18,COLORFFFF00,NODRAW;

进:=IF(青色观望,DC,DRAWNULL);

明进场价:=进,COLOR33AACC,NODRAW;

今进场价:REF(明进场价,1),COLORFF0000,NODRAW;

短买:DCZ19,COLOR33AACC,NODRAW;

品红离场:DCZ1A,COLORFF99FF,NODRAW;

急速超跌:(C-MA(C,34))/MA(C,34)*100<-14,COLORFFFFFF,NODRAW;

织女线:(20*DC4+19*REF(DC4,1)+18*REF(DC4,2)+17*REF(DC4,3)+16*REF(DC4,4)+15*REF(DC4,5)+14*REF(DC4,6)+13*REF(DC4,7)+12*REF(DC4,8)+11*REF(DC4,9)+10*REF(DC4,10)+9*REF(DC4,11)+8*REF(DC4,12)+7*REF(DC4,13)+6*REF(DC4,14)+5*REF(DC4,15)+4*REF(DC4,16)+3*REF(DC4,17)+2*REF(DC4,18)+REF(DC4,20))/211,COLOR0000FF;

牵牛线:MA(C,26),COLORFF00FF;

等待:=IF(MA3>织女线,织女线,MA3);

IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF; IF(织女线>REF(织女线,1),织女线,DRAWNULL),LINETHICK2,COLOR0000FF;

IF(织女线<REF(织女线,1),织女线,DRAWNULL),COLOR00FF00; IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF; IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;

STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;

STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;

STICKLINE(C>=O,L,H,0,0),COLOR0000CC;

STICKLINE(C<O,L,H,0,0),COLOR999900;

STICKLINE(1,C,O,3.5,0),COLOR858500;

STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;

STICKLINE(红色持股,C,O,2.8,0),COLOR000055;

STICKLINE(红色持股,C,O,2,0),COLOR000088;

STICKLINE(红色持股,C,O,1.5,0),COLOR0000AA;

STICKLINE(红色持股,C,O,1,0),COLOR0000CC;

STICKLINE(红色持股,C,O,0.5,0),COLOR0000EE;

STICKLINE(青色观望,C,O,2.8,0),COLOR555500;

STICKLINE(青色观望,C,O,2,0),COLOR888800;

STICKLINE(青色观望,C,O,1.5,0),COLORAAAA00;

STICKLINE(青色观望,C,O,1,0),COLORCCCC00;

STICKLINE(青色观望,C,O,0.5,0),COLOREEEE00;

JB:=(C-O);

STICKLINE(急速超跌,O,C-JB/2,2.8,0),COLOR555555;

STICKLINE(急速超跌,O,C-JB/2,2,0),COLOR888888;

STICKLINE(急速超跌,O,C-JB/2,1.5,0),COLORAAAAAA;

STICKLINE(急速超跌,O,C-JB/2,1,0),COLORCCCCCC;

STICKLINE(急速超跌,O,C-JB/2,0.5,0),COLOREEEEEE;

STICKLINE(短买,O,O+JB/3,2.8,0),COLOR335555;

STICKLINE(短买,O,O+JB/3,2,0),COLOR338888;

STICKLINE(短买,O,O+JB/3,1.5,0),COLOR33AAAA;

STICKLINE(短买,O,O+JB/3,1,0),COLOR33CCCC;

STICKLINE(短买,O,O+JB/3,0,0),COLOR33EEEE;

DRAWTEXT(短买,REF(C,1),'←短买'),COLOR33FFCC;

STICKLINE(品红离场,O,O+JB/3,2.8,0),COLOR550055;

STICKLINE(品红离场,O,O+JB/3,2,0),COLOR880088;

STICKLINE(品红离场,O,O+JB/3,1.5,0),COLORAA00AA;

STICKLINE(品红离场,O,O+JB/3,1,0),COLORCC00CC;

STICKLINE(品红离场,O,O+JB/3,0.5,0),COLOREE00EE;

DRAWTEXT(品红离场,REF(C,1)+0.1,'←离场'),COLORFF99FF;


{波段神器副图源码如下}

{波段神器副图指标,无未来函数}

DCZ1:=REF(CLOSE,1);

DCZ2:=SMA(MAX(CLOSE-DCZ1,0),7,1)/SMA(ABS(CLOSE-DCZ1),7,1)*100,COLORYELLOW;

分批买:IF(DCZ2<24,40,77),COLORLIMAGENTA;

分批卖:IF(DCZ2>77,60,24),COLORFFFF50;

DCZ2UP:STICKLINE(FILTER(REF(DCZ2,1)<24 AND DCZ2>REF(DCZ2,1),5),24,40,1,0),COLORRED;

DCZ2DOWN:STICKLINE(FILTER(REF(DCZ2,1)>77 AND DCZ2<REF(DCZ2,1),5),60,77,1,0),COLORGREEN;

DRAWTEXT(FILTER(REF(DCZ2,1)<24 AND DCZ2>REF(DCZ2,1),4),45 ,'买' ),COLORYELLOW;

DRAWTEXT(FILTER(REF(DCZ2,1)>77 AND DCZ2<REF(DCZ2,1),4),55 ,'卖' ),COLORGREEN;

DRAWICON(FILTER(REF(DCZ2,1)<24 AND DCZ2>REF(DCZ2,1),4),LOW+7,9);

DRAWICON(FILTER(REF(DCZ2,1)>77 AND DCZ2<REF(DCZ2,1),4),70,15);

77,COLORGREEN LINETHICK1;

24,COLORRED LINETHICK1;



来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股朋指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股朋指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股朋指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图