Volume per candle

#1
Hi. Does anyone know how to code for a set amount of shares per candle? Suppose I want a candle for every 100,000 shares traded in a stock. So 500,000 shares traded during the day would be 5 candles. 50,000 shares per candle would be 10 candles. Do I need to pay for intraday data for this or can it be done with free End Of Day data?

Thanks
 

Similar threads