4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
EN
Advertisements
— ForexEko Gold! Easy Profits!
— Trade Forex with 1:2000 Leverage
EarnForex Software MetaTrader Indicators Flexible Momentum
Flexible Momentum for MT5
Flexible Momentum (MetaTrader indicator) — calculates the change of a currency rate during a given
period (in seconds) and displays the result as a number of points and percentage in the main chart window
of the platform. It offers highly customizable alerts based on thresholds for maximum momentum in points
and percentage. Because this indicator uses ticks history to calculate momentum, it works only in MT5.
The main purpose of this MT5 indicator is to inform you when there is a large price movement in a short
period of time. This can be useful both when entering new trades and when you need to decide whether to
exit an existing trade.
Input parameters
Main
Seconds (default = 10) — how many seconds to calculate the price change over.
ThresholdPoints (default = 30) — a threshold in points for alerts to get triggered (if configured).
ThresholdPercentage (default = 0.02) — a threshold in percentage for alerts to get triggered (if
configured).
DiscardIfOlder (default = 1) — discard calculations if ticks used for calculations are older than the given
number of seconds.
PriceToUse (default = Bid) — the kind of price to use in calculations. Can be Ask, Bid, or Midprice.
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 1/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
Alerts
AlertBehaviror (default = No alerts) — what to do on a threshold breach?
No alerts — nothing.
Single alert until next breach — a single alert will be issued until the momentum declines below the
threshold. Works separately for points and percentage thresholds.
Continuous alerts whenever condition is met — if the momentum is above a threshold, issue alerts
every tick.
Alert on condition but with time limit on next alert — if the momentum is above a threshold, issue
alerts with intervals defined by the next input parameter.
AlertTimeLimitForRestricted (default = 5) — a pause in seconds until the next alert. Works only if
AlertBehaviror is set to Alert on condition but with time limit on next alert.
EnableNativeAlerts (default = false) — if true, a native MetaTrader popup alert will be used when an
alert condition is fulfilled.
EnableEmailAlerts (default = false) — if true, an email message will be sent when an alert condition is
fulfilled. Email should be properly configured in MetaTrader via Tools->Options->Email.
EnablePushAlerts (default = false) — if true, an email message will be sent when an alert condition is
fulfilled. Notifications should be properly configured in MetaTrader via Tools->Options->Notifications.
Display
Font Size (default = 8) — font size for displayed text.
Up Color (default = clrGreen) — the color of the text when price change is positive.
Down Color (default = clrRed) — the color of the text when price change is negative.
No Change Color (default = clrBlue) — the color of the text when there is no change in price or there
are not enough ticks.
X Distance for Text (default = 21) — horizontal distance in pixels from the chosen screen corner to the
text.
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 2/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
Y Distance for Text (default = 20) — vertical distance in pixels from the chosen screen corner to the
text.
Text Corner (default = CORNER_LEFT_LOWER) — chart corner to display the text.
Text Object Name (default = "FM_Text") — object name for the text with the momentum value.
Screenshots
The screenshot below shows the Flexible Momentum indicator's normal output for a rising price without a
breach of any of the two thresholds.
The screenshot below shows the indicator in its alert phase with the alert window visible. The indicator's
text is green, which means that the price change is positive. The text is also enlarged, which means that
the one or both of the thresholds have been breached.
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 3/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
The following screenshot shows the Flexible Momentum when the calculations cannot be performed for
the lack of up-to-date ticks.
Downloads
Flexible Momentum for MetaTrader 5 in .zip
Download
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 4/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
Flexible Momentum for MetaTrader 5 in .mq5
Download
Discussion
Warning! If you do not know how to install this indicator, please read the
MetaTrader Indicators Tutorial.
Do you have any suggestions or questions regarding this indicator? You can always discuss Flexible
Momentum with the other traders and MQL5 programmers on the indicators forums.
Subscribe to the newsletter
We’ll send you our monthly newsletter which is fully stocked with free resources like articles,
videos, podcasts, reward ideas, and anything else we can think of to help you make your
trading knowledge awesome.
Enter your email address
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 5/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
SUBSCRIBE TO OUR NEWSLETTER
Advertisements
— Trade smarter: TradingView, MT4, MT5.
Forex — the foreign exchange market (also known as FOREX or FX) is the biggest and the most liquid financial market in the
world. It boasts a daily volume of more than $7.5 trillion. Trading in this market involves buying and selling world currencies,
taking profit from the exchange rates difference. FX trading can yield high profits but is also a very risky endeavor.
Forex Brokers
MT4 Forex Brokers
MT5 Forex Brokers
PayPal Brokers
Regulated Brokers
Oil Trading Brokers
Gold Trading Brokers
Muslim-Friendly Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Skrill Brokers
Neteller Brokers
Perfect Money FX Brokers
See all
Forex Tools
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 6/7
4/4/25, 2:20 PM Flexible Momentum Indicator for MetaTrader 5
Forex Brokers
Community
Forex Books
Software
Education
About
© 2005-2025. EarnForex. All Rights Reserved.
Developed by
Forex trading bears intrinsic risks of loss. You must understand that Forex trading, while potentially profitable, can make you
lose your money. Never trade with the money that you cannot afford to lose! Trading with leverage can wipe your account
even faster. CFDs are leveraged products and as such loses may be more than the initial invested capital. Trading in CFDs
carry a high level of risk thus may not be appropriate for all investors. EarnForex.com is operated by EARNFOREX S.A.S., a
company registered at the following address: 229 rue Saint-Honoré, 75001 Paris, France. Tribunal de commerce de Paris
registration number: 951833029. French VAT ID: FR04951833029.
https://www.earnforex.com/metatrader-indicators/Flexible-Momentum/ 7/7