Closed MrBjurhager closed 1 year ago
Figured it out, Looked at the candles.navy and noticed:
`
valueTracker(x) => {
show: $props.showValueTracker,
symbol: $props.scaleSymbol,
line: true,
value: Number($core.data[0].avgPx),
color: 'rgba(255, 0, 0 , 1)',
}
`
This adds a pricelabel to my custom overlay. One thing that would be nice is to be able to add text to the label ex 'value | text' ex '27500 | SL'. Also still cant figure out how to change the text color. I would assume "back:" sets the background color and that color sets text color. that does not seem to be the case and i can only change the background color via the color: key.
Describe the bug
Hi, How can i add pricelabels to overlays other than the main overlay? and how do i change the pricelabel text color? Iv'e tried
Best / F
Reproduction
#
Steps to reproduce
No response
Javascript Framework
no-framework (vanilla-js)
Logs
No response
Validations