I'm trying to get the Realized PnL in the Position Display Indicator to show Ticks. It currently shows currency in USD.
I've found the Line for The value. It's as follows:
realizedPnL = account.Get(AccountItem.RealizedProfitLoss, Currency.UsDollar)
I've tried changing "Currency.UsDollar" to "Ticks". When I do this I get the following error:
Code SC0103
The name 'Tics' does not exist in the current context.
Any ideas on how to show Realized PnL in Ticks?

Comment