Hello,
Is there a screener that can scan current candle close at or above >= intraday vwap with the option of select price range as part of the condition:
So far I’ve found the partial code for the price range condition, unsure how the vwap can be added in?
PriceCond = 0
IF close >= 10 AND close <= 25 THEN
PriceCond = 1
ENDIF
Here is the code with the VWAP condition added:
d = max(1, intradaybarindex)
VWAP = SUMMATION[d](volume*typicalprice)/SUMMATION[d](volume)
PriceCond = close >= 10 AND close <= 25 and close>=vwap
screener[pricecond]
Thank you very much Nicolas. The price range is working and does scan stock’s current candle close at or above of vwap.
In comparison of two screeners run the same settings at 5mins and had them sorted by % change with >=vwap. It seem the PRT screener has pick up less %change stocks. Any idea why?
PriceCond = close >= 0.020 AND close <= 1.000 and close >= vwap