OPEN-SOURCE SCRIPT

Coco

The COCO🐊 indicator is a technical analysis tool primarily based on two moving averages: a 3-period Simple Moving Average (SMA) and a 21-period Weighted Moving Average (WMA). It provides visual cues through color changes: lavender when the SMA3 crosses above the WMA21, signaling potential upward momentum, and coral when the SMA3 crosses below the WMA21, suggesting potential downward momentum. Users can customize these settings. Additionally, it displays the percentage difference between the two moving averages.

The indicator also offers optional features, such as:

Trend Indication: A third moving average overlaid on the price candles, colored according to an "Enhanced ALMA" calculation. Green signals an uptrend, while orange indicates a downtrend.

EMA-Based Signal: A fourth moving average colored according to the relationship between three Exponential Moving Averages (EMAs) with periods of 4, 9, and 18. Green indicates the EMA4 is above both the EMA9 and EMA18, red signals it's below both, and yellow appears when neither condition is met.

Informative Table: Located at the bottom, this table displays the values and slopes of the Relative Strength Index (RSI) and Average Directional Index (ADX). Optionally, it can also show the Stochastic Oscillator and MACD histogram values.

Advanced Tools: Users can further enhance the indicator by adding TradingView's "ZigZag" and "Rolling VWAP" indicators, or the "STD-Filtered, N-Pole Gaussian Filter" by @loxx.

Volume Delta's Table: Volume Delta is an indicator that simplifies how you analyze trading volumes and the percentage of buy-sell activities effortlessly.

As a trader or market analyst, understanding underlying volume and trade flows is critical. The Volume Delta indicator provides thorough insight into both the total volume and the percentage of buying versus selling within the current candlestick. This information is pivotal for those looking to gauge market momentum and sentiment more effectively.

Additionally, the Volume Delta indicator can plot the candlestick colors based on the percentage of the dominant buying or selling volume. The area between the open and close prices of the candlestick is considered 100% and fills with colors corresponding to the predominant volume at that percentage.

Volume Delta also integrates the concept of Net volume. This component is crucial as it reveals the real market sentiment by calculating the difference between the volume of trades executed at an uptick and those at a downtick.
Moving AveragesTrend AnalysisVolume Indicator

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明