In short, I am wanting to enter a position using a stop market order at the high of the last bar + 1. I don't have an issue setting that up.
The problem comes in trying to set my stop loss and take profit orders. What I am trying to do is use the same bar that triggered my order (high + 1) to create the value of my SL and Prof orders.
So, say I enter a long stop market order at 10:30 at the high + 1 of the last hour bar (9:30-10:30). How can I set a stop order that will be, say, 50% of the range of that 9:30-10:30 bar?
Example:
9:30-10:30 bar = high of 1,000 and range of 10
Thus, long stop market order at 1,001 with stop loss set to 995 and profit target set to 1,005.
Is this possible? I tried to set a variables for the prof/SL so that could plug in a logical sequence in either an "order management" set or the stop/profit section. Unfortunately I cannot get it to execute properly no matter how I've set it up. Any help would be greatly appreciated!

Comment