Hi!
This valid pinescript v6 code isn't really syntax highlighted at all, which leads me to believe that the concept of enums is missing from the language runtime?
//@version=6
enum CandleType
None
Regular
Doji
type Candle
CandleType ct
bool bullish
bool bearish
enterConditions = input.enum(
CandleType.Regular,
title = "Enter conditions")
Candle currentCandle = Candle.new()
currentCandle.ct := CandleType.Regular
currentCandle.bullish := false
currentCandle.bearish := false
Thank you!
Hi!
This valid pinescript v6 code isn't really syntax highlighted at all, which leads me to believe that the concept of enums is missing from the language runtime?
Thank you!