不错的波段操作指标 主图选股公式 源码
指标适用说明:
1,上涨幅度过大,买点会失效,事实上任何股票大幅上涨后,趋势操作者应该避免介入,对于趋势操作者,风险是涨出来的,机会是跌出来的;
2,应该关注量能的变化,对于无量的情况下,可以避免介入,防止长时间的等待,等待温和放量介入,最好是出现攻击性量能时介入。
3,箱体和横盘偶尔也会出现买点,但是箱体震荡和横盘时不要参与!!!出现的买卖点可能让你疲于奔命;
4,下跌的趋势当中不要介入,如果你是趋势操作者应该明白抄底不是一个趋势操作者应该干的事情,趋势操作者只有在趋势明确时后才会介入,
底部不是趋势的确立。
{源码}
MA5:MA(CLOSE,5),COLORFFFFFF,LINETHICK1;
MA10:MA(CLOSE,10),COLOR00FFFF,LINETHICK1;
MA20:MA(CLOSE,20),COLOR00FF00,LINETHICK2;
MA30:MA(CLOSE,30),COLORFF00FF,LINETHICK1;
MA60:MA(CLOSE,60),COLOR0000FF,LINETHICK1;
MA120:MA(CLOSE,120),COLORFFFF00,LINETHICK1;
ANGEL:EMA(C,2),COLOR000000;
DEVIL:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY:=CROSS(ANGEL,DEVIL);
SEL:=CROSS(DEVIL,ANGEL);
DRAWTEXT(BUY,LOW*0.98,'买'),COLORYELLOW,LINETHICK5;
DRAWTEXT(SEL,HIGH*1.02,'卖'),COLORWHITE,LINETHICK5;
STICKLINE(ANGEL =DEVIL,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(ANGEL =DEVIL,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(ANGEL =DEVIL,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(ANGEL =DEVIL,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(ANGEL =DEVIL,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(ANGEL DEVIL,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(ANGEL DEVIL,CLOSE,OPEN,2,0),COLORDDDD00;
STICKLINE(ANGEL DEVIL,CLOSE,OPEN,3,0),COLORCCCC00;
STICKLINE(ANGEL DEVIL,CLOSE,OPEN,4.5,0),COLORAAAA00;
STICKLINE(ANGEL DEVIL,LOW,HIGH,0.1,0),COLORFFFF00;
STICKLINE(CROSS(ANGEL,DEVIL),OPEN,CLOSE,3.5,0),COLORYELLOW;
STICKLINE(CROSS(DEVIL,ANGEL),OPEN,CLOSE,3.5,0),COLORBLUE;
{选股}
AA:=EMA(C,2);
BB:=EMA(SLOPE(C,21)*20+C,42);
XG:CROSS(AA,BB) AND C MA(120,C) and v/ref(v,1) 1.6 and v/ref(v,1)