I want to convert this line of code from pinescript to thinkscript ( Thinkorswim ) How can I write this? I'm having problems with multiple if statements
isAboveEma01 = line_01 > line_01[1] and line_01 > line_50 ? blue : line_01 > line_01[1] and line_01 < line_50 ? #cc00cc : line_01 < line_01[1] and line_01 > line_50 ? #0388FF : line_01 < line_01[1] and line_01 < line_50 ? #BD003A : na
Aucun commentaire:
Enregistrer un commentaire