You need to code your strategy based on some historical data trade volume and then with every tick u need to check if condition meet or not and take traded based on that.
I build something like this for my own purpose but profit/loss total depend on…