【倍量炸板】公式用到画线函数信号未使用未来函数不影响使用主图+选股公式

VAR1:=IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1));VAR2:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,VAR1)));VAR3:=IF(MOD(FROMOPEN,VAR2)<0.5,VAR2,MOD(FROMOPEN,VAR2));VAR4:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),V*(VAR2+3)/(VAR3+3),V);VAR5:=IF(FINANCE(3)=2,0.3,IF((FINANCE(3)=3 OR FINANCE(3)=4 OR FINANCE(3)=6),0.2,0.1));VAR6:=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));VAR7:=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5));VAR8:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND H>0;VAR9:=C>=ZTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND H>0;VAR10:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND L>0;VAR11:=C<=DTPRICE(REF(C,1),IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND L>0;VAR12:=EMA(COST(85),10)>=REF(EMA(COST(85),10),1);VAR13:=VAR12 AND EMA(COST(99),10)>=REF(EMA(COST(99),10),1);VAR14:=BARSLAST(H>=VAR6 AND C<H);VAR15:=REF(VAR14,VAR14+1)+VAR14+1;VAR16:=REF(VAR14,VAR15+2)+VAR15+2;VAR17:=CROSS(C,REF(AMOUNT/V/100,VAR14));VAR18:=VAR17 OR (REF(C<=REF(AMOUNT/V/100,VAR14),1) AND C>REF(AMOUNT/V/100,VAR14));VAR19:=BETWEEN(VAR14,1,8) AND (VAR18) AND REF(COUNT(C>REF(REF(H,VAR14),1),VAR14),1)=0 AND C>O;VAR20:=C>REF(REF(AMOUNT/V/100,VAR14),1) AND C>O;VAR21:=VAR14>8 AND REF(C,1)<=REF(REF(AMOUNT/V/100,VAR14),1) AND VAR20;VAR22:=VAR14>8 AND REF(C,1)<=REF(REF(H,VAR14),1) AND C>REF(REF(H,VAR14),1) AND C>O;VAR23:=REF(VAR8 OR VAR9,1) AND C<O;VAR24:=VAR23 AND (V>=REF(V,1)*1.9 OR AMOUNT>=REF(AMOUNT,1)*1.9);VAR25:=BARSLAST(VAR24);VAR26:=H=C OR (O>=REF(H,1) AND C>O);VAR27:=H-MAX(O,C)<MAX(O,C)-MIN(O,C);VAR28:=MAX(O,C)-MIN(O,C)>(H-MAX(O,C))*1.38;VAR29:=MAX(O,C)-MIN(O,C)>MIN(O,C)-L AND MAX(O,C)-MIN(O,C)>H-MAX(O,C);VAR30:=IF(VAR26,1,IF(L=O,VAR27,IF(H-MAX(O,C)>MIN(O,C)-L,VAR28,IF(L<O AND H>C,VAR29,DRAWNULL))));VAR31:=DYNAINFO(4)>0 AND BARSLASTCOUNT(C/REF(C,1)>1.09)=1;VAR32:=BARSLAST(BARSLASTCOUNT(C>REF(C,4))=9>0);VAR33:=VAR32>4 AND C/REF(C,1)>1.09 AND C>REF(H,VAR32) AND VAR31;VAR34:=MAX(MAX((H-L),ABS((REF(C,1)-H))),ABS((REF(C,1)-L)));VAR35:=(REF(CLOSE,1)-REF(MA(VAR34,13),1));VAR36:=(C-REF(C,1))/REF(C,1)*100<-5.5 OR C/O<=0.955;VAR37:=REF(BARSLAST(VAR36),BARSLAST(VAR36)+1)+BARSLAST(VAR36)+1;VAR38:=(REF(O,BARSLAST(VAR36))+REF(C,BARSLAST(VAR36)))/2;VAR39:=IF(PERIOD=4,60,IF(PERIOD=5, TOTALFZNUM,1));VAR40:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,VAR39)));VAR41:=IF(MOD(FROMOPEN,VAR40)<0.5,VAR40,MOD(FROMOPEN,VAR40));VAR42:=IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,AMOUNT*(VAR40+3)/(VAR41+3),AMOUNT);VAR43:=VAR42>=REF(AMOUNT,1)*1.9 AND (IF(C<=O,C>REF(C,1),1));VAR44:=AMOUNT=HHV(AMOUNT,120) AND VAR43 AND VAR4/REF(MA(V,5),1)>2 AND (BARSCOUNT(C)+1)>120;VAR45:=REF(BARSLAST(VAR44),BARSLAST(VAR44)+1)+BARSLAST(VAR44)+1;VAR46:=REF(DOWNNDAY(C,3),1) AND C>REF(C,1) AND C>=O;VAR47:=IF(C>O,V/((H-L)*2-ABS(C-O))*(H-L),IF(C<O,V/((H-L)*2-ABS(C-O))*((H-O)+(C-L)),V/2));VAR48:=0-V/((H-L)*2-ABS(C-O))*((H-C)+(O-L));VAR49:=IF(C>O,VAR48,IF(C<O,0-V/((H-L)*2-ABS(C-O))*(H-L),0-V/2));VAR50:=(VAR47+VAR49)/99/AMOUNT/10000*100;VAR51:=STRCAT(STRCAT('总上涨:',CON2STR(DYNAINFO(60),0)),' 只');VAR52:=STRCAT(STRCAT('总下跌:',CON2STR(DYNAINFO(61),0)),' 只');VAR53:=(DYNAINFO(60)+DYNAINFO(61));VAR54:=STRCAT(STRCAT('涨跌比:',CON2STR(DYNAINFO(60)/VAR53*100,2)),' %');VAR55:=REF(AMOUNT/V/100,VAR14);VAR56:=BETWEEN(VAR14,0,8) AND IF(VAR14=0 AND BETWEEN(C,AMOUNT/V/100,REF(H,VAR14)),1,IF(VAR14>0,COUNT(C<REF(AMOUNT/V/100,VAR14),VAR14)=0 AND COUNT(C>REF(REF(H,VAR14),1),VAR14)=0,0));VAR57:=VAR56 AND IF(CODELIKE('43') OR CODELIKE('83') OR CODELIKE('87') OR CODELIKE('88') OR BETWEEN(FINANCE(3),4,8) OR FINANCE(3)=2 OR NAMEINCLUDE('ST') OR NAMELIKE('*'),0,1);VAR89:=BETWEEN(C,AMOUNT/V/100,REF(H,VAR14));VAR88:=COUNT(C<REF(AMOUNT/V/100,VAR14),VAR14)=0;DRAWTEXT_FIX(1,0.00,0.00,0,'板块:'),COLORCYAN;DRAWTEXT_FIX(1,0.05,0.00,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'__'),GNBLOCK),'__'),DYBLOCK)),COLORCYAN;今夕比:VAR4/REF(V,1),COLORWHITE,NODRAW;弱分界:EMA(COST(85),10),COLORRED,DOTLINE;强分界:EMA(COST(99),10),COLORGREEN,DOTLINE;八日内不破均突:BETWEEN(VAR14,1,8) AND REF(IF(VAR14=0 AND VAR89,1,IF(VAR14>0,VAR88 AND COUNT(C>REF(REF(H,VAR14),1),VAR14)=0,0)),1)=1 AND C>REF(REF(H,VAR14),1),COLORMAGENTA,NODRAW;八日内突:VAR19 AND REF(COUNT(VAR19,VAR14),1)=0,COLORYELLOW,NODRAW;超八突:VAR21 AND REF(COUNT(VAR21,VAR14),1)<=2,COLORRED,NODRAW;超八加:VAR22 AND REF(COUNT(VAR22,VAR14),1)<=2,COLORWHITE,NODRAW;破倍阴均:REF(C,1)<=REF(REF(AMOUNT/V/100,VAR25),1) AND C>REF(REF(AMOUNT/V/100,VAR25),1) AND VAR30,COLORYELLOW,NODRAW;破倍阴高:REF(C,1)<=REF(REF(H,VAR25),1) AND C>REF(REF(H,VAR25),1) AND VAR30,COLORMAGENTA,NODRAW;DRAWBAND(弱分界,RGB(20,20,20),强分界,RGB(60,60,8));DRAWBAND(IF(VAR13,强分界,弱分界),RGB(139,35,35),弱分界,RGB(00,00,00));DRAWKLINE(H,O,L,C);STICKLINE(VAR8,O,C,3,0),COLORMAGENTA;STICKLINE(VAR8,H,L,0,0),COLORMAGENTA;STICKLINE(VAR10,O,C,3,0),COLORFF8000;STICKLINE(VAR10,H,L,0,0),COLORFF8000;STICKLINE(VAR9,O,C,3,0),COLORMAGENTA;STICKLINE(VAR11,O,C,3,0),COLORBLUE;STICKLINE(H>=VAR6 AND C<H,H,MIN(O,C),0,0),COLOR5900B3;STICKLINE(H>=VAR6 AND C<H,O,C,0.18,0),COLOR5900B3;STICKLINE(L<=VAR7 AND C=VAR6,MIN(O,C),L,0,0),COLORFF8000;STICKLINE(L<=VAR7 AND C=VAR6,O,C,0.18,0),COLORFF8000;DRAWTEXT(H>=VAR6 AND C<H,H,'炸'),COLORMAGENTA;STICKLINE(CURRBARSCOUNT<=CONST(VAR16)+1 AND VAR14>=0,REF(H,VAR14),REF(H,VAR14),4.2,-1),COLORMAGENTA;STICKLINE(CURRBARSCOUNT<=CONST(VAR15)+1 AND VAR14>=0,REF(H,VAR14),REF(H,VAR14),4.2,-1),COLORMAGENTA;STICKLINE(CURRBARSCOUNT<=CONST(VAR14)+1 AND VAR14>=0,REF(H,VAR14),REF(H,VAR14),4.2,0),COLORMAGENTA;DRAWTEXT(ISLASTBAR,REF(H,VAR14),VARCAT(VAR2STR(REF(H,VAR14),2),'←炸分高')),COLORMAGENTA;DRAWTEXT(ISLASTBAR,VAR55,VARCAT(VAR2STR(REF(AMOUNT/V/100,VAR14),2),'↙炸分均')),COLORLIGRAY,DRAWABOVE;DRAWICON(八日内不破均突,L,34);DRAWICON(八日内突,L,1);DRAWICON(超八突,L,38);DRAWICON(超八加,L,23);DRAWTEXT(VAR24,H*1.012,'倍阴'),COLORLIGREEN;STICKLINE(VAR24,O,C,3,0),COLORLIGREEN;STICKLINE(VAR24,L,H,0,0),COLORLIGREEN;DRAWICON(破倍阴均 AND EMA(C,5)>=REF(EMA(C,5),1) AND C>EMA(C,5) AND REF(COUNT(破倍阴均,VAR25),1)<=2,L*0.98,11);DRAWICON(破倍阴高 AND EMA(C,5)>=REF(EMA(C,5),1) AND C>EMA(C,5) AND REF(COUNT(破倍阴高,VAR25),1)<=2,O,25);DRAWICON(VAR57,L,9);DRAWTEXT((BARSLASTCOUNT(C>REF(C,4)))=9 AND C>=O,(O+C)/2,'9'),COLORGREEN;DRAWTEXT((BARSLASTCOUNT(C>REF(C,4)))=9 AND C<O,(O+C)/2,'9'),COLORFF0000;DRAWTEXT((BARSLASTCOUNT(C<REF(C,4)))=9,(O+C)/2,'9'),COLORRED;DRAWTEXT(FILTER(VAR33>0,3),L*0.998,'9'),COLORGREEN;黄金支撑:(HHV(VAR35,12)),COLORYELLOW;DRAWTEXT(ISLASTBAR,黄金支撑,VARCAT(VAR2STR(黄金支撑,2),'←金支撑')),COLORYELLOW;STICKLINE(CURRBARSCOUNT<=CONST(VAR37)+1 AND (C<REF(VAR38,BARSLAST(VAR36)) OR BARSLASTCOUNT(C>REF(VAR38,BARSLAST(VAR36)))<=3),VAR38,VAR38,2,0),COLORGREEN;DRAWTEXT(CURRBARSCOUNT<=CONST(VAR37)+1 AND BARSLAST(VAR36)=1,VAR38,VARCAT(VAR2STR(VAR38,2),'←上线3日买')),COLORGREEN,DRAWABOVE;STICKLINE(VAR46,MIN(O,C),MIN(O,C)+(MAX(O,C)-MIN(O,C))/4,2.5,0),COLORBROWN;DRAWTEXT(VAR46,LOW,'↑止'),COLORRED;STICKLINE(CURRBARSCOUNT<=CONST(BARSLAST(VAR46))+1 AND BARSLAST(VAR46)>=0,REF(O,BARSLAST(VAR46)),REF(O,BARSLAST(VAR46)),4,0),COLOR0000BB;DRAWTEXT(ISLASTBAR,REF(O,BARSLAST(VAR46)),VARCAT(VAR2STR(REF(O,BARSLAST(VAR46)),2),'←止损')),COLOR0000BB;反转线:REF(H,BARSLAST(CONST(BARSLAST(VAR46))+4=CURRBARSCOUNT)),COLOR65EBD0,DOTLINE;DRAWTEXT(ISLASTBAR,反转线,VARCAT(VAR2STR(反转线,2),'←反转')),COLOR65EBD0;STICKLINE(VAR44,MIN(O,C),(O+C)/2,2.5,0),COLORLIGREEN;DRAWTEXT(CURRBARSCOUNT=CONST(BARSLAST(VAR44))+1,MIN(O,C)+(MAX(O,C)-MIN(O,C))/4,'←王3'),COLORMAGENTA;DRAWTEXT(CURRBARSCOUNT=CONST(VAR45)+1,MIN(O,C)+(MAX(O,C)-MIN(O,C))/4,'←王2'),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=CONST(REF(BARSLAST(VAR44),VAR45+2)+VAR45+2)+1,MIN(O,C)+(MAX(O,C)-MIN(O,C))/4,'←王1'),COLORGREEN;{,公式源码 http://}DRAWTEXT_FIX(ISLASTBAR AND (VAR47+VAR49)/99>=200 AND (C/REF(C,1)-1)*100>=3,0.92,0.0,0,VARCAT(VARCAT('净买:',VAR2STR((VAR47+VAR49)/99,0)),'万')),COLORRED;DRAWTEXT_FIX(ISLASTBAR AND (VAR47+VAR49)/99<-200 AND (C/REF(C,1)-1)*100<=-2,0.92,0.0,0,VARCAT(VARCAT('流出:',VAR2STR((VAR47+VAR49)/99,0)),'万')),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR AND VAR50<15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(VAR50,0),'%'))),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR AND VAR50>=15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(VAR50,0),'%'))),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0,1,0,VAR51),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.12,1,0,VAR52),COLORGREEN;DRAWTEXT_FIX(ISLASTBAR,0.23,1,0,VAR54),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR AND (C/LLV(C,10)-1)*100>=15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/LLV(C,10)-1)*100,2),' %'))),COLORRED;DRAWTEXT_FIX(ISLASTBAR AND (C/LLV(C,10)-1)*100<15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/LLV(C,10)-1)*100,2),' %'))),COLORWHITE;



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

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

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