SMU Price Volume Noise Reduction

stockmarketupdate · study · 23 行 · 点赞 62 · TradingView 原页

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

Pine Script

//@version=4
//Show the price volume movement for different time frame. As you can see the insiders buy/sell has significantly incerared before the crash or 2018 and similar pattren is developing for 2019/2020
study("SMU Price Volume Noise V1")
 
c1=close[1]
c2=close[2]
c3=close[3]
c4=close[4]
c5=close[5]
c6=close[6]
c7=close[7]
c8=close[8]
 
cha1=(close * volume)-(close[1] * volume[1])
cha2=(close[1] * volume[1])-(close[2] * volume[2])
cha3=(close[2] * volume[2])-(close[3] * volume[3])
 
 
chaMov3=(cha1+cha2+cha3)
 
 
plot(chaMov3, color=color.blue,linewidth=3)
plot(0, color=color.red)

← 返回列表