How to crate an mt5indicaror from volume indicator

how can i draw objects on the price line on the chart when three or more volume indicator ticks rise or fall consecutivey