Cannot get stoploss and takeprofit
Created at 05 Mar 2014, 16:21
Cannot get stoploss and takeprofit
05 Mar 2014, 16:21
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?
dv007
05 Mar 2014, 16:23
RE:
dv007 said:
In position closed event, stoploss and takeprofit are available!
@dv007