TradingView
Mynicknameislion
2022年3月15日午後9時48分

TBM VWAP Bands Style Setup 

Euro Fx/U.S. DollarFXCM

詳細

A stripped down and modified version of the 'VWAP with Standard Deviation Bands' indicator by pmk07. The bands have been modified and styled to match those used on the Tradovate platform by Matt from the Trades By Matt youtube channel so if you would like to know how they should be used go to his youtube channel and watch his strategy explanation video.
コメント
itzkahuu
Hi, is it possible to add sessions vwaps also?
For sydney, HK, UK and NY ?
Mynicknameislion
@rubemedgar, It SHOULD be possible however it might bring a little difficulty with different time frames. If i get time i can look into adding it but ill prob have to include a list of a bunch of sessions for users to choose from.
itzkahuu
@Mynicknameislion, well i ended up trying to do it myself and kinda managed, im only having a ploting issue
itzkahuu
@Mynicknameislion, this is how i managed:
string session1_time = input.session(group='ms', defval='1530-0700', title='London')
f_anch_vwap(_time, _mult) =>
in_range = time(timeframe.period, str.format("{0}:1234567", _time))
[_vwap, _up, _dn] = ta.vwap(hlc3, in_range, _mult)

[session1_vwap, upband1, dnband1] = f_anch_vwap(session1_time, multi)

plot(upband1, title='Session 1 VWAP', color=bar_index % 2 ? color.new(session1_color, bandTransp) : na)
plot(session1_vwap, title='Session 1 VWAP', color=bar_index % 2 ? session1_color : na, linewidth = 2)
plot(dnband1, title='Session 1 VWAP', color=bar_index % 2 ? color.new(session1_color, bandTransp) : na)

string session1_time = input.session(group='ms', defval='1530-0700', title='London')
f_anch_vwap(_time, _mult) =>
in_range = time(timeframe.period, str.format("{0}:1234567", _time))
[_vwap, _up, _dn] = ta.vwap(hlc3, in_range, _mult)

[session1_vwap, upband1, dnband1] = f_anch_vwap(session1_time, multi)

plot(upband1, title='Session 1 VWAP', color=bar_index % 2 ? color.new(session1_color, bandTransp) : na)
plot(session1_vwap, title='Session 1 VWAP', color=bar_index % 2 ? session1_color : na, linewidth = 2)
plot(dnband1, title='Session 1 VWAP', color=bar_index % 2 ? color.new(session1_color, bandTransp) : na)
詳細