量:VOL,VOLSTICK; MAVOL2:MA(量,13),COLORFF0000; 预量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00; VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE0,0,买,2.5,0),COLORRED; [local]1 请老师作一个五天红柱减小的选股公式
爱约股解答:
var1:=vol/((h-l)*2-abs(c-o));
买:=if(c>o,var1*(h-l),if(c<o,var1*((h-o)+(c-l)),vol/2));
every(买<ref(买,1),5);