Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Gain/Loss Info MT5 - indicator for MetaTrader 5

Views:
1932
Rating:
(2)
Published:
2025.01.31 08:00
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Gain/Loss Info MetaTrader indicator — displays the gains and losses for all candles where the given threshold is surpassed. The values are calculated in points and percentage. The indicator can calculate gain/loss in two modes: plain candlestick Close and Open difference, and as difference between current Close and previous Close. You can set minimum change limits (for pips and percentage), change modes, and you can also control font color of the output numbers. The indicator is available for both MT4 and MT5.

Input parameters

  • PercentageLimit (default = 1.0) — minimum threshold for the change to be displayed; in percentage points.
  • PointsLimit (default = 1000) — minimum threshold for the change to be displayed; in points.
  • CloseToClose (default = true) — if true, the indicator will compare current Close to previous Close; if false, it will compare current Close to current Open.
  • DisplayLossColor (default = clrRed) — color of the negative price change display.
  • DisplayGainColor (default = clrGreen) — color of the positive price change display.
  • MaxBars (default = 100) — maximum number of bars to calculate the indicator on. The higher is the number the more lagging indicator becomes.
  • FontFace (default = "Verdana") — the font face to use for display.
  • FontSize (default = 10) — the font size to use for display.
  • ObjectPrefix (default = "GLI-") — prefix for chart objects for compatibility with other indicators.

The chart above shows the example usage of the Gain/Loss Info indicator on GBP/USD @ W1. The percentage limit was set to 1.0% and pips limit was set to 1,500 pips. The calculation mode was set to "Close vs. previous Close." Points count for period is displayed below candles. Percentage change — above candles.

Obviously, it is nearly impossible to use this indicator to generate trading signals. Its main purpose is to simplify the analysis of the market situation and to make it easier to find some bullish and bearish patterns. Of course, you can still use the data about abnormally big changes as some sort of entry or exit signals.




Murrey Math Line X MT5 Murrey Math Line X MT5

Murrey Math Line X MetaTrader indicator — a pivot line indicator that will definitely help every trader who knows how to trade with support, resistance, and pivot lines. It displays 8 primary lines (with 5 more additional ones) on the main chart, helping you to find the best points to sell, buy, and exit your positions. The indicator can issue alerts when a candle closes after breaking any of the pivot lines. You can download this indicator for MT4 and MT5 platform.

Moving Average Candlesticks MT5 Moving Average Candlesticks MT5

Moving Average Candlesticks MetaTrader indicator — is a chart visualization of a standard moving average using the candlestick bars. It draws the candlesticks based on the moving average values calculated for Close, Open, Low, and High. It allows seeing a compact snapshot of the more detailed market information compared with the classic MA indicator. It works with any currency pair, timeframe, and MA mode. The indicator is available for MT4 and MT5.

Keltner Channel MT5 Keltner Channel MT5

Keltner Channel (MetaTrader indicator) — is a classical technical analysis indicator developed by Chester W. Keltner in 1960. The indicator is somewhat similar to the Bollinger Bands and Envelopes. It uses three plot lines: the middle line is the 10-day simple moving average applied to the typical price ((high + low + close) / 3), the upper and the lower bands are produced by adding and subtracting the moving average of the daily price range (High and Low difference) from the middle line. This way, a volatility-based channel is built. In this version of the indicator you can modify all the parameters of the MA. The indicator is available both for MT4 and MT5 versions of the platform.

Pinbar Detector MT5 Pinbar Detector MT5

Pinbar Detector is a MetaTrader indicator that tries to detect Pinbars (also known as "Pin-bar" or "Pin bar") and marks them by placing a "smiling face" symbol below the bullish Pinbars and above the bearish Pinbars. It is a pure price action indicator, which is not using any standard technical indicators in its code. The configuration of Pinbar detection can be done via the indicator's input parameters. Pinbar Detector can issue platform alerts and email alerts on detection. The indicator is available both for MT4 and MT5 versions of the trading platform.