OPEN-SOURCE SCRIPT
JFJRTL

AKJ Strategy — Trend & Pullback Indicator
This indicator is based on the AKJ Swing Trading Strategy and combines Bollinger Bands (10/1) with Williams %R (4) across two timeframes. It is designed as a visual screener — the final trading decision always requires your own analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BACKGROUND COLORS (Weekly Chart Status)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 GREEN — Weekly Long active
The weekly chart has closed above the upper Bollinger Band at least 2 consecutive times. The background remains green until a counter-signal appears.
🔴 RED — Weekly Short active
The weekly chart has closed below the lower Bollinger Band at least 2 consecutive times.
🔵 BLUE — Warning (possible trend reversal)
The current week closes for the first time against the existing weekly direction (1x above BB during a Short, 1x below BB during a Long). The signal is still active — proceed with caution.
⬜ NEUTRAL — No weekly setup present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CHART SIGNALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▲ LONG Pullback (green arrow)
Appears when: Weekly Long active + Daily closed 2x above BB + Williams %R ≤ -80% + current candle is a down candle (Close < Open). The arrow appears on every qualifying candle as long as the setup remains active — the entry stop is trailed accordingly.
▼ SHORT Pullback (red arrow)
Appears when: Weekly Short active + Daily closed 2x below BB + Williams %R ≥ -20% + current candle is an up candle (Close > Open). Same principle for trailing the entry.
✕ Signal broken (orange cross)
Appears once when the daily chart closes 2 consecutive times against the weekly direction. The daily setup is then invalid. It reactivates automatically once the daily closes 2x again in the direction of the weekly trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO BOX (top right)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Weekly — Current weekly chart status (LONG ✓ / SHORT ✓ / NEUTRAL)
Daily Signal — Whether the daily setup is active (LONG active / SHORT active / no setup)
Williams %R — Current %R value, color-coded when inside the trigger zone
Pullback — Whether a pullback signal is present on the current candle
Setup ▲▼ — Summary row: lights up green/red when all conditions for a trade are met and an entry would be valid. Designed for fast screening.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SCREENER USAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is designed as a first filter when screening stocks. The Setup row in the info box shows at a glance whether a potential trade is present. A full analysis — including the higher timeframe monthly trend, upcoming earnings, and overall market conditions — is always required before entering any trade.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BB Length: 10 (default)
BB Standard Deviation: 1.0 (default)
Williams %R Length: 4 (default)
Oversold Level: -80 (Long trigger)
Overbought Level: -20 (Short trigger)
All parameters are adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational purposes only. It does not constitute financial or investment advice. Trading involves substantial risk of loss. Past signals are no guarantee of future results. Always trade at your own risk.
This indicator is based on the AKJ Swing Trading Strategy and combines Bollinger Bands (10/1) with Williams %R (4) across two timeframes. It is designed as a visual screener — the final trading decision always requires your own analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BACKGROUND COLORS (Weekly Chart Status)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 GREEN — Weekly Long active
The weekly chart has closed above the upper Bollinger Band at least 2 consecutive times. The background remains green until a counter-signal appears.
🔴 RED — Weekly Short active
The weekly chart has closed below the lower Bollinger Band at least 2 consecutive times.
🔵 BLUE — Warning (possible trend reversal)
The current week closes for the first time against the existing weekly direction (1x above BB during a Short, 1x below BB during a Long). The signal is still active — proceed with caution.
⬜ NEUTRAL — No weekly setup present.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CHART SIGNALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▲ LONG Pullback (green arrow)
Appears when: Weekly Long active + Daily closed 2x above BB + Williams %R ≤ -80% + current candle is a down candle (Close < Open). The arrow appears on every qualifying candle as long as the setup remains active — the entry stop is trailed accordingly.
▼ SHORT Pullback (red arrow)
Appears when: Weekly Short active + Daily closed 2x below BB + Williams %R ≥ -20% + current candle is an up candle (Close > Open). Same principle for trailing the entry.
✕ Signal broken (orange cross)
Appears once when the daily chart closes 2 consecutive times against the weekly direction. The daily setup is then invalid. It reactivates automatically once the daily closes 2x again in the direction of the weekly trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO BOX (top right)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Weekly — Current weekly chart status (LONG ✓ / SHORT ✓ / NEUTRAL)
Daily Signal — Whether the daily setup is active (LONG active / SHORT active / no setup)
Williams %R — Current %R value, color-coded when inside the trigger zone
Pullback — Whether a pullback signal is present on the current candle
Setup ▲▼ — Summary row: lights up green/red when all conditions for a trade are met and an entry would be valid. Designed for fast screening.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SCREENER USAGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is designed as a first filter when screening stocks. The Setup row in the info box shows at a glance whether a potential trade is present. A full analysis — including the higher timeframe monthly trend, upcoming earnings, and overall market conditions — is always required before entering any trade.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BB Length: 10 (default)
BB Standard Deviation: 1.0 (default)
Williams %R Length: 4 (default)
Oversold Level: -80 (Long trigger)
Overbought Level: -20 (Short trigger)
All parameters are adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is for educational purposes only. It does not constitute financial or investment advice. Trading involves substantial risk of loss. Past signals are no guarantee of future results. Always trade at your own risk.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.