TradingView
fikira
14 de Jul. de 2022 15:22

switches [experimental / tools] 

Bitcoin / U.S. dollarBitstamp

Descripción

This scripts shows a tool which enables switching between settings without opening the settings
In this case you can switch between a RSI of 3 different tickers, 3 different higher timeframes, and 4 different lengths.

How does it work?

The position of a 'time line' is compared with the position of a box.
Changing the position of the line changes the settings.

The settings need to be set upfront though,
if you want to switch between length 7, 10, 14, 21 they need to be set first.

Example:
One wants to switch between RSI of SOLUSDT, ADAUSDT and FILUSDT


First set your tickers
-> Settings -> Set 1 -> Ticker

Then tap/click and move the line




And there you go!

The same with Timeframe and Length

Important:
It is not possible to automatically set the boxes/line at current time,
so these (settings -> date at Box, Line) need to be set in the beginning

Cheers!

Notas de prensa

Fixed potential repaint

Also:
Non-continue symbols (stocks, ... with no trades in weekend,...) can cause visual issues, due to the absence of certain dates.

Notas de prensa

Added the new feature chart.left_visible_bar_time and chart.right_visible_bar_time so the 'box date' became unnecessary,
now you only have to adjust the 'line date'

Notas de prensa

This script is part of a collection of educational scripts
If you want to return to the open source INDEX page, click here
-> Education: INDEX
Comentarios
veryfid
Thanks for sharing
fikira
@veryfid, Thanks mate! Much appreciated!
mokshtradingart
wow i can only think like that
but you can make like that
awssome sirrrrrrrr
fikira
@mokshtradingart, Thank you very much!
FFriZz
I thought the only way to have interactive settings was with the confirm option.. I was scanning your inputs like... did I miss an update?
good work! thanks for this
fikira
@FFriZz,
Hi! Thanks! 🙏🏻
You could experiment with 'confirm' and see what changes
tB1 = input.time(timestamp("7 Jul 2022") , title=' ', confirm=true) // confirm=false

but the way it is used here is a bit special I guess 😃
Cheers!
JohnBaron
cool!
fikira
@JohnBaron, Thanks mate!
bunulu
Interesting
fikira
@bunulu, Thanks!
Más