PROTECTED SOURCE SCRIPT
Kings Line Candel Strategy

Kings Line Candle Strategy is a simple but effective price-action–based tool designed to help traders quickly visualize bullish and bearish market conditions. It combines moving average filters with candle coloring to highlight momentum shifts in the market.
EMA (Exponential Moving Average):
The script uses a 9-period EMA as the primary trend filter. When price closes above this EMA, the line turns green, signaling a potential bullish environment. When price closes below it, the line turns red, indicating a bearish bias.
SMA (Simple Moving Average):
An optional SMA (with a customizable length) can be displayed on the chart. This secondary average is useful for identifying medium-term trend direction and smoothing out price noise.
Candle Coloring:
Candles are automatically recolored based on their relation to the SMA:
Green candles → price closing above the SMA.
Red candles → price closing below the SMA.
This dual approach (EMA line + SMA candle filter) makes it easier for traders to spot trend continuations, reversals, and possible entry/exit zones without cluttering the chart.
⚙️ Inputs & Customization
MA Length: Adjust the length of the SMA (default = 9).
Show MA: Option to toggle the SMA on or off, depending on whether you want a simpler or more detailed view.
📊 How to Use
Add the script to your chart.
Use the EMA line as a quick visual guide to determine the dominant short-term trend.
Watch how candle colors shift around the SMA – this highlights potential breakouts or trend reversals.
Combine the signals with your own risk management, support/resistance, and trading strategy for confirmation.
🚫 Disclaimer
This indicator is not financial advice. It does not guarantee profits or predict the future. It is designed as a visual aid to support your own market analysis and decision-making. Past performance does not guarantee future results.
EMA (Exponential Moving Average):
The script uses a 9-period EMA as the primary trend filter. When price closes above this EMA, the line turns green, signaling a potential bullish environment. When price closes below it, the line turns red, indicating a bearish bias.
SMA (Simple Moving Average):
An optional SMA (with a customizable length) can be displayed on the chart. This secondary average is useful for identifying medium-term trend direction and smoothing out price noise.
Candle Coloring:
Candles are automatically recolored based on their relation to the SMA:
Green candles → price closing above the SMA.
Red candles → price closing below the SMA.
This dual approach (EMA line + SMA candle filter) makes it easier for traders to spot trend continuations, reversals, and possible entry/exit zones without cluttering the chart.
⚙️ Inputs & Customization
MA Length: Adjust the length of the SMA (default = 9).
Show MA: Option to toggle the SMA on or off, depending on whether you want a simpler or more detailed view.
📊 How to Use
Add the script to your chart.
Use the EMA line as a quick visual guide to determine the dominant short-term trend.
Watch how candle colors shift around the SMA – this highlights potential breakouts or trend reversals.
Combine the signals with your own risk management, support/resistance, and trading strategy for confirmation.
🚫 Disclaimer
This indicator is not financial advice. It does not guarantee profits or predict the future. It is designed as a visual aid to support your own market analysis and decision-making. Past performance does not guarantee future results.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.