OPEN-SOURCE SCRIPT
FagoriTools 1.0

**FagoriTools — Multi-TF Trend + Reverse RSI Levels**
All-in-one indicator that combines three utilities into a single script to reduce visual clutter on the chart:
**1) Configurable EMAs**
Five independent exponential moving averages, each with its own period, color, and on/off toggle. Default values follow common combinations: 9, 12, 26, 50, and 200. Useful for those who rely on classic crossovers (12/26, 50/200) and want all references consolidated within one indicator.
**2) Reverse RSI Levels**
Instead of displaying the RSI in a separate panel, this module plots two lines directly over price, indicating the exact value at which the asset would need to close for the RSI to reach the oversold (default 30) and overbought (default 70) thresholds.
The calculation inverts the RSI formula: starting from the current gain and loss averages (RMA), it solves the equation for the `close` value that would produce the target RSI, accounting for Wilder's smoothing. This allows you to see at a glance, "if it drops to X, it becomes oversold" or "to turn overbought, it needs to rise to Y," without switching between panels.
Both the RSI levels and the period (default 14) are fully customizable.
**3) Multi-Timeframe Table**
A consolidated panel displaying the asset's reading across seven timeframes: 5m, 15m, 1h, 4h, 1D, 1W, and 1M (each can be toggled on or off individually).
For each timeframe, the table shows:
* Trend — trend direction (Up/Down) based on the close relative to the slow EMA. Green = Up, Red = Down.
* RSI — numeric RSI value for that timeframe, with the background color reflecting the trend.
* Fixed (optional) — the same trend reading applied to a fixed pair chosen by the user (e.g., SPX500, DXY, BTCUSDT). Useful for tracking correlation with a benchmark without switching charts.
The table position is configurable across two dimensions (vertical: Top/Middle/Bottom; horizontal: Left/Right).
**How to Use**
1. Enable the EMAs that align with your strategy.
2. Adjust the RSI levels according to your style (some prefer 20/80 in crypto, 30/70 in stocks).
3. Use the multi-TF table to align your trades with the higher timeframe trend. Entries against the trend of larger timeframes typically have a lower win rate.
**Notes**
* The Reverse RSI is a deterministic calculation, not a projection. The value displayed is the current price required for the RSI to reach the target, and it updates with every candle.
* The "Fixed" column depends on the chosen symbol being available on the broker. Otherwise, it remains blank.
* Indicator is overlaid on price, working with any asset and timeframe.
All-in-one indicator that combines three utilities into a single script to reduce visual clutter on the chart:
**1) Configurable EMAs**
Five independent exponential moving averages, each with its own period, color, and on/off toggle. Default values follow common combinations: 9, 12, 26, 50, and 200. Useful for those who rely on classic crossovers (12/26, 50/200) and want all references consolidated within one indicator.
**2) Reverse RSI Levels**
Instead of displaying the RSI in a separate panel, this module plots two lines directly over price, indicating the exact value at which the asset would need to close for the RSI to reach the oversold (default 30) and overbought (default 70) thresholds.
The calculation inverts the RSI formula: starting from the current gain and loss averages (RMA), it solves the equation for the `close` value that would produce the target RSI, accounting for Wilder's smoothing. This allows you to see at a glance, "if it drops to X, it becomes oversold" or "to turn overbought, it needs to rise to Y," without switching between panels.
Both the RSI levels and the period (default 14) are fully customizable.
**3) Multi-Timeframe Table**
A consolidated panel displaying the asset's reading across seven timeframes: 5m, 15m, 1h, 4h, 1D, 1W, and 1M (each can be toggled on or off individually).
For each timeframe, the table shows:
* Trend — trend direction (Up/Down) based on the close relative to the slow EMA. Green = Up, Red = Down.
* RSI — numeric RSI value for that timeframe, with the background color reflecting the trend.
* Fixed (optional) — the same trend reading applied to a fixed pair chosen by the user (e.g., SPX500, DXY, BTCUSDT). Useful for tracking correlation with a benchmark without switching charts.
The table position is configurable across two dimensions (vertical: Top/Middle/Bottom; horizontal: Left/Right).
**How to Use**
1. Enable the EMAs that align with your strategy.
2. Adjust the RSI levels according to your style (some prefer 20/80 in crypto, 30/70 in stocks).
3. Use the multi-TF table to align your trades with the higher timeframe trend. Entries against the trend of larger timeframes typically have a lower win rate.
**Notes**
* The Reverse RSI is a deterministic calculation, not a projection. The value displayed is the current price required for the RSI to reach the target, and it updates with every candle.
* The "Fixed" column depends on the chosen symbol being available on the broker. Otherwise, it remains blank.
* Indicator is overlaid on price, working with any asset and timeframe.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.