Search found 1 match

Go to advanced search

by mart
Sun Mar 12, 2023 6:00 am
Forum: Pine Script Q&A
Topic: why I have this error...
Replies: 1
Views: 1793
 
Jump to post

why I have this error...

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

Go to advanced search