【倍量炸板】公式用到画线函数信号未使用未来函数不影响使用主图+选股公式
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
相关股票指标公式
原理解析:
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(FROM开盘价,VAR2)<0.5,VAR2,MOD(FROM开盘价,VAR2))
VAR4赋值:IF(( 到最后交易的周期=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(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5))
VAR7赋值:DTPRICE(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5))
VAR8赋值:C>=ZTPRICE(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND H>0
VAR9赋值:C>=ZTPRICE(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND H>0
VAR10:=C<=DTPRICE(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H!=L AND L>0
VAR11:=C<=DTPRICE(1日前的C,IF(NAMEINCLUDE('ST'),0.05,VAR5)) AND H=L AND L>0
VAR12:=EMA(获利盘为85%的成本分布,10)>=REF(EMA(获利盘为85%的成本分布,10),1)
VAR13:=VAR12 AND EMA(获利盘为99%的成本分布,10)>=REF(EMA(获利盘为99%的成本分布,10),1)
VAR14:=上次H>=VAR6 AND CVAR15:=VAR14+1日前的VAR14+VAR14+1
VAR16:=VAR15+2日前的VAR14+VAR15+2
VAR17:=CROSS(C,VAR14日前的成交额/V/100)
VAR18:=VAR17 OR (VAR14日前的C<=成交额/V/100,1) AND C>VAR14日前的成交额/V/100)
VAR19:=BETWEEN(VAR14,1,8) AND (VAR18) AND REF(COUNT(C>REF(REF(H,VAR14),1),VAR14),1)=0 AND C>O
VAR20:=C>VAR14日前的成交额/V/100,1) AND C>O
VAR21:=VAR14>8 AND 1日前的C<=VAR14日前的成交额/V/100,1) AND VAR20
VAR22:=VAR14>8 AND 1日前的C<=VAR14日前的H,1) AND C>VAR14日前的H,1) AND C>O
VAR23:=1日前的VAR8 OR VAR9 AND CVAR24:=VAR23 AND (V>=1日前的V*1.9 OR 成交额>=1日前的成交额*1.9)
VAR25:=上次VAR24距今天数
VAR26:=H=C OR (O>=1日前的H AND C>O)
VAR27:=H-O和C较大值VAR28:=O和C较大值-O和C的较小值>(H-O和C较大值)*1.38
VAR29:=O和C较大值-O和C的较小值>O和C的较小值-L AND O和C较大值-O和C的较小值>H-O和C较大值
VAR30:=IF(VAR26,1,IF(L=O,VAR27,IF(H-O和C较大值>O和C的较小值-L,VAR28,IF(LC,VAR29,DRAWNULL))))
VAR31:=开盘价>0 AND BARSLASTCOUNT(C/1日前的C>1.09)=1
VAR32:=上次BARSLASTCOUNT(C>4日前的C距今天数=9>0)
VAR33:=VAR32>4 AND C/1日前的C>1.09 AND C>VAR32日前的H AND VAR31
VAR34:=MAX(MAX((H-L),(1日前的C-H的绝对值)),ABS((1日前的C-L)))
VAR35:=(1日前的收盘价-REF(VAR34的13日简单移动平均,1))
VAR36:=(C-1日前的C)/1日前的C*100<-5.5 OR C/O<=0.955
VAR37:=REF(上次VAR36距今天数,上次VAR36距今天数+1)+上次VAR36距今天数+1
VAR38:=(REF(O,上次VAR36距今天数)+REF(C,上次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(FROM开盘价,VAR40)<0.5,VAR40,MOD(FROM开盘价,VAR40))
VAR42:=IF( 到最后交易的周期=1 AND DYNAINFO(8)>1,成交额*(VAR40+3)/(VAR41+3),成交额)
VAR43:=VAR42>=1日前的成交额*1.9 AND (IF(C<=O,C>1日前的C,1))
VAR44:=成交额=120日内成交额最高值 AND VAR43 AND VAR4/REF(V的5日简单移动平均,1)>2 AND (C的有效数据周期数+1)>120
VAR45:=REF(上次VAR44距今天数,上次VAR44距今天数+1)+上次VAR44距今天数+1
VAR46:=REF(DOWNNDAY(C,3),1) AND C>REF(C,1) AND C>=O
VAR47:=IF(C>O,V/((H-L)*2-C-O的绝对值)*(H-L),IF(CVAR48:=0-V/((H-L)*2-C-O的绝对值)*((H-C)+(O-L))
VAR49:=IF(C>O,VAR48,IF(CVAR50:=(VAR47+VAR49)/99/成交额/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:=VAR14日前的成交额/V/100
VAR56:=BETWEEN(VAR14,0,8) AND IF(VAR14=0 AND BETWEEN(C,成交额/V/100,VAR14日前的H),1,IF(VAR14>0,COUNT(C1日前的VAR14日前的H,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,成交额/V/100,VAR14日前的H)
VAR88:=COUNT(C当满足条件1时,在横轴0.00纵轴0.00位置书写文字
DRAWTEXT_FIX(1,0.05,0.00,0,STRCAT(STRCAT(STRCAT(STRCAT(HYBLOCK,'__'),GNBLOCK),'__'),DYBLOCK)),画青色
输出今夕比:VAR4/1日前的V,画白色,NODRAW
输出弱分界:EMA(获利盘为85%的成本分布,10),画红色,DOTLINE
输出强分界:EMA(获利盘为99%的成本分布,10),画绿色,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),画洋红色,NODRAW
输出八日内突:VAR19 AND 1日前的统计VAR14日满足VAR19的天数=0,画黄色,NODRAW
输出超八突:VAR21 AND 1日前的统计VAR14日满足VAR21的天数<=2,画红色,NODRAW
输出超八加:VAR22 AND 1日前的统计VAR14日满足VAR22的天数<=2,画白色,NODRAW
输出破倍阴均:1日前的C<=VAR25日前的成交额/V/100,1) AND C>VAR25日前的成交额/V/100,1) AND VAR30,画黄色,NODRAW
输出破倍阴高:1日前的C<=VAR25日前的H,1) AND C>VAR25日前的H,1) AND VAR30,画洋红色,NODRAW
DRAWBAND(弱分界,RGB(20,20,20),强分界,RGB(60,60,8))
如果VAR13返回强分界否则返回弱分界
DRAWKLINE(H,O,L,C)
当满足条件VAR8时,在O和C之间画柱状线
当满足条件VAR8时,在H和L之间画柱状线
当满足条件VAR10时,在O和C之间画柱状线
当满足条件VAR10时,在H和L之间画柱状线
当满足条件VAR9时,在O和C之间画柱状线
当满足条件VAR11时,在O和C之间画柱状线
STICKLINE(H>=VAR6 AND C当满足条件H>=VAR6 AND CSTICKLINE(L<=VAR7 AND C=VAR6,O和C的较小值,L,0,0),COLORFF8000
当满足条件L<=VAR7 AND C=VAR6时,在O和C之间画柱状线
当满足条件H>=VAR6 AND CSTICKLINE( 到最后交易的周期<=CONST(VAR16)+1 AND VAR14>=0,VAR14日前的H,VAR14日前的H,4.2,-1),画洋红色
STICKLINE( 到最后交易的周期<=CONST(VAR15)+1 AND VAR14>=0,VAR14日前的H,VAR14日前的H,4.2,-1),画洋红色
STICKLINE( 到最后交易的周期<=CONST(VAR14)+1 AND VAR14>=0,VAR14日前的H,VAR14日前的H,4.2,0),画洋红色
DRAWTEXT(ISLASTBAR,VAR14日前的H,VARCAT(VAR2STR(VAR14日前的H,2),'←炸分高')),画洋红色
DRAWTEXT(ISLASTBAR,VAR55,VARCAT(VAR2STR(VAR14日前的成交额/V/100,2),'↙炸分均')),COLORLIGRAY,DRAWABOVE
当满足条件八日内不破均突时,在L和34之间画图标
当满足条件八日内突时,在L和1之间画图标
当满足条件超八突时,在L和38之间画图标
当满足条件超八加时,在L和23之间画图标
当满足条件VAR24时,在H*1.012和'倍阴'位置书写文字
当满足条件VAR24时,在O和C之间画柱状线
当满足条件VAR24时,在L和H之间画柱状线
DRAWICON(破倍阴均 AND C的5日指数移动平均>=1日前的C的5日指数移动平均 AND C>C的5日指数移动平均 AND 1日前的统计VAR25日满足破倍阴均的天数<=2,L*0.98,11)
DRAWICON(破倍阴高 AND C的5日指数移动平均>=1日前的C的5日指数移动平均 AND C>C的5日指数移动平均 AND 1日前的统计VAR25日满足破倍阴高的天数<=2,O,25)
当满足条件VAR57时,在L和9之间画图标
DRAWTEXT((BARSLASTCOUNT(C>4日前的C))=9 AND C>=O,(O+C)/2,'9'),画绿色
DRAWTEXT((BARSLASTCOUNT(C>4日前的C))=9 AND CDRAWTEXT((BARSLASTCOUNT(C<4日前的C))=9,(O+C)/2,'9'),画红色
DRAWTEXT(VAR33>0的3过滤,L*0.998,'9'),画绿色
输出黄金支撑:(12日内VAR35最高值),画黄色
DRAWTEXT(ISLASTBAR,黄金支撑,VARCAT(VAR2STR(黄金支撑,2),'←金支撑')),画黄色
STICKLINE( 到最后交易的周期<=CONST(VAR37)+1 AND (C[REF(VAR38,上次VAR36距今天数))<=3),VAR38,VAR38,2,0),画绿色]
DRAWTEXT( 到最后交易的周期<=CONST(VAR37)+1 AND 上次VAR36距今天数=1,VAR38,VARCAT(VAR2STR(VAR38,2),'←上线3日买')),画绿色,DRAWABOVE
STICKLINE(VAR46,O和C的较小值,O和C的较小值+(O和C较大值-O和C的较小值)/4,2.5,0),COLORBROWN
当满足条件VAR46时,在最低价和'↑止'位置书写文字
STICKLINE( 到最后交易的周期<=CONST(上次VAR46距今天数)+1 AND 上次VAR46距今天数>=0,REF(O,上次VAR46距今天数),REF(O,上次VAR46距今天数),4,0),COLOR0000BB
DRAWTEXT(ISLASTBAR,REF(O,上次VAR46距今天数),VARCAT(VAR2STR(REF(O,上次VAR46距今天数),2),'←止损')),COLOR0000BB
输出反转线:REF(H,上次CONST(BARSLAST(VAR46距今天数)+4= 到最后交易的周期)),COLOR65EBD0,DOTLINE
DRAWTEXT(ISLASTBAR,反转线,VARCAT(VAR2STR(反转线,2),'←反转')),COLOR65EBD0
STICKLINE(VAR44,O和C的较小值,(O+C)/2,2.5,0),COLORLIGREEN
DRAWTEXT( 到最后交易的周期=CONST(上次VAR44距今天数)+1,O和C的较小值+(O和C较大值-O和C的较小值)/4,'←王3'),画洋红色
DRAWTEXT( 到最后交易的周期=CONST(VAR45)+1,O和C的较小值+(O和C较大值-O和C的较小值)/4,'←王2'),画黄色
DRAWTEXT( 到最后交易的周期=CONST(REF(上次VAR44距今天数,VAR45+2)+VAR45+2)+1,O和C的较小值+(O和C较大值-O和C的较小值)/4,'←王1'),画绿色
输出{,公式源码 HTTP://}DRAWTEXT_FIX(ISLASTBAR AND (VAR47+VAR49)/99>=200 AND (C/1日前的C-1)*100>=3,0.92,0.0,0,VARCAT(VARCAT('净买:',VAR2STR((VAR47+VAR49)/99,0)),'万')),画红色
DRAWTEXT_FIX(ISLASTBAR AND (VAR47+VAR49)/99<-200 AND (C/1日前的C-1)*100<=-2,0.92,0.0,0,VARCAT(VARCAT('流出:',VAR2STR((VAR47+VAR49)/99,0)),'万')),画绿色
DRAWTEXT_FIX(ISLASTBAR AND VAR50<15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(VAR50,0),'%'))),画黄色
DRAWTEXT_FIX(ISLASTBAR AND VAR50>=15,0.92,0.05,0,STRCAT('净流占比:',STRCAT(CON2STR(VAR50,0),'%'))),画洋红色
当满足条件ISLASTBAR时,在横轴0纵轴1位置书写文字
当满足条件ISLASTBAR时,在横轴0.12纵轴1位置书写文字
当满足条件ISLASTBAR时,在横轴0.23纵轴1位置书写文字
DRAWTEXT_FIX(ISLASTBAR AND (C/10日内C最低值-1)*100>=15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/10日内C最低值-1)*100,2),' %'))),画红色
DRAWTEXT_FIX(ISLASTBAR AND (C/10日内C最低值-1)*100<15,0.88,1,0,STRCAT('十日最大涨幅:',STRCAT(CON2STR((C/10日内C最低值-1)*100,2),' %'))),画白色