Join our fan page
- Views:
- 12139
- Rating:
- Published:
- 2016.05.16 11:32
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
It is based on the observation, which shows that the price crosses the MA chart quite often and moves a certain distance further. It places a pending order (Buy Limit or Sell Limit) at the price equal to the value of МА(590-М1). When the price changes, the MA value changes, the order is also modified, and so on until the order is triggered.
Once the order is triggered, it is not modified. Exit – by tight ТР and SL. As soon as the EA «sees» that there are no orders, it places a new pending order. As it often happens that the price only touches the MA and does not go further, I chose the SL small enough - 30 points. Level of TP=70.
And even though I am sure I prevailed, there is a small possibility that I forgot to fix something.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7704

The FarhadCrab1 EA. It has a lot of settings. It also uses a large number of indicators. Some of them: MA, Stochastic, Macd, RSI.

A modified version of the FlatTrend indicator, shows the beginning and the end of a flat.