I'm wondering if anybody else is having this issue and, if so, what they did to fix it.
Here's what keeps happening with the strategy I'm working on:
I enable the strategy, which is set to take only very specific trade setups.
Sometimes, before the strategy engages, I see a setup I want to take.
So... the default number of contracts in the strategy is 10.
I also have the chart trader open in another chart window with the same number of contracts. No ATM strategy.
I open a trade in the desired direction using the chart trader, and the trade begins to move in my desired direction.
Now... at a certain point, the strategy sees an entry opportunity in the opposite direction. This is by design. However... and here is where it gets dicey...
The strategy is set to enter the market and set a stop loss of 8 ticks from the entry price. If I'm not in the market on a "manual" trade (like im my above example), this automated goes off without a hitch... and the automated trade is executed with the necessary stop loss in place... and off we go...
If, however, I have an open position, what happens is that the strategy closes my open position, but only places the stop loss order... in other words, the order for 10 contracts that it is placing... cancels my "manual" order, but the strategy never goes ahead and places the actual orders it's supposed to place. It is apparent that it's ignoring the fact that I already have a position open.
How do I get the strategy to "work along with me" so that it knows I'll be occasionally placing manual trades and to close any open order I've placed manually, and then, go ahead and place its order as specified in the code of the strategy?
Does anyone here know the absolute correct way to handle this?
I feel like that guy who says to his robot: "Hey... I'm over here!"
-V

Search the forum. One method has been published multiple times.
Comment