Watch how to download trading robots for free
Find us on Facebook!
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
Views:
7343
Rating:
(16)
Published:
2011.04.11 17:15
Updated:
2016.11.22 07:32
draw_arrow.mq5 (4.88 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The indicator plots arrows on the bar, if its close price is greater than close price of the previous bar.

The color, width, shift and code of the arrow char changed randomly after N ticks. The N variable is defined as input parameter, it can be changed using the "Properties" window. Note that initial properties of the plot1 graphic plot (DRAW_ARROW) are defined using the #property preprocessor directive, further these properties changed randomly (OnCalculate() function).

See also: The Drawing Styles in MQL5.

DRAW_ARROW


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/334

DRAW_ZIGZAG DRAW_ZIGZAG

The DRAW_ZIGZAG drawing style allow to draw sections using the values of two indicator buffers. It looks like DRAW_SECTION, but it allows to draw vertical sections inside one bar.

DRAW_BARS DRAW_BARS

The DRAW_BARS drawing style is used to plot the bars using the values of 4 indicator buffers with Open, High, Low and Close prices.

Creating fractals in MQL5 using the Iterated Function Systems (IFS) Creating fractals in MQL5 using the Iterated Function Systems (IFS)

The cIntBMP library provides the creation of graphic BMP images. We will consider the example of its use in creation of self-similar fractal sets using the Iterated Function System (IFS).

VininI Cyber Cyсle [v01] VininI Cyber Cyсle [v01]

VininI Cyber Cycle - Identify cyclical movements of price, based on VininI_Cyber Cycle(V2).mq4 by Victor Nicolaev (2009)