change line width
Posted: Mon Mar 14, 2022 2:39 pm
I have been struggeling to make an extra addition to my code, tried to set linewidht with variable but it messed it up.
All I wanted to acomplish is to preset the line width to a really bold style. Any one know how this is done?
//@version=5
// vast op D tf gezet.
indicator(title="Moving Average", shorttitle="JBL", overlay=true, timeframe="1440", timeframe_gaps=true)
len = input.int(100, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500)
out = ta.sma(src, len)
plot(out,color=color.orange,title="MA", offset=offset)
All I wanted to acomplish is to preset the line width to a really bold style. Any one know how this is done?
//@version=5
// vast op D tf gezet.
indicator(title="Moving Average", shorttitle="JBL", overlay=true, timeframe="1440", timeframe_gaps=true)
len = input.int(100, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500)
out = ta.sma(src, len)
plot(out,color=color.orange,title="MA", offset=offset)