把(成交量)指标改成选股公式
2019/12/16 19:21:59
公式编写说明:
请老师编辑一个成交量连续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;辛苦老师了,恭祝投资顺利大赚钱!!!
公式源码回答:
量:=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);
投股票 网 www.tou18.c n
股市公式下载推荐