您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:启动主图及选股(贵平主图)

启动主图及选股(贵平主图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-04-17 08:35:00
公式简介:

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA65:MA(CLOSE,65);
MA250:MA(CLOSE,250),COLORRED;
突破线:MIN(MA60*1.1,MA250*1.3),POINTDOT,COLOR0066FF;
MA120:MA(CLOSE,120),COLORFF8040;
{差幅:C/MIN(MA60*1.1,MA250*1.3)-1,POINTDOT,COLOR0066FF,LINETHICK1;}
均线流:=(MA5>MA65 AND MA10>MA65 AND MA30>MA65
AND MA5<MA30)*0.3,POINTDOT,COLOR00FF00,LINETHICK3;
PL1:=(CLOSE - MA60) / MA60 < 0.1;
PL2:=(CLOSE - MA250) / MA250 < 0.3;
偏离率:=(PL1 = 1 AND PL2 = 1) * 0.2,STICK,COLORFF00FF,LINETHICK1;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD超跌:=COUNT((DIFF<DEA),10)=10;
MACD:=MACD超跌 * "MACD.MACD"(26,12,9)*(-1),STICK,COLORFFFF00,LINETHICK2;
{本行中,大智慧版本选择*(-1);飞弧版本选择*(1)}
目标:=IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0),COLORWHITE,LINETHICK2;
MBSJ:=BARSLAST(目标 = 0.8);
放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.01;
SZSJ:=BARSLAST(放量上涨 = 1);
MACD金叉:=CROSS(DIFF,DEA);
JCSJ:=BARSLAST(MACD金叉 = 1);
关注:=(MACD金叉 AND REF(MACD,1) < 0)*-0.1,COLOR00FF00;
启动:=(MBSJ <= 20 AND SZSJ <= 1 AND JCSJ <= 1) * 1,COLORYELLOW,LINETHICK2;
突破:=(偏离率 = 0 AND REF(COUNT(偏离率 = 0.2,10) = 10,1) = 1) * -0.1,COLORRED;
{以下设置主图显示方式}
DRAWTEXT(目标=0.8 ,L,'目'),COLORWHITE;
DRAWTEXT(关注=-0.1,L,'关'),COLOR00FF00;
DRAWTEXT(启动,L,'启'),COLORYELLOW;
DRAWTEXT(突破=-0.1,L,'突'),COLORYELLOW;


+++++++++++++
启动的选股
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
MA65:=MA(CLOSE,65);
MA250:=MA(CLOSE,250);
MA120:=MA(CLOSE,120);
均线流:=(MA5>MA65 AND MA10>MA65 AND MA30>MA65
AND MA5<MA30)*0.3;
PL1:=(CLOSE - MA60) / MA60 < 0.1;
PL2:=(CLOSE - MA250) / MA250 < 0.3;
偏离率:=(PL1 = 1 AND PL2 = 1) * 0.2;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD超跌:=COUNT((DIFF<DEA),10)=10;
MACD:=MACD超跌 * "MACD.MACD"(26,12,9)*(-1);
目标:=IF(均线流=0.3 AND MACD超跌 AND 偏离率=0.2 ,0.8,0);
MBSJ:=BARSLAST(目标 = 0.8);
放量上涨:=V/REF(V,1) >= 1.1 AND C/REF(C,1) >= 1.01;
SZSJ:=BARSLAST(放量上涨 = 1);
MACD金叉:=CROSS(DIFF,DEA);
JCSJ:=BARSLAST(MACD金叉 = 1);
启动:(MBSJ <= 20 AND SZSJ <= 1 AND JCSJ <= 1) * 1;


 


[url=http://www.goodgupiao.com/gupiaogongshi/19310.html][B]启动主图及选股(贵平主图)[/B][/url]