OPEN-SOURCE SCRIPT
Aggiornato Compare (RSI) Ticker 3x by fikira

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)
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)
Note di rilascio
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)
Note di rilascio
When source = "close" , instead of only "close"you now have the full options of:
"Open", "High", "Low", "Close", "HL2", "HLC3", "OHLC4", ...
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Who are PineCoders?
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Who are PineCoders?
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
tradingview.com/chart/SSP/yW5eOqtm-Who-are-PineCoders/
TG Pine Script® Q&A: t.me/PineCodersQA
- We cannot control our emotions,
but we can control our keyboard -
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.