Literally my entire strategy is just entering into a long when StochRSI crosses above 20, and entering into a reverse short when StochRSI crosses below 80.
I've tried every permutation of syntax I can think of, every debug, if current bars < barsrequiredtotrade, all that. It won't even enter a trade at all.
This is on a fresh "new strategy" as well.
I'm honestly lost as to why the most simple function will not work.

Comment