How can I access the unrealized PnL of an Account (Sim101) in an Indicator (not strategy) to have it plotted?
I would not like to pass 'Position.GetUnrealizedProfitLoss(PerformanceUnit. Currency, Close[0])' from the strategy to the indicator because I like to use the strategy builder for the strategy (with keeping code locked) and it seems that the builder cannot pass this argument to an indicator.
Comment