OPEN-SOURCE SCRIPT
更新済

Compare (RSI) Ticker 3x by fikira

3 437
Hi!

Here I've created an indicator which compares 1 Ticker with 1 or 2 other Tickers.

The basis is RSI (Source & Length is adjustable), but the main objective is NOT to concentrate on the RSI, but on the comparison between the 2 or 3 Tickers.
I've used RSI because in this way high priced Tickers (for example BTC, now $8500) can easily be compared with low priced Tickers (for example BTT, now $0,00042)


In this example I have NEO/USDT (Binance) as my initial Ticker, you can see the candlesticks of NEO/USDT.

In the "Compare" indicator, the 'close' of NEO appears as a white line.
The second line (blue) is a chosen second Ticker, in this case BTC/USDT (Binance)

In "Settings" > "Inputs" you can enable/disable the second or third Ticker

- The second Ticker has multiple choices
- The third you can type any Ticker you want, for example CRYPTOCAP:BNB, BINANCE:ETHUSDT, NASDAQ_DLY:NDX or whatever,
just start typing and you'll see the possibilities (You also can choose between "Cryptocurrencies", "Index", "Forex", ...)

You can also plot 2 EMA's, a Short and a Long period (Length is adjustable).
The EMA's have the same colour as the Tickers (Ticker 1 = white, 2 = blue, 3 = red, of course all adjustable)

- EMA Ticker 1 crossover Ticker 2/3 > Green cloud
- EMA Ticker 1 crossunder Ticker 2/3 > Red cloud


For example:

NEO/USDT (1, white) & BTC/USDT (2, blue) with Long Period EMA
スナップショット

NEO/USDT (1, white) & BNB/USDT (3, red) with Long Period EMA
スナップショット

NEO/USDT (1, white) & BNB/USDT (3, red) with Short Period EMA
スナップショット

When the second chosen Ticker is the same as the first Ticker, of course you will be seeing lines
(because there is no difference between the 2 Tickers, the EMA is visible though)

Example:

Both BTC/USDT
スナップショット

(The second indicator is my "Compare (RSI) MACD", a MACD of this indicator, which in this case is obviously flat)





リリースノート
It is now possible to integrate the "Compare (RSI) MACD" indicator within this indicator,
just enable in "Settings" > "Inputs" > "MACD ON/OFF"

Default "MACD" is OFF, "MACD" won't be visible then

- When "MACD" = ON and only Ticker 2 is chosen, "MACD" will display "MACD" of Ticker1/Ticker2
- When "MACD" = ON and only Ticker 3 is chosen, "MACD" will display "MACD" of Ticker1/Ticker3
- When "MACD" = ON but no Ticker 2 or 3 is chosen, "MACD" won't be visible
- When "MACD" = ON but Ticker 2 AND 3 is chosen, "MACD" won't be visible
(because 2 MACD's is 1 is very messy, it is possible to show all 3 Tickers in the "Compare (RSI) indicator" though)
リリースノート
The source is enhanced

Default source = "close" but can be changed to source = "volume"

- Settings > Inputs >
"ON = source 'close' OFF = source 'volume'"

Here source = "close":
スナップショット

Here source = "volume":
スナップショット
リリースノート
When source = "close" , instead of only "close"
you now have the full options of:
"Open", "High", "Low", "Close", "HL2", "HLC3", "OHLC4", ...

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。