Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Sistemi Esperti

Avalanche AV - sistema esperto per MetaTrader 5

Pubblicati da::
Vladimir Karputov
Visualizzazioni:
4595
Valutazioni:
(16)
Pubblicato:
2018.09.27 15:39
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a 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

Tradotto dal russo da MetaQuotes Ltd.
Codice originale 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.