按条件编辑一个选股公式
2019/12/16 18:13:06
公式编写说明:
请老师按条件编辑一个选股公式谢谢!条件《1》成交量连续3天出现递增黄色量柱时的.{M1 2 500 5 M2 2 500 10}以下为成交量源码:VOLUME:VOL,VOLSTICK;MAVOL1:=MA(VOLUME,M1),COLORRED;MAVOL2:=MA(VOLUME,M2),COLORGREEN;量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;净量:=买量-卖量>0;STICKLINE(净量,0,VOL,2,0),COLORYELLOW;拉升净买入黄色:0,COLORYELLOW;条件《2》连续3天出现收盘价高于开盘价的.条件《3》3天的总涨幅小于5%的.要求比较多辛苦老师了,恭祝投资顺利大赚钱!!!
公式源码示例:
量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
净量:=买量-卖量>0;
EVERY(净量,3) AND EVERY(量>REF(量,1),3) AND EVERY(C>O,3) AND BETWEEN(C/REF(O,3),1.100,1.500);
看股吧 公式 www.kanguba .com
其它股票公式列表