PROTECTED SOURCE SCRIPT

4-Week Return Columns

12
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)

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.