当前位置:首页 > 通达信公式 > 正文

股票软件通达信精品指标公式-放量过平台源码

2017-11-03原创 编 辑:翔博软件



公式源码:

MA1:=MA(C,5);

MA2:=MA(C,10);

MA3:=MA(C,20);

MA4:=MA(C,40);

MA5:=MA(C,60);

MA6:=MA(C,30);

 

VOLUME:=VOL;

量比:=VOL/REF(MA(VOL,5),1)COLORGREEN;

 

LONG:=26;

SHORT:=12;

M:=9;

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

WW:=DEA>REF(DEA,1);

DD:=CROSS(DIFF,REF(DIFF,1));

TT:=WW AND DD;

MACD1:=MACD+100;

MACDKJC:=IF(MACD>-0.01 AND DIFF>REF(DIFF,1)

 AND MACD>REF(MACD,1),0.8,0)COLORRED,LINETHICK2;

T120线:=IF(LAST(REF(C,1)<REF(C,HHVBARS(C,120)),15,2)

 AND C>REF(C,HHVBARS(C,120)),222,0)COLORGREEN,LINETHICK2;

T60线:=IF(LAST(REF(C,1)<REF(C,HHVBARS(C,60)),15,2)

 AND C>REF(C,HHVBARS(C,60)),222,0)COLORGREEN,LINETHICK2;

T30线:=IF(LAST(REF(C,1)<REF(C,HHVBARS(C,30)),10,2)

 AND C>REF(C,HHVBARS(C,25)),222,0)COLORGREEN,LINETHICK2;

破120:IF(MACDKJC AND T120线

 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1)

 AND 量比>2,666,0)COLORYELLOW,LINETHICK3;

破60:IF(MACDKJC AND T60线

 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1)

 AND 量比>2,555,0)COLORRED,LINETHICK3;

破30:IF(MACDKJC AND T30线

 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1) AND MA3>REF(MA3,1)

 AND 量比>2,444,0)COLORWHITE,LINETHICK3;

量120:IF(VOL>REF(HHV(VOL,120),1) AND 量比>2,333,0)COLORBLUE,LINETHICK3;

量60:IF(VOL>REF(HHV(VOL,60),1) AND 量比>2,222,0)COLORFF3399,LINETHICK3;

量30:IF(VOL>REF(HHV(VOL,30),1) AND 量比>2,111,0)COLOR0066FF,LINETHICK3;

平台30:IF(破30 AND 量30 AND C/MA5<1.15,1111,0)COLORWHITE,LINETHICK7;

平台60:IF(破60 AND 量60 AND C/MA5<1.15,2222,0)COLORRED,LINETHICK7;

平台120:IF(破120 AND 量120 AND C/MA5<1.15,3333,0)COLORYELLOW,LINETHICK7;

 

特别提示:

选股预警指标编写 ,不同主流行情软件间指标转换。 请联系微信:396950280


大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标