Options360

ai.1

Options360 已更新   
ai.1 = All in One indicator

"ai.1" is a high probability low risk predictive oscillator based on various well known indicators "All in One". I wanted to be able to get an equal output result for a multiple trading metrics comparison. I wanted to see what all market participants see, because all market participants look at charts in different ways with different indicators. By combining these well known trading indicators into the same scale I get a comprehensive view of the market as it is, not just through one prism.

The ai.1 indicator uses Stochastic and/or Moving Average Convergence Divergence formulas to visualize: Relative Strength Index, Commodity Channel Index, Money Flow Index, True Strength Index, Momentum, Average True Range, Standard deviation, Accumulation Distribution Index, Price Volume Trend, Positive Volume Index and/or On Balance Volume in a standard type of appearance.

1) MACD: Moving Average Convergence Divergence reveals changes in the strength, direction, momentum, and duration of a trend in a stock's price.
2) Stoch: Stochastic is a technical indicator widely used in short-term trend analysis of futures and stock markets. Stochastic is calculated with the lowest and highest by a formula of 100.
3) RSI: Relative Strength Index is calculated from the upward and downward price changes.
4) CCI: The Commodity Channel Index is calculated as the difference between the typical price of a commodity and its simple moving average, divided by the mean absolute deviation of the typical price.
5) MFI: The Money Flow Index is a technical oscillator that uses price and volume for identifying overbought or oversold conditions in an asset.
6) TSI: True Strength Index uses moving averages of the underlying momentum of a financial instrument.
7) MOM: Momentum is simply the difference of the source price and price length.
8) ATR: Average True Range measures the range between high and low.
9) STDV: Standard deviation is the statistical measure of market volatility, measuring how widely prices are dispersed from the average price. If prices trade in a narrow trading range, the standard deviation will return a low value that indicates low volatility.
10) AD: Accumulation Distribution Index is a cumulative indicator that uses volume and price to assess whether a stock is being accumulated or distributed.
11) PVT: Price Volume Trend uses the cumulative volume and price change.
12) PVI: Positive Volume Index compares the previous volume flow with the current volume.
13) OBV: On Balance Volume is the cumulative volume change.

To be able to merge these formulas I had to normalize the math into 1 scale. I did this by using Stochastic and then converting that by its historical minimum and maximum. The normalized output scale range for ai.1 is -100 to 100.
100 = overbought
-100 = oversold

MACD is a unique scale with neutral zero.
Stochastic is a 0-100 scale.
Relative Strength Index is a 0-100 scale.
Commodity Channel Index is generally a -400<400 scale with neutral zero.
Money Flow Index is a 0-100 scale.
True Strength Index is a unique scale with neutral zero.
Momentum is a unique scale with neutral zero.
Average True Range is a unique scale.
Standard deviation is a unique scale.
Accumulation Distribution Index is a unique scale.
Price Volume Trend is a unique scale.
Positive Volume Index is a unique scale.
On Balance Volume is a unique scale.

Everything in between is either bullish or bearish.
Rising = bullish
Falling = bearish
crossover = bullish
crossunder = bearish
cross = anticipation of the next cross direction
convergence = direction change
divergence = momentum

*Represents a how to use tooltip*

The default input settings / style:
Source = ohlc4

7 = K length, *Stochastic length*

3 = D smoothing, *smoothing length*

6 = MACD-ai.1 fast, *fast length line*
color = blue

13 = MACD-ai.1 slow, *slow length line*
color = white

4 = MACD-ai.1 signal, *histogram length*
color rising above 0 = bright green
color falling above 0 = dark green
color falling below 0 = bright red
color rising below 0 = dark red

2 = Stretch, *Output multiplier for MACD-ai.1 visual expansion*
1 = MA, *moving average of ALL or Choice Type ai.1-lines*

MACD-ai.1 variable choice / Choice type ai.1-line:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*

MACD-ai.1 price label / text color
crossover = green label / black text
crossunder = red label / white text

MACD-ai.1 price label on / off
*unchecked off/ checked on*

label decimal place: 2
*example: use 0 for a round number, use 4 for Forex*

long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot

All ai.1-line = weighted average of all metrics
All cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -65 green tiny circle
extreme oversold = -85 green small circle
overbought = 65 red tiny circle
extreme overbought = 85 red small circle

All ai.1-line extreme cross price label on / off
All ai.1-line cross price label on / off
All ai.1-line reversal price label on / off
*unchecked off/ checked on*

ai.1-lines variable choice:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*

Choice Type ai.1-line cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -70 green tiny circle
extreme oversold = -90 green small circle
overbought = 70 red tiny circle
extreme overbought = 90 red small circle

Choice Type ai.1-line extreme cross price label on / off
Choice Type ai.1-line cross price label on / off
Choice Type ai.1-line reversal price label on / off
*unchecked off/ checked on*

Horizontal lines:
100 white
75 red
50 yellow
25 purple
0 white
-25 blue
-50 orange
-75 green
-100 white

Example screenshots of various ways to view ai.1 indicator depending on your preferred settings:

MACD-ai.1 with price labels and All ai.1-line output with directional color:

RSI ai.1-line blue with AD ai.1-line white

MACD-ai.1 fast, slow lines w/ signal histogram
long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot

ATR&STDV ai.1-line with directional color:

All ai.1-line output with directional color & extreme overbought / oversold points:

All price ai.1-line purple with All volume ai.1-line orange

The ai.1 indicator can be used independently by itself or in conjunction with your favorite indicator to compare and contrast the accuracy for a trade setup entry and/or exit. The ai.1 indicator can be used on all time frames from 1 minute to 1 month etcetera. However, the default length settings are fine tuned & quick reacting for trading in real time. So, you can make it slower by adjusting the length larger to fit your trading or investing time frame. But I would not tinker with the default length settings without validating its output by back testing it on each specific time frame.

Different time frame snapshot examples:

EUR/USD 1hr chart:

BTC/USD 1 day chart:

ES1! 2 week chart:

TSLA 2 day chart:
版本注释:
Choice Type ai.1 line reversal price label.
版本注释:
Add historical Volatility
版本注释:
Default label decimal place setting

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与Options360联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

Message me for access.

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。