OPEN-SOURCE SCRIPT

Unified Composite Index [UCI] [KuraiBlu] [LazyBear]

מעודכן
The purpose of this indicator is to combine the four basic types of indicators (Trend, Volatility, Momentum and Volume) to create a singular, composite index in order to provide a more holistic means of observing potential changes within the market, known as the Unified Composite Index [UCI]. The indicators used in this index are as follows:

Trend - Trend Composite Index [TCI] [LazyBear]
Volatility - Bollinger Bands %b [BB %b]
Momentum - Relative Strength Index [RSI]
Volume - Money Flow Index [MFI]

The average price source can’t be altered as I’ve made it an average between ((open + close) / 2) and ((high + low) / 2).

The best way to use this is by observing several of the indicators at once in conjunction with the average, rather than simply using the average produced to determine the right moment to enter, or exit a trade by itself. I've found when one indicator goes way out of bounds relative to the other three (and subsequently, the average array), then it presents a good buying, or selling opportunity.

Some adjustments were made to several of the indicators in order to standardize them on a scale of 1-100 so that they could better accommodate the average array that was finally produced. Thanks to LazyBear for letting me strip down the WaveTrend Oscillator.
הערות שחרור
Update: Changed the Array Average and SMA to a color that doesn't resemble the BB %b
הערות שחרור
Image Update
הערות שחרור
Image Update
הערות שחרור
I removed the custom source since it's just OHLC4 anyway. It's now an input that, hopefully, anyone can plug an indicator of their choosing into in addition to the built-in TradingView sources.
הערות שחרור
Fixed the SMA Length Input. 'Quality of Life' updates.
compositeindexlazybearOscillatorstrendunifiedVolatilityVolume

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור