pablojml – Your question is strategy related. The place for strategy questions is the ProOrder forum and not the PrScreener forum. I will move your post to the correct forum.
Please post in the correct forum with future posts.
I’m struggling to understand what the offset does in this code. And what is the difference between these two:
1
2
3
Buy1CONTRACTSATMARKET
Buy1CONTRACTSATclose
If the code is testing if opening is above or below close, then “AT MARKET” should do the trick no? as it will be comparing precisely at close and buying/selling at the start of the next candle.
Also, forgot to add if I wanted to test 1 specific candle of the day at one specific hour, how can I add this to the code?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.