NeoButane

Cross Pair [NeoButane]

Creates candlesticks of a cross pair of any symbol you want. Ideally both pairs would be denominated in the same currency.

The candlesticks are plotted, a close value is available to use for applying indicators on, and a label shows what is being used.

Options to configure are choosing the symbols, displaying the ticker without the exchange name, and removing wicks. If the exchange prefix is 'BATS', 'FRED', or 'TVC', it is automatically removed.

Note di rilascio: Added labels for percentage changes over a daily, weekly, or monthly period. The labels are colored according to a positive or negative move. It should be colorblind friendly so there is no input to change color.

Example of daily periods with $BTC / $YFI:

Example of weekly periods with $ETH / $XRP:

If you have a particular pair you view often, you can enter settings, click on the 'Defaults' button, and save as default.
Note di rilascio: Added text size input for the ticker text, changed the percent label style so it won't block the ticker, and fixed the removal of the exchange prefix when multiple coins are used from the same exchange.

Note di rilascio: Added yearly change.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?
My published indicators: https://www.tradingview.com/u/NeoButane/#published-scripts

Sorry if I haven't replied to your message yet, I'm a bit backlogged :)

Commenti

Actual before and after


I use the first element in the array created by str.split() to get the exchange prefix. Because of that, it won't work with multiple exchange names
Rispondi
The before and after of the fix in the update note doesn't show what was broken, this does

After using str.split() on the ticker, I use the first value in the array and replace it with "". It only works if the exchange for the multiple coins are the same. I can probably use array.join() so I can split it again by math operators but I'm not sure what that would achieve...
Rispondi