请老师编辑一个成交量连续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(CLOSEOPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE0; 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;