Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

Avalanche AV - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
4264
Note:
(16)
Publié:
2018.09.27 15:39
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Murad Ismayilov

MQL5 code author: barabashkakvn

This Expert Advisor is one of the variations of the Avalanche EA.

ATTENTION: uses martingale!


How it works

The trade direction is selected randomly based on the random number generator MathRand: if the number is less than 16384, Buy is opened, otherwise Sell is opened. Trading begins with the volume of Start Lots. The Stop Loss and Take Profit parameters can be disabled by setting them to "0.0".


Position volume calculation

General principle: if the last position was closed with a loss, the next volume will be increased Volume expansion factor times. Volume is calculated in OnTradeTransaction: Types of trade transactions and Deal properties (market exit) are tracked.

Notes: the Expert Advisor tracks the maximum account balance value (the value is saved in the m_prev_balance_max variable), and controls the 'not enough money' error when opening a position. The position volume is increased until the last position is closed with a profit, at the same time the current trading account balance must exceed m_prev_balance_max. If the "not enough money" error is encountered (CheckVolume volume of the CTrade class), the calculated volume is reset to Start Lots.

Example of test charts in the "Every tick based on real ticks" mode:

Avalanche AV test 1

Avalanche AV test 2

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/21727

Klinger_Oscillator Klinger_Oscillator

Klinger Oscillator developed by Stephen Klinger to determine the long-term trend while remaining sensitive to detect short-term fluctuations enabling the trader to predict short-term reversals.

Dynamic_Trend Dynamic_Trend

The Dynamic Trend signal indicator draws a two-color trend direction line and adds signal arrows.

Mirror_MA Mirror_MA

The Mirror MA indicator features two mirrored moving averages in a separate chart window calculated based on a difference between two MAs with different calculation data, and one signal line calculated based on a direct moving average data.

Above Below MA Above Below MA

An Expert Advisor based on the iMA (Moving Average, MA) indicator.