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?
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue