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.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。