通达信洗盘杀入源码

洗盘杀入源码

VAR1:=5;
 VAR2:=REF(HIGH,VAR1)=HHV(HIGH,2*VAR1+1);
 VAR3:=FILTER(VAR2,VAR1);
 VAR4:=BACKSET(VAR3,VAR1+1);
 VAR5:=FILTER(VAR4,VAR1);
 VAR6:=BACKSET(CURRBARSCOUNT=2,BARSLAST(VAR5)+1);
 VAR7:=VAR6>REF(VAR6,1);
 H1:REF(HIGH,BARSLAST(VAR7));
 VAR8:=REF(LOW,VAR1)=LLV(LOW,2*VAR1+1);
 VAR9:=FILTER(VAR8,VAR1);
 VAR10:=BACKSET(VAR9,VAR1+1);
 VAR11:=FILTER(VAR10,VAR1);
 VAR12:=BACKSET(CURRBARSCOUNT=2,BARSLAST(VAR11)+1);
 VAR13:=VAR12>REF(VAR12,1);
 L1:REF(LOW,BARSLAST(VAR13));
 VAR14:=CONST(HHV(HIGH,120))*1;
 VAR15:=CONST(LLV(LOW,120))*1;
 VAR16:=CONST((VAR14+VAR15)/2);
 VAR17:=IF(CONST(CLOSE)<VAR16,VAR15-(VAR14-VAR15)*0.4,VAR15-(VAR14-VAR15)*0.2);
 VAR18:=VAR15;
 VAR19:=MAX(VAR17,VAR18);
 VAR20:=MIN(VAR17,VAR18);
 VAR21:=(VAR19+VAR20)/2;
 VAR22:=VAR19-VAR20;
 VAR23:=HHV(VOL,250)/2;
 VAR24:=HHV(VOL,250);
 VAR25:=STD(VOL,10);
 VAR26:=(VAR25-VAR23)*VAR22/VAR24+VAR21;
 STICKLINE(CLOSE>OPEN,VAR26,(0-VAR23)*VAR22/VAR24+VAR21,2,1),COLOR881888;
 STICKLINE(CLOSE<=OPEN,VAR26,(0-VAR23)*VAR22/VAR24+VAR21,2,0),COLOR888518;
 VAR27:=MA(VAR25,5);
 VAR28:=MA(VAR25,10);
 STICKLINE(IF(CURRBARSCOUNT<=VAR1,VOL=CONST(LLV(VOL,VAR1)),DRAWNULL),VAR26,(0-VAR23)*VAR22/VAR24+VAR21,3,0),COLORMAGENTA;
 VAR29:=VOL/REF(VOL,1);
 VAR30:=VOL;
 VAR31:=VOL*10000/FINANCE(7);
 VAR32:=VOL>=REF(VOL,1)*1.95 AND CLOSE>REF(CLOSE,1);
 VAR33:=VOL>=REF(VOL,1) AND REF(VOL,1)>=REF(VOL,2) AND CLOSE>OPEN AND REF(CLOSE>OPEN,1);
 STICKLINE(VAR33,VAR26,(0-VAR23)*VAR22/VAR24+VAR21,1,0),COLORLIRED;
 STICKLINE(VAR32,VAR26,(0-VAR23)*VAR22/VAR24+VAR21,1,0),COLORYELLOW;
 STICKLINE(IF(CURRBARSCOUNT<=N1,VOL=CONST(LLV(VOL,N1)),DRAWNULL),VAR26,(0-VAR23)*VAR22/VAR24+VAR21,3,0),COLORMAGENTA;
 STICKLINE(IF(CURRBARSCOUNT<=N2,VOL=CONST(LLV(VOL,VAR1)),DRAWNULL),VAR26,(0-VAR23)*VAR22/VAR24+VAR21,3,0),COLORMAGENTA;
 STICKLINE(IF(CURRBARSCOUNT<=N3,VOL=CONST(LLV(VOL,VAR1)),DRAWNULL),VAR26,(0-VAR23)*VAR22/VAR24+VAR21,3,0),COLORMAGENTA;
 STICKLINE(IF(CURRBARSCOUNT<=N4,VOL=CONST(LLV(VOL,VAR1)),DRAWNULL),VAR26,(0-VAR23)*VAR22/VAR24+VAR21,3,0),COLORMAGENTA;
 VAR34:=100;
 VAR35:=VOL=LLV(VOL,VAR34) AND VOL>0 AND BARSCOUNT(VOL)>=VAR34;
 STICKLINE(VAR35,OPEN,CLOSE,1.8,0),COLORMAGENTA;
 VAR36:=13;
 VAR37:=55;
 VAR38:=VOL=LLV(VOL,VAR36) AND VOL>0 AND BARSCOUNT(VOL)>=VAR36;
 VAR39:=VOL=LLV(VOL,VAR37) AND VOL>0 AND BARSCOUNT(VOL)>=VAR37;
 STICKLINE(VAR38,OPEN,CLOSE,1.8,0),COLORWHITE;
 STICKLINE(VAR39,OPEN,CLOSE,1.8,0),COLORWHITE;
 VAR40:=REF(CLOSE,1);
 VAR41:=IF((CLOSE-VAR40)*100/VAR40>=10-0.01*100/VAR40,1,0);
 STICKLINE(VAR41,OPEN,CLOSE,(-1),0),COLORMAGENTA;
 VAR42:=IF((VAR40-CLOSE)*100/VAR40>=10-0.01*100/VAR40,1,0);
 STICKLINE(VAR42,OPEN,CLOSE,(-1),0),COLORBLUE;
 STICKLINE(VAR42,HIGH,LOW,0,1),COLORBLUE;
