OPEN-SOURCE SCRIPT

3 EMA/SMA + Colored Candles[C2Trends]

// Indicator Features:
// 1) 3 Exponential Moving Averages and 3 Simple Moving Averages.
// 2) Additional EMA input for colored candles(EMA is hidden from chart, input used for coloring of candles only)
// 3) Turn colored candles on/off from main input tab of indicator settings.
// 4) Turn SMA's and EMA's on/off from main input tab of indicator settings.
// 5) Select single color or 2 color EMA and SMA lines from main input tab of indicator settings.

// Indicator Notes:
// 1) 'Candle EMA' input is the trend lookback period for the price candle colors. When price is above desired Candle EMA, price candles will color green. When price is below the Candle EMA, price candles will color fuchsia.
// 2) If you are using another indicator that colors the price candles it may overlap the candle colors applied by this indicator. Trying hiding or removing other indicators to troubleshoot if having candle color issues.
// 3) Using 2-color price moving averages: when price is above an average the average will color green, when price is below an average the average will color fuchsia.
Double Exponential Moving Average (DEMA)Exponential Moving Average (EMA)Simple Moving Average (SMA)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明