Carl-not-Karl
ToS Expert
Simple script that moves labels to right side of Chart.
Can use as standalone or embedded in other Studies (see Notes).
Chart shows AAPL, GOOGL and TSLA with Labels and randomly placed 'spacers' (i.e., keyboard spacebar spaces in the code between the quotes).
Top grid with LabelSpacer turned off.
Middle grid with LabelSpacer turned on (CYAN bars).
Bottom grid with LabelSpacer transparency:
Notes:
The number of spacers needed in the script will depend on the size of the monitor and/or Chart grid arrangement.
(If text is used rather than spacers the bar will be transparent but the text will not)
From Study select Settings/small gear;
Under Colors select the CYAN colorbox;
Select More... ;
Select the HSV tab;
Slide the Transparency blue dot to the right to read 100.
Select OK.
Can use as standalone or embedded in other Studies (see Notes).
Code:
input LabelSpacer = no;
DefineGlobalColor("Label", GetColor(1));
AddLabel(LabelSpacer, " ", GlobalColor("Label"));
Chart shows AAPL, GOOGL and TSLA with Labels and randomly placed 'spacers' (i.e., keyboard spacebar spaces in the code between the quotes).
Top grid with LabelSpacer turned off.
Middle grid with LabelSpacer turned on (CYAN bars).
Bottom grid with LabelSpacer transparency:
Notes:
The number of spacers needed in the script will depend on the size of the monitor and/or Chart grid arrangement.
(If text is used rather than spacers the bar will be transparent but the text will not)
From Study select Settings/small gear;
Under Colors select the CYAN colorbox;
Select More... ;
Select the HSV tab;
Slide the Transparency blue dot to the right to read 100.
Select OK.