Here is an indicator that shows open positions on an MT5 custom chart. The BaseSymbol input must be set at a real/tradable chart symbol. The adjustable input controls the location of the position text in bars back (into chart history). Although this indicator merely shows open positions for the current chart symbol, another coder can make more sophisticated use of the source code by adding additional position property conditions to the code. I've left calls to additional position properties active for this purpose, even though my conditions don't make use of them. Just keep in mind that in MT5, there are orders, deals, and positions... unlike MT4.