VWAP MVWAP with pivot points

mtayal · study · 11 行 · 点赞 939 · TradingView 原页

本页源码来自 TradingView 公开发布的开源脚本,版权归原作者所有, 请遵循其原始许可(Pine 脚本常见 CC BY-NC-SA / MPL-2.0 / MIT)。 本项目仅用于研究检索与许可范围内的移植。

Pine Script

//Plots VWAP and MVWAP for intraday trading. Useful to avoid whipsaws
//Market structure is important to take any trades
//Avoid taking trades close to support and resistance
study("VWAP/ Mvwap", overlay = true)
avlen = input(50) 
color1 = blue
color2 = black
mvwap = ema(vwap,avlen)
overlay = true
plot(vwap,linewidth = 2,style = circles, color = color2)
plot(mvwap,color= color1)

← 返回列表