Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

Avalanche AV - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
4316
Derecelendirme:
(16)
Yayınlandı:
2018.09.27 15:39
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

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

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: 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.