现价:C;
底部: COST(5),COLORYELLOW;
买入: COST(30),COLORRED;
卖出: COST(75),COLORGREEN;
顶部: COST(95),COLORFF00FF;
AA:=BARSLAST(CROSS(C,COST(5)));
AA2:=BARSLAST(CROSS(COST(5),C));
BB:=BARSLAST(CROSS(C,COST(30)));
BB2:=BARSLAST(CROSS(COST(30),C));
CC:=BARSLAST(CROSS(C,COST(75)));
CC2:=BARSLAST(CROSS(COST(75),C));
DD:=BARSLAST(CROSS(C,COST(95)));
DD2:=BARSLAST(CROSS(COST(95),C));
底部关注:=BETWEEN(C,COST(5),COST(30)) AND AA<AA2 AND AA<BB2;
开始建仓:=BETWEEN(C,COST(30),COST(75)) AND BB<BB2 AND BB<CC2;
拉升待涨:=BETWEEN(C,COST(75),COST(95)) AND CC<CC2 AND CC<DD2;
冲顶阶段:=C>=COST(95) AND DD<DD2;
破顶减仓:=BETWEEN(C,COST(95),COST(75)) AND DD>DD2 AND CC>DD2;
走弱出局:=BETWEEN(C,COST(75),COST(30)) AND CC>CC2 AND BB>CC2;
弱市观望:=BETWEEN(C,COST(30),COST(5)) AND BB>BB2 AND AA>BB2;
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
赶底不碰:=C<=COST(5) AND AA>AA2;
{以下设置解盘显示文字}
DRAWFLAGTEXT(底部关注,COST(50),'▲股价见底,开始关注!'),COLORFFFFFF;
DRAWFLAGTEXT(开始建仓,COST(50),'■股价走强,开始建仓!'),COLOR00FFFF;
DRAWFLAGTEXT(拉升待涨,COST(50),'★股价拉升,持股待涨!'),COLOR0000FF;
DRAWFLAGTEXT(冲顶阶段,COST(50),'●冲顶阶段,注意风险!'),COLORFF00FF;
DRAWFLAGTEXT(破顶减仓,COST(50),'□股价破顶,开始减仓!'),COLOR00FF00;
DRAWFLAGTEXT(走弱出局,COST(50),'◇股价走弱,清仓出局!'),COLOR00FF00;
DRAWFLAGTEXT(弱市观望,COST(50),'△弱市区域,观望为宜!'),COLORFFFF00;
DRAWFLAGTEXT(赶底不碰,COST(50),'○股价赶底,暂时不碰!'),COLORFFFF00;
202108211241.jpg
|