I'm trying to create a simple algorithm that goes long breakouts (defined as daily price change greater than 20% on big volume) and shorts breakdowns (price drop greater than 20% on big volume).
I modified the template I had from a Udemy course, but I keep getting the same error:
BadBinaryOperator: Can't compute BoundColumn / AverageDollarVolume
Any help would be greatly appreciated.