Matador3
Matador3

Reputation: 3

Kinda stuck with this "end of line without continuation error". What am i missing here?

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

Answers (1)

vitruvius
vitruvius

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

Related Questions