We are not providing TOS script on our forums. For private paid assistance you can send a query on this page: Programming services
Thank you, Nicholas. Will do
Sorry, but what platform then was this script written for? Are you providing scripts for Trading View?
Our website is dedicated to programming for the ProRealTime trading platform.
Hello,
It seems there is an issue with the SD.
They just remains with same value. (snapshot attached).
I tried to use another vwap code using MTF and adding the SD to it, but the work around isnt showing anything besides the mtf vwap:
// --- settings
startDate = 20210621
startTime = 20000
viewSD = 1
// --- end of settings
timeframe (15 minutes,updateonclose)
VWAP=undefined
SDup1 = undefined
SDlw1 = undefined
SDup2 = undefined
SDlw2 = undefined
SDup3 = undefined
SDlw3 = undefined
if opendate=startDate and opentime=starttime then
startbar=barindex
flag = 1
endif
if opendate>=startDate and flag then
barcount=barindex-startbar
d = max(1, barcount)
VWAP = SUMMATION[d](volume*typicalprice)/SUMMATION[d](volume)
if(barcount=0) then
sd = 0
else
sd = SUMMATION[d](max(abs(high-vwap),abs(vwap-low)))/d
endif
if viewSD then
SDup1 = vwap+sd
SDlw1 = vwap-sd
SDup2 = vwap+sd*2
SDlw2 = vwap-sd*2
SDup3 = vwap+sd*3
SDlw3 = vwap-sd*3
endif
if vwap>vwap[1] then
color = 1
else
color = -1
endif
endif
RETURN VWAP as "VWAP dev weekly"