Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Services

ShowTradeLines Service - service for MetaTrader 5

Visualizzazioni:
940
Valutazioni:
(1)
Pubblicato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

The service provides more descriptive and intuitive representation of open positions and related deals on charts than it's offered by the terminal by default. Specifically you can see the time(s) and price(s) of opening trade and optionally other deals, such as partial close or adding volume to a position in a netting account.

The service monitors account state for open positions and creates graphical objects on an active chart (shown on top or maximized) if its symbol corresponds to at least one of existing positions.

Inputs

  • TimeInterval (seconds) - 5 by default;
  • LinePrefix - common prefix for on chart objects, such as "TradeTag";
  • LineColorProfit - color for lines of profitable positions (clrDodgerBlue);
  • LineColorLoss - color for lines of lossy positions (clrCoral);
  • LineStyle - drawing style of lines (STYLE_DASHDOT);
  • LineWidth - width of lines (1);
  • LineType - type of lines - OBJ_TREND (default) or OBJ_VLINE;
  • ShowDeals - option to show arrows for deals (true);
  • KeepLinesOnCharts - option to keep graphical objects on chart after position is closed (false);
  • Logging - output or not main events to log (true);

The service registers all objects added on chart in the list of the global variables. This helps the program to detect which objects to remove when a position is closed and KeepLinesOnCharts is false. If KeepLinesOnCharts is true, the service keeps corresponding objects on charts (they are left for manual control by user), but in any case the relevant global variables (describing closed positions and their deals) are removed upon position closure.

Graphical objects for open position and its deals

All objects receive textual descriptions with most important properties of positions and deals, which can be seen in tooltips (on mouse hover) and right on the chart (if corresponding option is enabled in the chart's settings).

Сode that records balance and equity charts and calculates additional optimization criteria Сode that records balance and equity charts and calculates additional optimization criteria

If you have access to the Expert Advisor code, you can save balance and equity charts and calculate additional optimization criteria by adding additional code from this library.

Binary tradng based on candle colors Binary tradng based on candle colors

A simple binary trading strategy that counts candle colors.

Price Action Intraday Trading - Expert for MT5 Price Action Intraday Trading - Expert for MT5

Price Action Day Trader is a robust, trend-following MQL5 Expert Advisor designed for intraday trading. It focuses on high-probability price action patterns Pin Bars, Engulfing Candles, and Inside Bar Breakouts while filtering trades through a dual Moving Average trend filter.

MACD Signals MACD Signals

Indicator edition for new platform.