Skip to main content

resolution

Overview

The resolution variable shows the current candlestick bar resolution, expressed as a string, for example: "1s""5s""10s""15s""30s""1m""2m""5m""10m""15m""30m""1H""2H""4H""8H""12H""1D""1W""1M""1Y".

You can use this variable in the conditions, which are based on different timeframes.

Type

String

Syntax Format

resolution("10m")