Hi everyone,
I am looking at the SamplePositionDisplay indicator from the ecosystem by Jim,
and I'd like to not have to choose an account in the properties.
this way the values rendered would be of any account the chart is applied on, from the chart trader.
I deleted the AccountName property.
but I am challenged whith this :
lock (Account.All)
account = Account.All.FirstOrDefault(a => a.Name == AccountName);
tried this :
lock (Account.All)
account = Account.All.FirstOrDefault(a => a.Name == "");
but now the code is not finding any account obviously.
How could we render the default account from the chart ?

Comment