Gain/Loss Info Indicator for MT4 & MT5 – Visualizing Significant Price Movements

12/04/2022

The Gain/Loss Info Indicator for MT4 & MT5 is a practical analytical tool designed to highlight significant price movements directly on the chart. It displays gains and losses for candles where price changes exceed user-defined thresholds, helping traders quickly identify periods of strong bullish or bearish activity.

All gain and loss values are calculated in both points (pips) and percentage terms, making the indicator suitable for comparing price behavior across different instruments and timeframes. The indicator is fully compatible with MetaTrader 4 and MetaTrader 5 platforms.

Key Features

  • Displays candle-by-candle gains and losses on the chart
  • Calculates price changes in both points and percentages
  • Two calculation modes: Close-to-Close or Open-to-Close
  • Customizable minimum change thresholds
  • User-defined colors, fonts, and display settings
  • Works on all symbols and timeframes

Calculation Modes
The Gain/Loss Info Indicator supports two different methods for measuring price changes:

  • Close-to-Close Mode:
    Compares the current candle’s Close price with the previous candle’s Close price.
  • Open-to-Close Mode:
    Compares the current candle’s Close price with its Open price.

This flexibility allows traders to analyze either inter-candle momentum or intraday candle strength, depending on their trading approach.

Input Parameters

  • PercentageLimit (default = 1.0):
    Minimum percentage change required for the value to be displayed.
  • PointsLimit (default = 1000):
    Minimum price change (in points) required for display.
  • CloseToClose (default = true):
    Enables Close-to-Close comparison; when disabled, Open-to-Close is used.
  • DisplayLossColor (default = Red):
    Color used for negative price changes.
  • DisplayGainColor (default = Green):
    Color used for positive price changes.
  • MaxBars (default = 100):
    Maximum number of historical bars processed by the indicator. Higher values may increase lag.
  • FontFace (default = Verdana):
    Font used for displaying values on the chart.
  • FontSize (default = 10):
    Font size of displayed values.
  • ObjectPrefix (default = "GLI-"):
    Prefix used for chart objects to ensure compatibility with other indicators.

Example Usage
When applied to a GBP/USD weekly chart, the Gain/Loss Info Indicator can clearly display large price movements by showing:

  • Percentage change above the candles
  • Point (pip) change below the candles

This makes it easy to spot weeks with unusually strong momentum or significant market reactions.

Practical Considerations
The Gain/Loss Info Indicator is not intended to be a standalone trading signal generator. Instead, it serves as a market analysis aid, helping traders:

  • Identify abnormal price movements
  • Recognize strong bullish or bearish candles
  • Detect momentum-based patterns

While large gain or loss values may be used as supplementary entry or exit signals, the indicator is most effective when combined with other technical or price action tools.

Gain/Loss Info | MT4
Gain/Loss Info | MT5

Password:forexsignalpro.net