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 protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.