#region Variables
private string Object200 = string.Empty;
protected override void OnBarUpdate()
{
string Object200 = GetAtmStrategyUniqueId();
}
Then when each position finish I have the following line:
Print("PnL is " + GetAtmStrategyRealizedProfitLoss(Object200).ToStri ng());
But the output window always show the PnL is 0
Can anyone enlighten me what I did wrong ? I am using Ninjatrader 6.5.
Comment