Appearance

Personalize your experience

Mode
Accent Color
Direction
All Docs/QuaScript//
QuaScript logo

QuaScript Documentation

Language guide, engine API, 601 builtins and the preset library · v3.0.0-phase1

bar

Generated from the engine catalog by tools/gen-docs.mjs; do not edit.

bar.average

script.qs
bar.average

(open + high + low + close) / 4.

bar.body

script.qs
bar.body
close - open.

bar.buy_volume

script.qs
bar.buy_volume

Order-flow column supplied by the host.

Needs host data (order flow).

bar.close_time

script.qs
bar.close_time

Close time of the bar (open time + interval).

bar.delta

script.qs
bar.delta

Order-flow column supplied by the host.

Needs host data (order flow).

bar.index

script.qs
bar.index

Index of the bar (0 = first bar).

bar.is_confirmed

script.qs
bar.is_confirmed

False only while the forming bar is updating.

bar.is_first

script.qs
bar.is_first

True on the first bar.

bar.is_last

script.qs
bar.is_last

True on the last bar.

bar.is_live

script.qs
bar.is_live

True for bars that arrived after the script started (live, not history).

bar.is_new

script.qs
bar.is_new

True on the first execution of a bar.

bar.lower_wick

script.qs
bar.lower_wick

min(open, close) - low.

bar.mid

script.qs
bar.mid

(high + low) / 2.

bar.range

script.qs
bar.range

high - low.

bar.sell_volume

script.qs
bar.sell_volume

Order-flow column supplied by the host.

Needs host data (order flow).

bar.tick_count

script.qs
bar.tick_count

Order-flow column supplied by the host.

Needs host data (order flow).

bar.typical

script.qs
bar.typical

(high + low + close) / 3.

bar.upper_wick

script.qs
bar.upper_wick

high - max(open, close).

bar.weighted

script.qs
bar.weighted

(high + low + 2 * close) / 4.


© 2026 Quatick Technologies. All rights reserved.