Can anybody help me. I am trying to create a scan than looks for the price close below VWAP 150 intraday 3min chart.
Below I got the following from ProRealtime but not quite what I am looking for. I dont want to use bands but only the VWAP 150.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// VWAP DID
m=150
vw=volume*close
vwsum=SUMMATION[m](vw)
volsum=SUMMATION[m](volume)
vwap=vwsum/volsum
//stv= STD[m] ( vwap ) //(close)
//upline = vwap + stv
//dnline = vwap - stv
//
///////////////////////
//upline1 = vwap + stv * 2
//dnline1 = vwap - stv * 2
//upline2 = vwap + stv * 3
//dnline2 = vwap - stv * 3
//cc = customclose
Screener(closecrosses undervwapas"VWA")
//RETURN vwap AS "VWAP" , upline AS "upper band" , dnline AS "lower band" , cc as " customclose " , upline1 AS "upper band 1" , dnline1 AS "lower band 1" , upline2 AS "upper band 2" , dnline2 AS "lower band 2"
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue