Reputation: 3
It's giving me the error on the last line.
arn = input(1.007, title="Take Profit")
carv = hv > 20
if carv ? arn = 1.03 : na
lim = high > (upper*arn)
Upvotes: 0
Views: 41
Reputation: 21121
Your code gives an error at this line if carv ? arn = 1.03 : na
.
It does not make any sense, you probably want something like:
arn := carv ? 1.03 : na
Upvotes: 1