Golang verifique si la tecla está en el mapa
if val, ok := dict["foo"]; ok {
//do something here
}
Pleasant Panther
if val, ok := dict["foo"]; ok {
//do something here
}
//@version=5
indicator('First Pine Script', overlay=true)
fast = ta.sma(close, 24)
slow = ta.sma(close, 200)
plot(fast, color=color.new(color.blue, 0))
plot(slow, color=color.new(color.yellow, 0))