After much research and experiments, just thought I'd share something I invented.
On my labels I'm always trying to find ways to limit the number of characters displayed, if I can. I tend to get too wordy at times just to be clear to myself, but..... I'd fill the screen if not held in check.
On label text where I used to put "Up" or "Down", I'm trying to substitute something shorter. I stumbled upon a resource somewhere that talked about using Alt Codes and found that it worked. There are only a couple that I use. The Up Arrow and Down Arrow are nice but a little timid. The Up triangle and Down triangle appear more convincing on the label. Those are Alt+30 for the Up and Alt+31 for the Down Alt+24 and Alt+25 are the Up and Down Arrows. To add an Alt code, you hold down Alt and type 30 and release Alt and you should have an Up triangle in your text part of the label.
OK, I didn't invent it. That was hyperbole.... but hopefully you find it to be of use perhaps.
On my labels I'm always trying to find ways to limit the number of characters displayed, if I can. I tend to get too wordy at times just to be clear to myself, but..... I'd fill the screen if not held in check.
On label text where I used to put "Up" or "Down", I'm trying to substitute something shorter. I stumbled upon a resource somewhere that talked about using Alt Codes and found that it worked. There are only a couple that I use. The Up Arrow and Down Arrow are nice but a little timid. The Up triangle and Down triangle appear more convincing on the label. Those are Alt+30 for the Up and Alt+31 for the Down Alt+24 and Alt+25 are the Up and Down Arrows. To add an Alt code, you hold down Alt and type 30 and release Alt and you should have an Up triangle in your text part of the label.
OK, I didn't invent it. That was hyperbole.... but hopefully you find it to be of use perhaps.
Code:
addlabel(labelW,
if Periods > 0 and Periods[1] < 0 then "TrendW ▲ " + round((close + high[1])/2,1) else if Periods > 0 and Periods[1] > 0 and Periods[2] < 0 then "TrendW1 ▲ " + round((close[1] + high[2])/2,1) else if Periods > 0 and Periods[1] > 0 and Periods[2] > 0 and Periods[3] < 0 then "TrendW2 ▲ " + round((close[2] + high[3])/2,1) else "",color.blue,location.BOTTOM_LEFT, fontSize.MEDIUM);
Last edited by a moderator: