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에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.