Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Position Information Panel - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 7 reads | 0 comments |

Positions Info Panel - indicator for MetaTrader 5

Positions Info Panel - indicator for MetaTrader 5

Positions Info Panel - indicator for MetaTrader 5

Positions Info Panel - indicator for MetaTrader 5

The indicator is in the form of a panel. Displays the resulting direction of the position: the resulting lot size and an up or down arrow.

The main application area is hedging accounts, i.e. multiple open positions in different directions and different trading volumes. The panel only displays the resulting positions for the chart symbol attached to the panel.

There is such an open position:

Positions Info Panel - indicator for MetaTrader 5

Therefore, the position of AUDUSD is: Sell 0.02 + Buy 0.05 = Buy 0.03:

Positions Info Panel - indicator for MetaTrader 5

Likewise, the final position for EURUSD will be: Sell 0.01 + Buy 0.05 = Buy 0.04:

Positions Info Panel - indicator for MetaTrader 5

The final position in USDJPY will be: Buy 0.06 + Sell 0.03 + Sell 0.05 = Sell 0.02:

Positions Info Panel - indicator for MetaTrader 5

Attach the Position Information Panel indicator to the chart and save the chart template (right-click on the chart -> Template -> Save Template) under the name default.tpl. Thereafter, the Position Information panel will appear on the chart whenever you open a new chart.


Attachment download

📎 positions_info_panel.mq5 (5.34 KB)

📎 positions_info_panel_dialog.mqh (12.77 KB)

Source: MQL5 #16931

Verification code Refresh