Paratica Golden Cross Trend

theprtc · study · 9 行 · 点赞 91 · TradingView 原页

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

Pine Script

//@version=3
study(title="Paratica Golden Cross Trend", shorttitle="Paratica Golden Cross Trend")
 
ma50 = sma(close,50)
ma200 = sma(close,200)
 
p1 = plot(0)
p2 = plot(ma50 - ma200, title="Trend")
fill(p1, p2, color = ma50 > ma200 ? green : red)

← 返回列表