通达信倍量炸板主图指标公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

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),'
选股票看什么指标最好 >股票指标网