OPEN-SOURCE SCRIPT

EWO Breaking Bands & XTL

已更新
Elliott Wave Principle, developed by Ralph Nelson Elliott , proposes that the seemingly chaotic behaviour of the different financial markets isn’t actually chaotic. In fact the markets moves in predictable, repetitive cycles or waves and can be measured and forecast using Fibonacci numbers. These waves are a result of influence on investors from outside sources primarily the current psychology of the masses at that given time. Elliott wave predicts that the prices of the a traded currency pair will evolve in waves: five impulsive waves and three corrective waves. Impulsive waves give the main direction of the market expansion and the corrective waves are in the opposite direction (corrective wave occurrences and combination corrective wave occurrences are much higher comparing to impulsive waves)

The Elliott Wave Oscillator ( EWO ) helps identifying where you are in the 5 / 3 Elliott Waves , mainly the highest/lowest values of the oscillator might indicate a potential bullish / bearish Wave 3. Mathematically expressed, EWO is the difference between a 5 period and 35 period moving average. In this study instead 35-period, Fibonacci number 34 is implemented for the slow moving average and formula becomes ewo = sma (HL2, 5) - sma (HL2, 34)

The Elliott Wave Oscillator enables traders to track Elliott Wave counts and divergences. It allows traders to observe when an existing wave ends and when a new one begins. Included with the EWO are the breakout bands that help identify strong impulses.

The Expert Trend Locator ( XTL ) was developed by Tom Joseph (in his book Applying Technical Analysis) to identify major trends, similar to Elliott Wave 3 type swings.
Blue bars are bullish and indicate a potential upwards impulse.
Red bars are bearish and indicate a potential downwards impulse.
White bars indicate no trend is detected at the moment.

Added "TSI Arrows". The arrows is intended to help the viewer identify potential turning points. The presence of arrows indicates that the TSI indicator is either "curling" up under the signal line, or "curling" down over the signal line. This can help to anticipate reversals, or moves in favor of trend direction.
版本注释
Added to JMA (Jurik Moving Average) of everget

Now you can change the source type for the EWO and the TSI.

The XTL can be customized since the type of source and the type of moving average can be modified, by default the CCI is calculated by ALMA (HLC3, 35) instead of the SMA(Close, 35). Added to this version an option to use Traditional CCI calculations according to user JustUncleL

Remember to try different settings to find the right one for each instrument.
版本注释
Added Double Weighted Moving Average (DWMA)

Added Double Volume-Weighted Moving Average (DVWMA)

In TSI, the default CLOSE source was replaced by AVERAGE( vwap (H, L) )
版本注释
Migrated to Pine Script v5.

Added Bar Colors to EWO and the option of gradient colors.

Added "HLCC4" source.

Added Alerts to XTL (Bearish or Bullish Trend). Alerts are Pre-Set to only Alert on Bar Close.

Added alternate moving average types:
- ADX Weighted Moving Average.
- Coefficient of Variation Weighted Moving Average.
- Fractal Adaptive Moving Average.

Added "MFI|RSI direction bias":
- Shows the different divergences.
- Show Background and Bar Colors to MFI or RSI.
- Show oversold or overbought Areas.
- Show Short and Long Signals.
- Alerts (Short or Long). Alerts are Pre-Set to only Alert on Bar Close.
版本注释
Added alternate moving average types: 'Zero Lag', 'Tillson T3', 'VIDYA', and 'CTI'.
版本注释
Added "EMA RSI Adaptive" of @glaz.
版本注释
Small modification of gradient colors.

Added two types of moving averages:
- VAMA (Volume Adjusted Moving Average of allanster)
- New WMA

The algorithm of the divergences was changed by the version of the user DoctaBot
版本注释
The color scheme was changed and the gradient colors were eliminated.

Added long/short signals to Elliott Wave Oscillator according to dgtrd's formula

Small changes were made to the code.
Centered OscillatorselliottwaveforecastselliottwaveoscillatorelliotwaveanalysisEWOmfi_divergencemoneyflowindexOscillatorsrsi_divergenceTSIXTL

开源脚本

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

想在图表上使用此脚本?

免责声明