Unisciti alla nostra fan page
- Pubblicati da::
- Vladimir Karputov
- Visualizzazioni:
- 3588
- Valutazioni:
- Pubblicato:
- 2017.03.02 09:56
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
A tick Expert Advisor. Comparing the price on the previous tick and the current price.
Attention! Tests only in the "Every tick based on real ticks" mode.
Author of the idea is Sergey Artukh, author of the MQL5 code is barabashkakvn.
Algorithm: two static variables:
static double prev_bid=0.0; // a static variable for storing the bid price on the previous tick
The static variable retains its value after leaving the function.
Input Parameters:
- the difference between the price on the previous tick and the current one
- loss of points
- reverse of signals
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/17277

Comparing open prices of the zero and third bar.

Derived from the NRTR indicator, provided with a new visual display.

The Expert Advisor places two pending orders at a certain time.

An example for calculating the lot value with a fixed margin level. That is, if you specify 10%, a position with the margin equal to 10% of free margin will be opened.