[blackcat] L2 Kiosotto Indicator

The Kiosotto Indicator is a versatile technical analysis tool designed for forex trading but applicable to other financial markets. It excels in detecting market reversals and trends without repainting, ensuring consistent and reliable signals. The indicator has evolved over time, with different versions focusing on specific aspects of market analysis.
KEY FEATURES
Reversal Detection: Identifies potential market reversals, crucial for traders looking to capitalize on turning points.
Trend Detection: Earlier versions focused on detecting trends, useful for traders who prefer to follow the market direction.
Non-Repainting: Signals remain consistent on the chart, providing reliable and consistent signals.
Normalization: Later versions, such as Normalized Kiosotto and Kiosotto_2025, incorporate normalization to assess oversold and overbought conditions, enhancing interpretability.
VERSIONS AND EVOLUTION
Early Versions: Focused on trend detection, useful for following market direction.
2 in 1 Kiosotto: Emphasizes reversal detection and is considered an improvement by users.
Normalized Versions (e.g., Kiosotto_2025, Kiosotto_3_2025): Introduce normalization to assess oversold and overbought conditions, enhancing interpretability.
HOW TO USE THE KIOSOTTO INDICATOR
Understanding Signals:
Reversals: Look for the indicator's signals that suggest a potential reversal, indicated by color changes, line crossings, or other visual cues.
Trends: Earlier versions might show stronger trending signals, indicated by the direction or slope of the indicator's lines.
Normalization Interpretation (for normalized versions):
Oversold: When the indicator hits the lower boundary, it might indicate an oversold condition, suggesting a potential buy signal.
Overbought: Hitting the upper boundary could signal an overbought condition, suggesting a potential sell signal.
PINE SCRIPT IMPLEMENTATION
The provided Pine Script code is a version of the Kiosotto indicator. Here's a detailed explanation of the code:
FEATURES
• Dynamic Momentum Measurement:
Bullish/Bearish ratio calculation using weighted RSI values
Historical high-low price range consideration
Customizable deviation period and alert thresholds
• Visual Representation:
Aqua-colored bullish histograms
Fuchsia-colored bearish histograms
Silver horizontal threshold line for alerts
INPUT PARAMETERS
• Deviation Period:
Default value of 150 bars
Determines lookback window for calculations
• Alerts Threshold:
User-defined level for generating notifications
Helps filter significant divergences from noise
CALCULATION METHODOLOGY
For each bar within the specified period:
Calculates RSI at that point
Tracks new highs/lows
Accumulates weighted ratios based on price action
Final Ratios Computed As:
Bullish Ratio: Weighted sum of bull phases divided by bear phase total
Bearish Ratio: Weighted sum of bear phases divided by bull phase total
TRADING SIGNALS
[bu]BULLISH CONDITION:[/bu]
When bullish ratio exceeds user-specified alert level
Generates green "Buy" labels below chart
[bu]BEARISH CONDITION:[/bu]
When bearish ratio surpasses alert threshold
Creates red "Sell" markers beneath graph
HOW TO USE
Adjust 'Dev Period' to match your preferred time horizon
Set 'Alerts Level' according to risk tolerance or strategy requirements
Monitor histogram divergence patterns relative to the threshold line
Utilize both visual indicators and alert messages for confirmation
NOTES
This indicator works best as part of a comprehensive trading system rather than standalone decisions. Consider backtesting configurations before live application.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.