I'm new here to this amazing forum and as I've come across some problem in my programming I figured I should ask the pros ;)
So here is what I'd like to do:
I have a simple Breakout-Strategy that trades a morning breakout after the first trading hour.
One tick above the high of the first hour and one tick below the low. Some instruments are not that liquid so there is some slippage.
And to counter that I thought about sending the order X minutes before the hour is finished but when the current price comes near the order should have a minimum distance of Y Ticks so that even a rapid jump in price shouldn't be a problem.
Has somebody already programmed something like this and could give me some advise?