Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS3102

error A lower timeframe than the chart is only available through request.lower_tf.

#What it means

A lower timeframe than the chart's gives several bars per chart bar. This code said such data was only available through request.lower_tf.

#Typical cause

  • A request for a timeframe below the chart's.

#How to fix it

Use request.lower_tf(timeframe, expression) to get all lower-timeframe values of a chart bar as an array, or { at: request.developing } to get the last one. See Other timeframes and markets.

#Example

The current compiler does not report this code: lower timeframes work through request.tf and request.market as well.

  • CS3101 — request.developing needs a timeframe that is a whole multiple of the chart's, on the same market.
  • CS3103 — There are no "tf" bars: the seconds timeframes are 1S, 5S, 10S, 15S, 30S and 45S. This request gives na.

The ChartScript documentation is in English for now; translations will follow.