snakeawake
New member
Hi everyone,
there are so many breadth indicators re moving averages, ie % of NYSE or NASDAQ stocks above certain moving average, etc.
I am just wondering if theres a way to calculate % of stocks trading above their RTH vwap on 5min timeframe. I used vwap_scan study to calculate current 5 min price above 0.001 standard deviations. It gives me the count to look at. However, struggling to code it into an indicator like above_vwap plotted green and below_vwap plotted red OR just a label showing less than 50% as red and above as green, etc.
I tried GPT but it went nuts, kept looping through incorrect functions back and forth.
there are so many breadth indicators re moving averages, ie % of NYSE or NASDAQ stocks above certain moving average, etc.
I am just wondering if theres a way to calculate % of stocks trading above their RTH vwap on 5min timeframe. I used vwap_scan study to calculate current 5 min price above 0.001 standard deviations. It gives me the count to look at. However, struggling to code it into an indicator like above_vwap plotted green and below_vwap plotted red OR just a label showing less than 50% as red and above as green, etc.
I tried GPT but it went nuts, kept looping through incorrect functions back and forth.