Saya tunjukan beberapa contoh rupa bentuk label yang ada.
Nampaknya sudah ada pilihan label left, label right dan label center.
Code :
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © BURSATRENDBANDCHART
//@version=4
study("Jenis Label" , overlay = true)
labelsaya = label.new(bar_index, high, 'High :' +tostring(high,"##.###")+
'\nLow :' +tostring(low,"##.###"),
color = close > open ? color.green : color.red,
textcolor = color.white,
style=label.style_label_left,
size = size.huge)
label.delete(labelsaya)
// © BURSATRENDBANDCHART
Nampaknya sudah ada pilihan label left, label right dan label center.
Code :
// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © BURSATRENDBANDCHART
//@version=4
study("Jenis Label" , overlay = true)
labelsaya = label.new(bar_index, high, 'High :' +tostring(high,"##.###")+
'\nLow :' +tostring(low,"##.###"),
color = close > open ? color.green : color.red,
textcolor = color.white,
style=label.style_label_left,
size = size.huge)
label.delete(labelsaya)
// © BURSATRENDBANDCHART