Sorry very new to all this but I have written my bot in VS2019 community, set my breakpoints, attached the process, started the back test in Ctrader and am hitting the breakpoints. Now im getting lost in the soup and have a few questions
1) So im breakpointed into my code (preumabley at candle 1 close as not currently using on tick), i can view the variables/set watches and step through the code i get all that. I can 'continue', step over and step into but which candle am i at is there an easy way to tell?
2) My bot is quite selective, it opens 2 or 3 longer term trades a month. So on my chart it hits the conditions on 15th March, but its not opening the trade as i expect. How can i stop the execution around that time to step through? Surely i dont have to step through every candle? (im expecting the answer to be that i need to improve the logic of my code so i can breakpoint more effectively but debugging is a great learning tool i find)
Ive seen and understand the videos mentioned in the 'Do i need to buy vs2019 enterprise' thread, i can navigate the IDE and use the tools, its just the implementation im confused about. Any chance of a further video perhaps demonstating how to debug when an expected trade is not made etc?
Aware that my mindset is probally wrong, can anyone point me in the right direction please?