TradingView
TheYangGuizi
18 יוני 2016 21:24

VWAP MTF (Multi Timeframe) 

DAX index of German listed sharesFXCM

תיאור

VWAP that can be be plotted from different timeframes.

Ex if you chose 60 min, it will plot a new vwap line at the start of every hour.

Intraday:

Used code from SandroTurriate to create this.
תגובות
nedcpatrader
Thanks for sharing. Question about timeframe box input: M for month, W for week, D for daily. What is the code for Year, Hour, 5 min, 1 min? Appreciate your response.
TheYangGuizi
@nedcpatrader, Sorry for the late answer :D. But for hour you write 60 (like 60 minutes), for 5 min you write 5... and so on.
Gangaram0719
@TheYangGuizi, Thank you
me_akashpaul
Trading view gives only 3 indicator to put in the chart for free. Instead of adding three same indicators can you merge the same ? Like three different inputs and obviously we can enable/disable plot option
me_akashpaul
I have just copied the script 3 times and change the variable names and it worked . But I can't seem to understand why daily timeframe and weekly timeframe are same even on the default script of yours.
Kotha_Rao
@me_akashpaul, Hi, how is 2nd line calculated. Say, If I select "D" it will draw one line for every completed day. It also, draws 2nd line. what is it and how is it calculated ?
I assume it's based on Time frame selected by us. Like 5 min or 15min 60min etc. I copied same indicator again as suggested by you. one daily and other 60Min. and if my selected timeframe is 15Min, 2nd line should be same for both indicators. But here, it is showing totally different 2nd lines for same timeframe. So, I am confused. Appreciate your reply.
me_akashpaul
@Kotha_Rao, to be honest I am not using this script anymore . It's been 1 year since I commented. But what I can recall is that there is an error in the TF in the code itself . Basically the D and W is same in the code . That's why when you select same TF it shows different although it should've been same line.
Kotha_Rao
@me_akashpaul, Thanks for your prompt reply
Gangaram0719
@me_akashpaul, Yes, I agreed too
nareshkumar.jayachandran
pls sir convert it into pine 4.0 please
עוד