1. Monitor price on 1 minute intervals
2. When the close of a minute indicates an investment opportunity in the next 60 seconds,
3. 'Zoom-in' and focus on tick-by-tick changes to select the best time to take a position
Now, I found the SampleEnterOnceExitExitEveryTick in the Reference Samples section, which is similar to what I'll be doing but opposite. Instead of taking a position at the close of a bar and looking for the best time to exit, I want to look for the best time to take a position in a bar and exit at the end of it. I think converting the code for my use won't be too difficult, but I do have some questions about what some of it means.
if (FirstTickOfBar && Position.MarketPosition == MarketPosition.Flat)
Also, although it says FirstTickOfBar, it actually means the last tick of the previous bar, right? That way the calculation you run in that if statement would apply run on the bar that just closed.

Comment