OPEN-SOURCE SCRIPT
ATR Dow Theory

Because we built this engine using the Average True Range (ATR) instead of static percentages, the script natively "auto-scales" to whatever timeframe you are looking at.
An ATR on a 5-minute chart might be 15 points, while an ATR on a Daily chart might be 300 points. The multiplier simply says: "Wait for a move equal to X candles."
Because of this, your settings don't need wild adjustments, but you do need to tighten the multipliers on the massive macro timeframes (Weekly/Monthly) because a 10x ATR drop on a Monthly chart would mean the economy is literally collapsing before the script fires!
Here is the professional calibration cheat sheet for your Dow Engine:
1. The Recommended ATR Settings
Intraday Day-Trading (5m / 15m / 1hr)
ATR Length: 14 (Standard smoothing)
Minor (): 1.5 (Filters out 1-candle fakeouts)
Secondary {}: 4.0 (Catches the main intraday morning/afternoon waves)
Primary []: 10.0 (Maps the dominant trend of the entire week)
Swing Trading (Daily Chart)
ATR Length: 14
Minor (): 1.5 (A quick 1-2 day breather)
Secondary {}: 3.5 (A standard week-long pullback)
Primary []: 8.0 (The core macro Bull/Bear market tide)
Macro Investing (Weekly Chart)
ATR Length: 14
Minor (): 1.0 (Weekly candles are huge; 1 ATR is enough to show a minor bend)
Secondary {}: 3.0 (A multi-week correction)
Primary []: 6.0 (A massive structural bear market)
Generational Holding (Monthly Chart)
ATR Length: 14
Minor (): 1.0
Secondary {}: 2.0
Primary []: 4.0 (If a monthly chart drops 4x its average range, the decade-long trend is over).
Using Acronyms (PBUS, SBES, etc.) combined with a Horizontal Watermark Line turns these shift points into incredibly valuable, ongoing Support and Resistance levels without cluttering your candlesticks.
Here is exactly how I adjusted the engine based on logic:
The Acronyms: I programmed the engine to strictly use the 4-letter codes you designed.
P (Primary), S (Secondary), M (Minor)
BU (Bullish), BE (Bearish)
S (Shift)
PBUS is PRIMARY BULLISH SHIFT
SBES IS SECONDARY BEARISH SHIFT
MBUS is MINOR BULLISH SHIFT
An ATR on a 5-minute chart might be 15 points, while an ATR on a Daily chart might be 300 points. The multiplier simply says: "Wait for a move equal to X candles."
Because of this, your settings don't need wild adjustments, but you do need to tighten the multipliers on the massive macro timeframes (Weekly/Monthly) because a 10x ATR drop on a Monthly chart would mean the economy is literally collapsing before the script fires!
Here is the professional calibration cheat sheet for your Dow Engine:
1. The Recommended ATR Settings
Intraday Day-Trading (5m / 15m / 1hr)
ATR Length: 14 (Standard smoothing)
Minor (): 1.5 (Filters out 1-candle fakeouts)
Secondary {}: 4.0 (Catches the main intraday morning/afternoon waves)
Primary []: 10.0 (Maps the dominant trend of the entire week)
Swing Trading (Daily Chart)
ATR Length: 14
Minor (): 1.5 (A quick 1-2 day breather)
Secondary {}: 3.5 (A standard week-long pullback)
Primary []: 8.0 (The core macro Bull/Bear market tide)
Macro Investing (Weekly Chart)
ATR Length: 14
Minor (): 1.0 (Weekly candles are huge; 1 ATR is enough to show a minor bend)
Secondary {}: 3.0 (A multi-week correction)
Primary []: 6.0 (A massive structural bear market)
Generational Holding (Monthly Chart)
ATR Length: 14
Minor (): 1.0
Secondary {}: 2.0
Primary []: 4.0 (If a monthly chart drops 4x its average range, the decade-long trend is over).
Using Acronyms (PBUS, SBES, etc.) combined with a Horizontal Watermark Line turns these shift points into incredibly valuable, ongoing Support and Resistance levels without cluttering your candlesticks.
Here is exactly how I adjusted the engine based on logic:
The Acronyms: I programmed the engine to strictly use the 4-letter codes you designed.
P (Primary), S (Secondary), M (Minor)
BU (Bullish), BE (Bearish)
S (Shift)
PBUS is PRIMARY BULLISH SHIFT
SBES IS SECONDARY BEARISH SHIFT
MBUS is MINOR BULLISH SHIFT
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.