exist way, how I close stop order inside a candle?
In this example they have close position inside candle:
http://www.tradingcode.net/multicharts- ... ior-close/
If I create stop order by this code:
Code: Select all
protected override void Create()
{
orderStop = OrderCreator.Stop(new SOrderParameters(Contracts.Default, EOrderAction.Buy));
}
protected override void CalcBar()
{
orderStop.Send(LongBreakout);
}
Why? I have session without night seance and when create stop order on penultimate candle, this stop order is not closed at the close of the session and this stop order is active whole night session.