True on bars, candles, hollow candles, line and area charts, where the script sees the real traded prices.
It is the catch-all among the chart.is_* flags: true when the chart is none of Heikin Ashi, Renko, Kagi, Line Break, Point and Figure or Range. On those six, the open, high, low and close a script sees are built values, not prices at which the market traded.
Guard anything that needs real prices with it: gap tests, comparisons with the session open, and strategy fills, which on a built chart are simulated at built prices.
Type
simple bool
Example
//@version=6
indicator("chart.is_standard: gaps need real prices", overlay = true)
gapUp = chart.is_standard and open > high[1]
plotshape(gapUp, "Gap up", shape.triangleup, location.belowbar, color.green)
plot(close)See also
Runs on Sidechair