so I had a strategy to which worked fine but I wanted it to open orders per a specific ATM. However the moment I migrated the requirements inti the sample ATM templete and had it run live I noticed it would open orders carelessly each bar the conditions are met disregarding the BarsSinceEntry or Exit condition. To debug I set it to print the value of the variables and to my surprise all of them were 0 (not updating at all).I'm not sure what I may be missing since version without ATM works fine
Working and not working strategies attached as well as required not native indicators
I'm not to fluent in coding so please be patient if I come up with a few questions after your reply. As well please let me know if I should add more info or another attachment
Comment