Topics
05 Dec 2013, 04:00
 3138
 2
Replies

dv007
05 Mar 2014, 16:23

RE:

dv007 said:

I want to get stoploss and takeprofit of position in  Position Opened Event but it null

private void PositionsOnOpened(PositionOpenedEventArgs args)
        {
            var pos = args.Position; 
            Print("TP: " + pos.TakeProfit.ToString() + ", SL: " + pos.StopLoss.ToString());
        }

It's bug?

In position closed event, stoploss and takeprofit are available!


@dv007