def volume_adjusted_moving_average(close_data, volume, period):
catch_errors.check_for_input_len_diff(close_data, volume)<EOL>catch_errors.check_for_period_error(close_data, period)<EOL>avg_vol = np.mean(volume)<EOL>vol_incr = avg_vol * <NUM_LIT><EOL>vol_ratio = [val / vol_incr for val in volume]<EOL>close_vol = np.array(close_data) * vol_ratio<EOL>vama = [sum(close_vol[idx+<NUM_LIT:1>-period:idx+<NUM_LIT:1>]) / period for idx in range(period-<NUM_LIT:1>, len(close_data))]<EOL>vama = fill_for_noncomputable_vals(close_data, vama)<EOL>return vama<EOL>
Volume Adjusted Moving Average.

Formula:
VAMA = SUM(CLOSE * VolumeRatio) / period