PROTECTED SOURCE SCRIPT
Monthly Return Statistics 涨跌幅统计-老僧论金

Function Overview:
This indicator calculates the price change percentage for any custom monthly period and plots the corresponding long-term moving average, helping traders quickly assess market performance and trend direction over different timeframes.
It is suitable for gold, stocks, commodities, indices, and any asset with historical price data.
功能概述:
本指标用于统计任意月度周期的涨跌幅,并绘制对应的长期均线,帮助交易者快速判断市场在不同时间周期内的表现和趋势方向。
适合用于黄金、股票、大宗商品、指数等任何有价格历史的数据。
主要功能:
可自定义统计周期
用户可设置 涨跌幅计算周期(月),如 1M(单月)、3M(季度)、6M(半年)等。
可叠加长期均线
用户可设置 SMA周期(月),对涨跌幅进行平滑处理,观察长期趋势。
颜色直观
涨幅为绿色,跌幅为红色,SMA为蓝色,零轴为灰色。
使用建议:
短期交易者:用 1M 或 3M 周期观察市场情绪变化。
中长期投资者:结合 12M / 36M 周期的 SMA 判断大趋势。
历史回测:快速发现历史上的强势周期和弱势周期。
注意事项:
数据基于月度收盘与开盘,日内价差不在统计范围内。
SMA 越长,趋势越平滑,但响应越慢;SMA 越短,反应越快但波动更大。
适合和其它趋势判断工具(如均线系统、RSI、MACD)结合使用。
This indicator calculates the price change percentage for any custom monthly period and plots the corresponding long-term moving average, helping traders quickly assess market performance and trend direction over different timeframes.
It is suitable for gold, stocks, commodities, indices, and any asset with historical price data.
功能概述:
本指标用于统计任意月度周期的涨跌幅,并绘制对应的长期均线,帮助交易者快速判断市场在不同时间周期内的表现和趋势方向。
适合用于黄金、股票、大宗商品、指数等任何有价格历史的数据。
主要功能:
可自定义统计周期
用户可设置 涨跌幅计算周期(月),如 1M(单月)、3M(季度)、6M(半年)等。
可叠加长期均线
用户可设置 SMA周期(月),对涨跌幅进行平滑处理,观察长期趋势。
颜色直观
涨幅为绿色,跌幅为红色,SMA为蓝色,零轴为灰色。
使用建议:
短期交易者:用 1M 或 3M 周期观察市场情绪变化。
中长期投资者:结合 12M / 36M 周期的 SMA 判断大趋势。
历史回测:快速发现历史上的强势周期和弱势周期。
注意事项:
数据基于月度收盘与开盘,日内价差不在统计范围内。
SMA 越长,趋势越平滑,但响应越慢;SMA 越短,反应越快但波动更大。
适合和其它趋势判断工具(如均线系统、RSI、MACD)结合使用。
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
小红书、公众号、视频号:老僧论金
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
小红书、公众号、视频号:老僧论金
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.