楼主你好,感谢你的分享,第二个通达信没通过,提示输出超出1个,不知能否解决,谢谢!
第二个低吸做波段的
量:=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;
净量:=买量-卖量;
MAA:=MA( CLOSE ,2) ;
自用:CLOSE<MAA AND 净量>0; |