Have you figured this out yet? The short wasn't working on mine either. I saw one thing wrong with your exit code, but your entry logic seems ok and IMO you should be at least getting into the trade.
So I took the long, which was working and flipped it how I would flip it. Now it does enter correctly, but it is exiting immediately for reasons I can't understand. The exit arrows are showing up where they should be, but it's closing the position even though there is no arrow. It has to be in the logic of the ands/ors, but honestly, it's not jumping out at me. Got stuff to do now, but maybe later I will just take the sample code and modify it for what you are trying to do. That process may reveal what's going wrong.
The following user says Thank You to vegasfoster for this post:
I am at a a loss as well which is why I turned to the forum for help. Code is pretty simple but for some reason is acting temperamental. So you are a ND fan. Too bad I was not doing this last year. I was an usher at the Stadium for 17 years but gave it up this year. I was in charge of the Corporate Hospitality tents and could have gotten you into the NBC tent for a pre game. But I got tired of the fans sense of entitlement, the cold weather and the pain in my knees for standing for 8 hours.
Thanks for your help.. a shame we lost to Michigan on our last meeting