Hey dude nice work. I am trying out your scripts for some possible short squeeze stocks. May I know why is there an error "study error quantity for order or close entry number......"?
Hodl4dearlife
⋅
@FarhatBmdhj, I think you would need to adjust this section to allow it to work for shorts. I havent tried it yet so cant provide much insight.
// Only enter long positions //
strategy.risk.allow_entry_in(strategy.direction.long)