Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Indicators | PositionInfo | MetaTrader Tool

Discover expert developed MetaTrader tools that can complement professional solutions.

The simple indicator for displaying some relevant information about a position opened on the current chart right in that chart window. The data includes position direction, profit in points and distances to Stop Loss and Take Profit from the current price in points. If the position is currently in a loss-making state, the text is colored in red. Otherwise, it is colored in green.

This indicator can be quite useful in multicurrency strategies when the use of Toolbox panel is not appropriate.

Indicator input parameters:

Reduce lag and improve accuracy with the NonLagMA Expert Advisor for MT4/MT5. Discover it.

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input color  UpColor=Lime;//color of profitable position
input color  DnColor=Red;//color of unprofitable position
input color  ZrColor=Gray;//color of position without profit
input int    FontSize=15; //font size
input type_font FontType=Font14; //font type
input ENUM_BASE_CORNER  WhatCorner=CORNER_LEFT_LOWER; //location corner
input uint Y_=1; //vertical location
input uint X_=5; //horizontal location

Place GetFontName.mqh to the terminal_directory\MQL5\Include.

PositionInfo

PositionInfo

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

1017

Best MetaTrader Indicators + Profitable Expert Advisors