Flat – indicator for MetaTrader 5

0
409

The indicator for measuring market volatility.

During strong trends colored dots of the indicator turn red, during weak trends dots are gray. Moderate trends are shown in blue.

Indicator input parameters:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input uint Smooth=10;                                // Smoothing period
input ENUM_MA_METHOD      ma_method=MODE_SMA;        // Type of smoothing
input ENUM_APPLIED_PRICE  applied_price=PRICE_CLOSE; // Price type
input uint HLRef=100;
input int Shift=0;                                   // Horizontal shift of the indicator in bars
input uint ExtraHighLevel=60;                        // The level of the strongest trend
input uint HighLevel=40;                             // The level of a strong trend
input uint LowLevel=20;                              // The level of a weak trend
input ENUM_LINE_STYLE LevelStyle=STYLE_DASHDOTDOT;   // Style of level lines
input color LevelColor=clrBlue;                      // Color of the levels
input ENUM_WIDTH LevelWidth=w_1;                     // Width of the levels 

Originally this indicator has been written in MQL4 and was first published in the Code Base at mql4.com on 01.11.2007.

Recommended MT5 Brokers

XM Broker

  • Free $50 To Start Trading Instantly! (Withdraw-able Profit)
  • Deposit Bonus up to $5,000
  • Unlimited Loyalty Program
  • Award Winning Forex Broker
  • Additional Exclusive Bonuses Throughout The Year

XM broker

>> Sign Up for XM Broker Account here <<

FBS Broker

  • Trade 100 Bonus: Free $100 to kickstart your trading journey!
  • 100% Deposit Bonus: Double your deposit up to $10,000 and trade with enhanced capital.
  • Leverage up to 1:3000: Maximizing potential profits with one of the highest leverage options available.
  • ‘Best Customer Service Broker Asia’ Award: Recognized excellence in customer support and service.
  • Seasonal Promotions: Enjoy a variety of exclusive bonuses and promotional offers all year round.

fbs broker

>> Sign Up for FBS Broker Account here <<

(Free MT5 Indicators Download)

Click here below to download:

Flat – indicator for MetaTrader 5

LEAVE A REPLY

Please enter your comment!
Please enter your name here