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.

Notas de Lançamento: 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.
Notas de Lançamento: 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.

Notas de Lançamento: Added yearly change.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Quer usar esse script no gráfico?
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 :)

Comentários

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
Resposta
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...
Resposta
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e Cobrança Amigos indicados Moedas Meus Tíquetes de Suporte Central de Ajuda Mensagens Privadas Conversa Deslogar