why I have this error...
Posted: Sun Mar 12, 2023 6:00 am
Mismatched input '|PE|' expecting ')'
//@version=5
bcolor = if (if val > 0 and val > val[1]
color.lime
else
color.green
if val < 0 and val > val[1])
color.red
else
color.maroon
//@version=5
bcolor = if (if val > 0 and val > val[1]
color.lime
else
color.green
if val < 0 and val > val[1])
color.red
else
color.maroon