跟红做仓位副图

跟红做仓位副图

NOTEXT2:0,DOTLINE,COLORWHITE;

NOTEXT3:30,DOTLINE,COLORLIBLUE;

NOTEXT4:50,DOTLINE,COLORBLUE;

NOTEXT5:80,DOTLINE,COLORLIMAGENTA;

NOTEXT6:100,POINTDOT,COLORWHITE;

{资金仓位}

VAR1:=5.5;

VAR2:=MA(C,5);

VAR3:=MA(C,15);

VAR4:=MA(C,20);

VAR5:=MA(C,45);

VAR6:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;

VAR7:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;

VAR8:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;

VAR9:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;

VAR10:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;

VAR11:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;

VAR12:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;

VAR13:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;

VAR14:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;

VAR15:=CLOSE<VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE<VAR5;

VAR16:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;

VAR17:=CLOSE>VAR2 AND CLOSE=VAR3 AND CLOSE>VAR4 AND CLOSE>VAR5;

VAR18:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;

VAR19:=CLOSE<VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;

VAR20:=CLOSE>VAR2 AND CLOSE<VAR3 AND CLOSE>VAR4 AND CLOSE<VAR5;

VAR21:=CLOSE>VAR2 AND CLOSE>VAR3 AND CLOSE<VAR4 AND CLOSE>VAR5;

STICKLINE(VAR7 OR VAR18 OR VAR19 OR VAR21,1,30,2,0),COLORGREEN;

STICKLINE(VAR8 OR VAR20,1,50,2,0),COLORRED;

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

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

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

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

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

STICKLINE(VAR14 OR VAR15 OR VAR16 OR VAR17,1,50,2,0),COLORRED;

(0)

相关推荐