Hi everyone. I'm trying to make a tradingview alert bot. The algorithm is to alert me whenever current volume on a given time frame volume exceeds volume MA by X % on ANY crypto pair on the market (99% will be spam, but i need to start somewhere to adjust it). It can be done through the website with a simple alert button, but for a single pair. I also didn't find any use of their api.
But i found this
https://www.tradingview.com/cryptocurrency-signals/I think it's pretty close to what i've been looking for, it sums up the whole market, i can choose a time frame, and i can choose an exchange(I need bittrex + binance). But i still didn't manage to make this algorithm there.
The algorithm essentially is:
if current volume on a timeframe x exceeds VolumeMA(y) by z % then send an alert.
Any advice would be very appreciated.
Thanks.