Fixed offset Vwap

Y

Yusef007

New member
Hello,
Does anyone know how to code a fixed offset VWAP? The one currently available only allows the upper and lower bands to be based off of standard deviations.
Thanks!
 
T

tradebyday

Active member
Hello,
Does anyone know how to code a fixed offset VWAP? The one currently available only allows the upper and lower bands to be based off of standard deviations.
Thanks!
What kind of offset were you looking for besides by StdDev??
 
Y

Yusef007

New member
What kind of offset were you looking for besides by StdDev??
I’m looking for a fixed offset where I can displace the upper/lower band by a fixed dollar amount. For instance, the upper band would be $x above the VWAP.
 
P

Playstation

Active member
VIP
I think it can be done, just need a percentage modifier?
I'm not a coder, but i think the logic would be this?
*bump.
 
T

tradebyday

Active member
I’m looking for a fixed offset where I can displace the upper/lower band by a fixed dollar amount. For instance, the upper band would be $x above the VWAP.
An error you would run into with this method would be that each ticker moves at different rates, so it would only be usable on certain stocks at a time and would NEED to be adjusted for each stock you want to pull up on your chart, which would be a waste of time to be honest. Similar to what @Playstation said I guess you could make it a 5% or a 10% offset in the bands to make it a tad more reliable on multiple tickers with little need to adjust, or set a multiplier X * ATR away from VWAP to use. The second would have similar to a bollinger band-esque style to it which would be kinda cool i guess. These would be my suggestions to make a more universal indicator with little need to tweak from asset to asset
 
J

johntermotto

New member
2019 Donor
Try this. I did something similar to setting up the offset for measuring gamma. Just place the imput you want. For example, if you want to track $5 on either side, just put 5 for up, and -5 for down. https://tos.mx/VUHhgVu
 

Similar threads

Top