改放量突破为,输出量30等于111一个预警条件
2020/2/21 18:54:16
公式编写说明:
公式源码如下:(改成输出量30等于111一个预警条件)谢谢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;
公式源码回答:
量比:=VOL/REF(MA(VOL,5),1);
量30:VOL>REF(HHV(VOL,30),1) AND 量比>2;
投股 票网 www.tou 18.cn
股市公式下载推荐