The trend indicator using an oscillator algorithm drawn in the form of a colored cloud with additional indication.
The color histogram defines trend by finding the border of the colored cloud beyond levels:
input uint MainTrendLong=60; // Upper trigger level input uint MainTrendShort=40; // Lower trigger level
When the colored cloud extends beyond the boundaries of levels:
input uint BuyTrigger=80; // Buy level input uint SellTrigger=20; // Sell level
Colored dots appear in the moments when the direction of the fast envelope line of the cloud is opposite to the breakthrough level. For example, if the fast envelope line is above Buy and is falling, a pink dot appears.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article “Averaging Price Series for Intermediate Calculations Without Using Additional Buffers”.
Originally this indicator has been written in MQL4 and was first published in the Code Base at mql4.com on 11.03.2008.
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
- Exclusive 50% Cash Rebates for all Trades!
Already an XM client but missing out on cashback? Open New Real Account and Enter this Partner Code: 𝟕𝐖𝟑𝐉𝐐
(Free MT5 Indicators Download)
Enter Your Email Address below, download link will be sent to you.