OPEN-SOURCE SCRIPT

Combined EMA, SMMA, and 60-Day Cycle Indicator V2

업데이트됨
What This Script Does:

This script is designed to help traders visualize market trends and generate trading signals based on a combination of moving averages and price action. Here's a breakdown of its components and functionality:

Moving Averages:
EMAs (Exponential Moving Averages): These are indicators that smooth out price data to help identify trends. The script uses several EMAs:
200 EMA: A long-term trend indicator.
400 EMA: An even longer-term trend indicator.
55 EMA: A medium-term trend indicator.
89 EMA: Another medium-term trend indicator.
SMMA (Smoothed Moving Average): Similar to EMAs but with different smoothing. The script calculates:
21 SMMA: Short-term smoothed average.
9 SMMA: Very short-term smoothed average.

Cycle High and Low:
60-Day Cycle: The script looks back over the past 60 days to find the highest price (cycle high) and the lowest price (cycle low). These are plotted as horizontal lines on the chart.

Color-Coded Clouds:
Clouds: The script fills the area between certain EMAs with color-coded clouds to visually indicate trend conditions:
200 EMA vs. 400 EMA Cloud: Green when the 200 EMA is above the 400 EMA (bullish trend) and red when it’s below (bearish trend).
21 SMMA vs. 9 SMMA Cloud: Orange when the 21 SMMA is above the 9 SMMA and green when it’s below.
55 EMA vs. 89 EMA Cloud: Light green when the 55 EMA is above the 89 EMA and red when it’s below.

Trading Signals:
Buy Signal: This is shown when:
The price crosses above the 60-day low and
The EMAs indicate a bullish trend (e.g., the 200 EMA is above the 400 EMA and the 55 EMA is above the 89 EMA).
Sell Signal: This is shown when:
The price crosses below the 60-day high and
The EMAs indicate a bearish trend (e.g., the 200 EMA is below the 400 EMA and the 55 EMA is below the 89 EMA).

How It Helps Traders:

Trend Visualization: The colored clouds and EMA lines help you quickly see whether the market is in a bullish or bearish phase.
Trading Signals: The script provides clear visual signals (buy and sell labels) based on specific market conditions, helping you make more informed trading decisions.

In summary, this script combines several tools to help identify market trends and provide buy and sell signals based on price action relative to a 60-day high/low and the positioning of moving averages. It’s a useful tool for traders looking to visualize trends and automate some aspects of their trading strategy.
릴리즈 노트
Indicator Overview

Inputs:
EMAs: 200 EMA, 400 EMA, 55 EMA, 89 EMA.
SMMA: 21 SMMA, 9 SMMA.
Cycle Length: Used to determine the high and low boundaries over a specific period.

Custom SMMA Function:
A custom function for calculating the SMMA, which is slightly different from the standard moving average and typically smoother.

Calculations:
EMAs and SMMA: Calculate the respective moving averages based on user inputs.
Cycle High and Low: Determine the highest and lowest prices over the specified cycle length.

Cloud Colors:
The script determines the color of the clouds based on the relative positions of EMAs and SMMA.

Phases:
Accumulation: When the current price is below the cycle low, and there has been no previous crossing above the cycle high.
Distribution: When the current price is above the cycle high, and there has been no previous crossing below the cycle low.

Plotting:
EMAs and SMMA: Plots lines for each of the EMAs and SMMA.
Clouds: Fills the area between relevant EMAs and SMMA with colors to visualize their relationship.
Cycle Boundaries: Plots the cycle high and low levels.
Buy/Sell Signals: Generates buy and sell signals based on crossover and crossunder of the price with cycle boundaries, combined with specific EMA conditions
automatedtradingCycleslearningTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항