OPEN-SOURCE SCRIPT
Aktualisiert

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
Snapshot

NEO/USDT (1, white) & BNB/USDT (3, red) with Long Period EMA
Snapshot

NEO/USDT (1, white) & BNB/USDT (3, red) with Short Period EMA
Snapshot

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
Snapshot

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





Versionshinweise
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)
Versionshinweise
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":
Snapshot

Here source = "volume":
Snapshot
Versionshinweise
When source = "close" , instead of only "close"
you now have the full options of:
"Open", "High", "Low", "Close", "HL2", "HLC3", "OHLC4", ...

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.