Mira cómo descargar robots gratis
¡Búscanos en Facebook!
Pon "Me gusta" y sigue las noticias
¿Es interesante este script?
Deje un enlace a él, ¡qué los demás también lo valoren!
¿Le ha gustado el script?
Evalúe su trabajo en el terminal MetaTrader 5
Asesores Expertos

Breakout Martin Gale Expert Advisor for mql4 - Asesor Experto para MetaTrader 4

Visualizaciones:
7704
Ranking:
(5)
Publicado:
2023.09.26 12:00
\MQL4\Include\
¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa

The "Martin Gale Breakout" strategy is an Expert Advisor (EA) designed for trading in the Forex market. This EA combines a breakout trading approach with elements of the Martin Gale money management system to optimize trading performance.

Input Parameters:

  • TakeProfPoints: This parameter allows you to set the Take Profit level in points for each trade.

  • BalancePercentageAvailable: Specify the percentage of your account balance that will be used for trading.

  • TP_Percentage_of_Balance: It determines the percentage of your account balance to be used as Take Profit for each trade.

  • SL_Percentage_of_Balance: This sets the percentage of your balance to be allocated as the Stop Loss for trades.

  • Start_The_Recovery: This parameter plays a crucial role in the recovery process, controlling when and how recovery measures are activated.

  • TP_Points_Multiplier: A multiplier for Take Profit points, allowing for flexible profit-taking strategies.

  • MagicNumber: An identifier unique to this EA, ensuring it can manage its own trades independently.

Strategy Highlights:

  1. Breakout Trading: The EA specializes in identifying breakout opportunities in the market, where price movements breach key levels.

  2. Dynamic Lot Sizing: Lot sizes are dynamically adjusted based on your account balance and risk preferences, following the Martin Gale money management principles.

  3. Loss Recovery: The EA includes a powerful recovery mechanism designed to recover losses by adaptively modifying trade parameters when necessary.

The main function that is used in this EA is the CalcLotWithTP() function which has 3 input parameters: Takeprofit, Startprice, Endprice. It calculates the volume needed for the trade so that it achieves the profit goal when it enters a trade at the Startprice and exits at the Endprice.

Everything in the code is commented, so that the understanding of it is made easier.

I've made a youtube video about it:

Inputs Backtest Results in mt4 with optimised parameters


Super Scalper EMAs Super Scalper EMAs

Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator

Using Moving Averages with an EA (Sample Source Code) Using Moving Averages with an EA (Sample Source Code)

This time, we're providing a sample that enters based on the Golden Cross and Dead Cross of the moving averages. If you want to see a sample where a long entry is made when the closing price of the candlestick crosses above the moving average, please refer to this article.

Trend Predictor Trend Predictor

New level of trend prediction!

The Double Bollinger Band Strategy MT4 The Double Bollinger Band Strategy MT4

The Double Bollinger Band Strategy makes use of two Bollinger Bands in order to filter entries and exits in the forex market.