cpx操盘线

​{CPX操盘线主图}

PARTLINE(ma(c,5),CPX>=1,RGB(155,0,150),CPX< 1,RGB(0,10,255),1,RGB(0,10,255)),LINETHICK3;

cpx1:=if(CPX>=1,1,-1),LINETHICK1;

DRAWTEXT(CPX1>0 and CROSS(CPX1 ,0 ),l*0.99,'B买'),COLOR3333FF;

DRAWTEXT(CPX1<0 and CROSS(0,CPX1),h*1.015,'S卖'),COLOR33FF33;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=cross(买线,卖线);

SEL:=cross(卖线,买线);

stickline(买线>=卖线,low,high,0.1,1),colorred;

stickline(买线>=卖线,close,open,8,1),colorred;

stickline(买线<卖线,close,open,8,0),color00ff00;

stickline(买线<卖线,low,high,0.1,1),color00ff00;

stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;

指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;

界: MA(CLOSE,27),linethick1,Color00FFFF;

ma20: MA(CLOSE,20),linethick1,Color990099;

ma60: MA(CLOSE,60),linethick1,ColorFFFF00;

(0)

相关推荐