PROTECTED SOURCE SCRIPT

4-Week Return Columns

6
What it does
This indicator calculates the cumulative return over each 4-week block (4 weekly bars) for a selected security and plots the result as a column chart on the 4th week of each block.

How it works

Runs on Weekly timeframe (indicator is fixed to W).

For every 4 weekly candles:

Start = Week 1 close

End = Week 4 close

Return = (End / Start - 1) × 100 (if % enabled)

By default, it plots only at the end of Week 4 to keep the chart clean.

Inputs

Use chart symbol: Use the current chart’s symbol (default).

Security (if not using chart): Select a different ticker to calculate returns for.

Show %: Toggle between percent and decimal return.

Rolling 4W return (every week): If enabled, plots the rolling 4-week return on every week instead of only the 4th week.

Notes / limitations

“4-week” means 4 weekly bars, not “the 4th calendar week of the month.”

Weekly bars follow the exchange session calendar, so holidays can slightly shift how weeks align.

Use cases

Compare 4-week momentum across symbols

Spot acceleration/slowdown in trend strength

Identify choppy vs trending phases at a glance

Disclaimer
For educational purposes only. Not financial advice.

Table/Checklist

Suggested default settings

Use chart symbol: ✅ ON

Show %: ✅ ON

Rolling: ❌ OFF (cleaner “block-end” columns)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.