FlowscopeDocs

context reference

The chart the script runs on.

context.* describes the chart’s market and timeframe. The values are fixed for a run and readable everywhere, including setup.

Properties

context.exchange

Flowscope Script
context.exchange: string

Exchange id of the chart, e.g. binancef.

Returns string

context.symbol

Flowscope Script
context.symbol: string

Symbol of the chart, e.g. BTCUSDT.

Returns string

context.base

Flowscope Script
context.base: string

Base asset of the chart’s market.

Returns string

context.quote

Flowscope Script
context.quote: string

Quote asset of the chart’s market.

Returns string

context.timeframe

Flowscope Script
context.timeframe: timeframe

Timeframe of the chart.

Returns timeframe

context.tickSize

Flowscope Script
context.tickSize: float

Price increment of the chart’s market.

Returns float

context.stepSize

Flowscope Script
context.stepSize: float

Quantity increment of the chart’s market.

Returns float