涨家数:INDEXADV,NODRAW,COLORLIMAGENTA;
跌家数:INDEXDEC,NODRAW,COLORGREEN;
 VAR43:=CONST(HHV(HIGH,120))*1;
 VAR44:=CONST(LLV(LOW,120))*1;
 VAR45:=CONST((VAR43+VAR44)/2);
 VAR46:=IF(CONST(CLOSE)<VAR45,VAR44-(VAR43-VAR44)*0.4,VAR44-(VAR43-VAR44)*0.2);
 VAR47:=VAR44;
 VAR48:=MAX(VAR46,VAR47);
 VAR49:=MIN(VAR46,VAR47);
 VAR50:=(VAR48+VAR49)/2;
 VAR51:=VAR48-VAR49;
 VAR52:=HHV(VOL,250)/2;
 VAR53:=HHV(VOL,250);
 VAR54:=(VOL-VAR52)*VAR51/VAR53+VAR50;
 STICKLINE(CLOSE>=OPEN,VAR54,(0-VAR52)*VAR51/VAR53+VAR50,2,1),COLORRED;
 STICKLINE(CLOSE<OPEN,VAR54,(0-VAR52)*VAR51/VAR53+VAR50,2,0),COLORCYAN;
 VAR55:=CLOSE<OPEN;
 VAR56:=OPEN-CLOSE;
 VAR57:=BARSLAST(CLOSE>=OPEN);
 VAR58:=REF(CLOSE,VAR57)-REF(OPEN,VAR57);
 VAR59:=VAR57<3;
 VAR60:=VAR56-VAR58>0;
 VAR61:=VOL<REF(VOL,VAR57);
 VAR62:=VOL<REF(VOL,VAR57) AND REF(VOL,1)<REF(VOL,2);
 VAR63:=IF(VAR57=2,VAR62,VAR61);
 VAR64:=VAR59 AND VAR60 AND VAR62;
 VAR65:=VOL<SUM(VOL,5)/5;
 VAR66:=VOL<REF(VOL,VAR57)*1/4+REF(VOL,12)*3/4;
 VAR67:=VOL<1/3*SUM(VOL,5)/5+1/3*REF(VOL,VAR57)+1/3*LLV(VOL,5);
 VAR68:=10>100*SUM(DYNAINFO(37),5)/5;
 VAR69:=10000000*(HIGH-LOW)/VOL;
 VAR70:=10000000*(REF(HIGH,VAR57)-REF(LOW,VAR57))/REF(VOL,VAR57);
 VAR71:=SUM(VAR70,12)/12;
 VAR72:=VAR69>VAR71;
 VAR73:=VAR65 AND VAR67 AND VAR68 AND VAR72;
 VAR74:=VAR64 AND VAR73;
 DRAWICON(VAR74,HIGH*1.01,27);
 VAR75:=CONST(LLVBARS(LOW,10));
 VAR76:=CONST(REF(HIGH,VAR75));
 VAR77:=CONST(CURRBARSCOUNT);
 VAR78:=CONST(BARSLAST(CURRBARSCOUNT>VAR77+VAR75 AND HIGH>VAR76));
 VAR79:=CONST(REF(HIGH,VAR78));
 VAR80:=CONST(BARSLAST(CURRBARSCOUNT>VAR77+VAR78 AND HIGH>VAR79));
 VAR81:=CONST(REF(HIGH,VAR80));
洗盘杀入线:DRAWLINE(CURRBARSCOUNT=VAR80+1,VAR81,ISLASTBAR,VAR81,1),COLORRED;
 DRAWTEXT(ISLASTBAR,VAR81,33),COLORYELLOW;
 STICKLINE(CLOSE/REF(CLOSE,1)>1.095,CLOSE,OPEN,2,0),DOTLINE,COLORYELLOW;
 VAR82:=CONST(HHV(VOL,21));
 VAR83:=CONST(HHV(HIGH,21));
 VAR84:=VAR82/VAR83;
 VAR85:=VOL/VAR84*0.1;
 VAR86:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VAR85,0));
 NOTEXT1:MA(VAR85,2)+VAR86;
 NOTEXT2:MA(VAR85,6)+VAR86;
 NOTEXT3:MA(VAR85,30)+VAR86;




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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