Inverted Candle
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © marcosberghahn

//@version=5
indicator("Inverted Candle")
paletteColor = close >= open ? color(#f23645AA) : color(#089981AA)
plotcandle(1/open, 1/high, 1/low, 1/close, color=paletteColor, wickcolor=paletteColor, bordercolor=paletteColor)

//plotcandle(open, high, low, close, title, color, wickcolor, editable, show_last, bordercolor, display) → void
