通达信仓位提示指标公式

通达信神奇黑码选股指标公式

通达信仓位提示指标公式:

NOTEXT2:0,DOTLINE,COLORWHITE;

NOTEXT3:30,DOTLINE,COLORLIBLUE;

NOTEXT4:50,DOTLINE,COLORBLUE;

NOTEXT5:80,DOTLINE,COLORLIMAGENTA;

NOTEXT6:100,POINTDOT,COLORWHITE;

{资金仓位}

HJ_1:=5.5;

HJ_2:=MA(C,5);

HJ_3:=MA(C,15);

HJ_4:=MA(C,20);

HJ_5:=MA(C,45);

HJ_6:=CLOSE<HJ_2 AND CLOSE<HJ_3 AND CLOSE<HJ_4 AND CLOSE<HJ_5;

HJ_7:=CLOSE>HJ_2 AND CLOSE<HJ_3 AND CLOSE<HJ_4 AND CLOSE<HJ_5;

HJ_8:=CLOSE>HJ_2 AND CLOSE>HJ_3 AND CLOSE<HJ_4 AND CLOSE<HJ_5;

HJ_9:=CLOSE>HJ_2 AND CLOSE>HJ_3 AND CLOSE>HJ_4 AND CLOSE<HJ_5;

HJ_10:=CLOSE>HJ_2 AND CLOSE>HJ_3 AND CLOSE>HJ_4 AND CLOSE>HJ_5;

HJ_11:=CLOSE<HJ_2 AND CLOSE>HJ_3 AND CLOSE>HJ_4 AND CLOSE>HJ_5;

HJ_12:=CLOSE<HJ_2 AND CLOSE<HJ_3 AND CLOSE>HJ_4 AND CLOSE>HJ_5;

HJ_13:=CLOSE<HJ_2 AND CLOSE<HJ_3 AND CLOSE<HJ_4 AND CLOSE>HJ_5;

HJ_14:=CLOSE<HJ_2 AND CLOSE>HJ_3 AND CLOSE>HJ_4 AND CLOSE<HJ_5;

HJ_15:=CLOSE<HJ_2 AND CLOSE>HJ_3 AND CLOSE<HJ_4 AND CLOSE<HJ_5;

HJ_16:=CLOSE>HJ_2 AND CLOSE<HJ_3 AND CLOSE>HJ_4 AND CLOSE>HJ_5;

HJ_17:=CLOSE>HJ_2 AND CLOSE=HJ_3 AND CLOSE>HJ_4 AND CLOSE>HJ_5;

HJ_18:=CLOSE>HJ_2 AND CLOSE<HJ_3 AND CLOSE<HJ_4 AND CLOSE>HJ_5;

HJ_19:=CLOSE<HJ_2 AND CLOSE<HJ_3 AND CLOSE>HJ_4 AND CLOSE<HJ_5;

HJ_20:=CLOSE>HJ_2 AND CLOSE<HJ_3 AND CLOSE>HJ_4 AND CLOSE<HJ_5;

HJ_21:=CLOSE>HJ_2 AND CLOSE>HJ_3 AND CLOSE<HJ_4 AND CLOSE>HJ_5;

stICKLINE(HJ_7 OR HJ_18 OR HJ_19 OR HJ_21,1,30,2,0),COLORGREEN;

STICKLINE(HJ_8 OR HJ_20,1,50,2,0),COLORRED;

STICKLINE(HJ_9,1,80,2,0),COLORRED;

STICKLINE(HJ_10,1,100,2,0),COLORRED;

STICKLINE(HJ_11,1,80,2,0),COLORRED;

STICKLINE(HJ_12,1,50,2,0),COLORRED;

STICKLINE(HJ_13,1,30,2,0),COLORGREEN;

STICKLINE(HJ_14 OR HJ_15 OR HJ_16 OR HJ_17,1,50,2,0),COLORRED;

通达信神奇趋势波段及选股指标公式