There seems to be a problem with line 20 but I don't get it.
This line =>> order_target_percent(context.gold, 1.0):
The error =>> "SyntaxError: invalid syntax"
I'm very new to this.
The aim was so that it buys when SMA_50 > SMA_200
But sells once SMA_30 < SMA_50
Vice versa for when shorting.
Any ideas what I'm doing wrong?