Line Chart with circles on sub chart / LineChart no Candles
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © kryptocollector
// version 1 - 05 Sep 2022

//@version=5
indicator("LineSubChart with circles", shorttitle='LineChart', timeframe="", overlay=false)

source  = input(title="Source", defval=close)
colLine = barstate.isconfirmed ? color.new(color.gray, 0) : color.new(#f7525f, 40)
colPlot = barstate.isconfirmed ? color.new(color.orange, 40) : na

plot(source, color=colLine, linewidth=2, title="Linie")
plot(source, style=plot.style_circles, color=colPlot, linewidth=2, title="Circles")
//end