The indicator plots a line with different colors using the Close price, the DRAW_COLOR_LINE drawing style is used.
Two indicator buffers are used: the first contains the closing price of the bar, the color indexes specified in the second indicator buffer. The colors of lines, the width and line style changed randomly after N=5 ticks.
The initial properties of the plot1 graphic plot are defined using the #property preprocessor directive, further these properties changed randomly (see OnCalculate() function).
See also The Drawing Styles in MQL5.
MT5 Indicators – Download Instructions
DRAW_COLOR_LINE – indicator for MetaTrader 5 is a Metatrader 5 (MT5) indicator and the essence of this technical indicator is to transform the accumulated history data.
DRAW_COLOR_LINE – indicator for MetaTrader 5 provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.
Based on this information, traders can assume further price movement and adjust their strategy accordingly. Click here for MT5 Strategies
Recommended Forex MetaTrader 5 Trading Platforms
#1 – XM Market
- Free $50 To Start Trading Instantly! (Withdrawable Profit)
- Deposit Bonus up to $5,000
- Unlimited Loyalty Program
- Award Winning Forex Broker
- Additional Exclusive Bonuses Throughout The Year
>> Claim Your $50 Bonus Here <<
Click Here for Step-By-Step XM Broker Account Opening Guide
#2 – Pocket Option
- Free +50% Bonus To Start Trading Instantly
- 9.6 Overall Rating!
- Automatically Credited To Your Account
- No Hidden Terms
- Accept USA Residents
How to install DRAW_COLOR_LINE – indicator for MetaTrader 5.mq5 to your MetaTrader 5 Chart?
- Download DRAW_COLOR_LINE – indicator for MetaTrader 5.mq5
- Copy DRAW_COLOR_LINE – indicator for MetaTrader 5.mq5 to your Metatrader 5 Directory / experts / indicators /
- Start or restart your Metatrader 5 Client
- Select Chart and Timeframe where you want to test your mt5 indicator
- Search “Custom Indicators” in your Navigator mostly left in your Metatrader 5 Client
- Right click on DRAW_COLOR_LINE – indicator for MetaTrader 5.mq5
- Attach to a chart
- Modify settings or press ok
- Indicator DRAW_COLOR_LINE – indicator for MetaTrader 5.mq4 is available on your Chart
How to remove DRAW_COLOR_LINE – indicator for MetaTrader 5.mq5 from your Metatrader 5 Chart?
- Select the Chart where is the Indicator running in your Metatrader 5 Client
- Right click into the Chart
- “Indicators list”
- Select the Indicator and delete
DRAW_COLOR_LINE – indicator for MetaTrader 5 (Free Download)
Click here below to download: