PROTECTED SOURCE SCRIPT
מעודכן RSI For Loop | RakoQuant

RSI For Loop | RakoQuant is a regime-based momentum oscillator built from first principles using a loop-driven RSI engine, designed for clean trend-state detection and systematic backtesting inside an indicator framework.
This tool is part of the RakoQuant protected research line, combining institutional visuals, persistent regime logic, and a full custom performance table normally reserved for strategies.
Core Concept
This indicator answers one key question:
Is momentum expanding into a bullish regime, collapsing into bearish weakness, or remaining neutral?
Unlike standard RSI implementations, this version computes directional pressure through a for-loop accumulation model, producing a more structural and controlled oscillator.
How It Works
1. For-Loop RSI Engine
Instead of the classic single-step RSI calculation, this script uses:
Loop-based directional gain accumulation
Loop-based directional loss accumulation
RMA smoothing over the loop pressure
This creates a cleaner regime signal that avoids noisy single-candle distortions.
2. Threshold Regime Structure
Two thresholds define the oscillator regime:
Bullish Expansion → RSI breaks above Long Threshold
Bearish Contraction → RSI breaks below Short Threshold
State persists until a flip occurs, creating a true regime model rather than candle-by-candle oscillation.
3. BUY / SELL Flip Labels
On confirmed state transitions:
𝓑𝓾𝔂 prints on bullish regime activation
𝓢𝓮𝓵𝓵 prints on bearish regime breakdown
These flips are designed for:
Trend continuation confirmation
Regime-based positioning
Portfolio directional filters
UniStrat Premium Visual Engine
This protected release includes the full RakoQuant Palette System, supporting:
Alpha
Desert
Premium
Navy
Warm
Toxic
Neo
Matrix
All oscillator plots, candle painting, and tables automatically inherit the active palette.
RQ Custom Metrics Table (Indicator Backtest)
The defining feature of this protected script is its built-in:
♛ RQ Custom Metrics Engine
A full indicator-native backtest system displays:
Equity Max Drawdown
Intra-Trade Max Drawdown
Profit Factor
Win Rate
Sharpe Ratio
Sortino Ratio
Omega Ratio
Half Kelly Exposure
Total Trades
Net Profit %
Displayed in the signature table:
𝓑𝓪𝓬𝓴𝓽𝓮𝓼𝓽 𝓜𝓮𝓽𝓻𝓲𝓬𝓼
This allows systematic evaluation of indicator performance before building full strategies.
How to Use
✅ Momentum regime confirmation tool
✅ Trend continuation oscillator
✅ Portfolio trend filter (RSPS / UniStrat frameworks)
✅ Works best on 4H–1D swing environments
Recommended workflow:
Only trade long when oscillator is bullish
Defensive/cash when oscillator flips bearish
Combine with breakout or trend confluences for execution
Screenshot Placement
📸 Example chart / screenshot:
This tool is part of the RakoQuant protected research line, combining institutional visuals, persistent regime logic, and a full custom performance table normally reserved for strategies.
Core Concept
This indicator answers one key question:
Is momentum expanding into a bullish regime, collapsing into bearish weakness, or remaining neutral?
Unlike standard RSI implementations, this version computes directional pressure through a for-loop accumulation model, producing a more structural and controlled oscillator.
How It Works
1. For-Loop RSI Engine
Instead of the classic single-step RSI calculation, this script uses:
Loop-based directional gain accumulation
Loop-based directional loss accumulation
RMA smoothing over the loop pressure
This creates a cleaner regime signal that avoids noisy single-candle distortions.
2. Threshold Regime Structure
Two thresholds define the oscillator regime:
Bullish Expansion → RSI breaks above Long Threshold
Bearish Contraction → RSI breaks below Short Threshold
State persists until a flip occurs, creating a true regime model rather than candle-by-candle oscillation.
3. BUY / SELL Flip Labels
On confirmed state transitions:
𝓑𝓾𝔂 prints on bullish regime activation
𝓢𝓮𝓵𝓵 prints on bearish regime breakdown
These flips are designed for:
Trend continuation confirmation
Regime-based positioning
Portfolio directional filters
UniStrat Premium Visual Engine
This protected release includes the full RakoQuant Palette System, supporting:
Alpha
Desert
Premium
Navy
Warm
Toxic
Neo
Matrix
All oscillator plots, candle painting, and tables automatically inherit the active palette.
RQ Custom Metrics Table (Indicator Backtest)
The defining feature of this protected script is its built-in:
♛ RQ Custom Metrics Engine
A full indicator-native backtest system displays:
Equity Max Drawdown
Intra-Trade Max Drawdown
Profit Factor
Win Rate
Sharpe Ratio
Sortino Ratio
Omega Ratio
Half Kelly Exposure
Total Trades
Net Profit %
Displayed in the signature table:
𝓑𝓪𝓬𝓴𝓽𝓮𝓼𝓽 𝓜𝓮𝓽𝓻𝓲𝓬𝓼
This allows systematic evaluation of indicator performance before building full strategies.
How to Use
✅ Momentum regime confirmation tool
✅ Trend continuation oscillator
✅ Portfolio trend filter (RSPS / UniStrat frameworks)
✅ Works best on 4H–1D swing environments
Recommended workflow:
Only trade long when oscillator is bullish
Defensive/cash when oscillator flips bearish
Combine with breakout or trend confluences for execution
Screenshot Placement
📸 Example chart / screenshot:
הערות שחרור
V2סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.