:=500;_MA5 = MA(, 5);VOL_MA10 = MA(VOL, 10);VOL_VS_MA5 = VOL >= (REF(VOL_MA5, 1) * 2);VOL_VS_MA10 = VOL >= (REF(VOL_MA10, 1) * 2);VOL_MATCH = (VOL_VS_MA5 OR VOL_VS_MA10);IF VOL_MATCH THEN{VOL_VS_MA5_VALUE = VOL / REF(VOL_MA5, 1);VOL_VS_MA10_VALUE = VOL / REF(VOL_MA10, 1);IF VOL_VS_MA5_VALUE > VOL_VS_MA10_VALUE THENSIGNAL_STENGTH : VOL_VS_MA5_VALUE;ELSESIGNAL_STENGTH : VOL_VS_MA10_VALUE;}//SIGNAL_STENGTH : VOL_VS_MA5 OR VOL_VS_MA10;//IF VOL_MATCH THEN//SIGNAL: 3 ;//-----------------条件------------