Skip to main content
BTC / USDT———ETH / USDT———SOL / USDT———BNB / USDT———XRP / USDT———DOGE / USDT———TON / USDT———AVAX / USDT———LINK / USDT———ADA / USDT———TRX / USDT———DOT / USDT———BTC / USDT———ETH / USDT———SOL / USDT———BNB / USDT———XRP / USDT———DOGE / USDT———TON / USDT———AVAX / USDT———LINK / USDT———ADA / USDT———TRX / USDT———DOT / USDT———
Bảng giá

ROC (Rate of Change)

Percentage momentum, unit-free across instruments — TradeStation and MetaStock code.

ROC expresses momentum as a percentage: how much price has changed over N bars relative to the prior close. Being unit-free, it compares cleanly across instruments; zero-line crosses and extremes flag momentum shifts. Copy the version for your platform.

EasyLanguage
inputs: Length(12);
variables: MyROC(0);
MyROC = RateOfChange(Close, Length);
Plot1(MyROC, "ROC");
MetaStock
{ROC - Rate of Change, period 12}
rocVal := ROC(C, 12);
rocVal

To use it inside dtcharts, paste any version into the Script Converter and it becomes a native indicator on your chart.

Điều này có hữu ích không?