Digital_Currency_Learning_Camp

Timeweighted Colored VWAP with Slope

Hey, traders!

This script calculates the VWAP's change rate against ATR in a number of k-lines. It controls the VWAP line's color based on the average change rate, and it changes its color in a time-weighted way.

1. Calculating vwapValue's rate of change

2. Controlling Line's color based on the average change rate against ATR

3. Calculating average change rate in the past k-lines

K线的数量:计算多少根K线的VWAP值的变化率的平均值,相当于用K线的数量来时间加权
变化率阈值:线条颜色变化的阈值,VWAP值的变化率比这个大或者小时改变颜色,否则延续原来的颜色

Good luck with your trading!
發布通知:
1. moving to left two k-lines: offset = -2
2. set default k_num equals 1
3. set default change_rate_threshold to 0.3, it works perfect fot Bitcoin in 15min chart!
發布通知:
Controlling Line's color based on the average change rate against Vegas

Crypto学习营【微信:free_hongkong】请注明“TV”;群内提供实盘策略和点位、量化交易信号、重要技术指标提示、课程学习资源、行情分析通知;

Telegram交流群:https://t.me/joinchat/_Dpkfm4GbzM5ZmI9
Discord实盘群:https://discord.gg/QbSrha8QFa
Youtube频道:https://www.youtube.com/c/Crypto学习营
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?