通达信布林变化演绎主图指标公式

通达信波段底部主图及选股指标公式

通达信布林变化演绎主图指标公式:

所属地域:DRAWTEXT_FIX(ISLAstBAR ,0.01,0.01,0,DYBLOCK),COLORYELLOW;

所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.07,0.01,0,HYBLOCK),COLORYELLOW;

突破:HHV(MA(C,5),30)LINETHICK2,COLORRED;

买入线:LLV(MA(C,20),30)LINETHICK2,COLOR8082C7;

二号线:EMA(C,25)LINETHICK2,COLORFF6AB5;

STICKLINE(CLOSE<OPEN,OPEN,CLOSE,2,0),COLORCYAN;

中轨:MA(CLOSE,20),COLORMAGENTA,DOTLINE;

上轨:中轨+2*STD(CLOSE,20),COLORRED,DOTLINE;

下轨:中轨-2*STD(CLOSE,20),COLORGREEN,DOTLINE;

白k线买:0,NODRAW;

黄托底买:0,NODRAW;

绿K线加码:0,COLORGREEN,NODRAW;

蓝压顶卖出:0,COLORFF9900,NODRAW;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.005,1,0,'白K线买'),COLORWHITE;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.06,1,0,'黄托底买'),COLORYELLOW;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.12,1,0,'绿K线加码'),COLORGREEN;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.19,1,0,'蓝顶卖出'),COLORFF9900;

MA6:=MA(C,6),COLORWHITE,LINETHICK2;

MA18:=MA(C,18),COLOR0099FF,LINETHICK2;

买进价:=((C-REF(MA6,1))/6+MA6)*1.004;

买进条件:=crOSS(C,买进价) AND 买进价>REF(买进价,1);

白K买进1:=IF(买进条件,L,H),COLORBLUE;

STICKLINE(买进条件,H,L,0,0),COLORWHITE,LINETHICK2;

STICKLINE(买进条件,O,C,3,0),COLORWHITE,LINETHICK2;

加码价:=((C-REF(MA18,1))/18+MA18)*1.004;

加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);

{IF(加码条件,L,H),COLORGREEN,NODRAW;}

STICKLINE(加码条件,H,L,0,1),COLORGREEN,LINETHICK2;

STICKLINE(加码条件,O,C,3,0),COLORGREEN,LINETHICK2;

VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);

VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);

VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);

VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR

VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;

VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR

VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;

STICKLINE(VAR19,L,L-0.1,3,0),COLOR10FFFF;

STICKLINE(VAR1A,H*1,O*1.01,3,0),COLORFF9900;

通达信伏击妖股指标公式