Hi Steve,
Thanks a lot for your help. Actually I somehow solved it (I did so many changes that I'm not sure what was off). Now code triggers entry and exit signals correctly!
Hi guys, hope you are doing well. I'm an intermediate level coder, but still I had been struggling for some weeks with a simple code and I cannot make it work. Please I need your help. The intention is to trigger an entry at the exact time upper/lower Bollinger band line is crossed, and close it whe...