거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

Grid, MartinGale include File - MetaTrader 5용 라이브러리

조회수:
8244
평가:
(5)
게시됨:
2023.07.27 12:03
업데이트됨:
2023.08.15 20:41
Grid.mq5 (2.72 KB) 조회
Strategies.mqh (37.19 KB) 조회
Trade.mqh (67.84 KB) 조회
Functions.mqh (22.78 KB) 조회
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This include file provides programmers with a seamless solution for creating Martin Gale trading strategies effortlessly. The classes GridStrategy and MartinGaleStrategy are derived from the Strategy class, which encompasses various attributes such as Startprice, Lots(Volume available for the strategy), TakeProfit, Stoploss (in monetary terms), and more. While Grid and Martin Gale strategies possess their own unique characteristics, they still share these fundamental attributes.

The Strategy class features an onTick function, which should be called within the OnTick() function of an Expert Advisor. This function handles all aspects of the strategy, including generating buy and sell signals, opening trades based on these signals, and closing trades when the Take Profit or Stop Loss levels are reached. The buy and sell signals are virtual functions within the Strategy class, which are specifically implemented and customized in the Grid and Martin Gale Strategy classes.

Creating and initializing a strategy is a straightforward process. Once a strategy object is created using the new keyword, an initialization step is required. Once initialized, simply calling the onTick function is all that remains, making the creation of these strategies remarkably simple and user-friendly.

With the utilization of this include file, programmers can harness the power of Martin Gale strategies in their trading systems with ease. The streamlined approach and comprehensive functionality of the Strategy class allow for efficient development and implementation of grid and Martin Gale trading strategies.

If you want, you can start strategies based on various signals, for example if you see high/low volatility you can start a Martin Gale/ Grid strategy, so that it only runs until it is closed out for profits. 

Check out the Youtube Video I've made about it:

Grid results

Martin Gale results



    PNG PNG

    Forget about BMP files like a bad dream. Thanks to this library, you can now use the PNG format, which has a number of advantages, such as being more compact without losing image quality and maintaining transparency.

    Dynamic Support and Resistance Dynamic Support and Resistance

    The "Dynamic Support and Resistance" Indicator is a versatile tool that combines support and resistance levels with real-time market dynamics. By incorporating previous daily highs and lows, it provides valuable insights into market psychology and identifies potential areas of price reversals or breakouts. With its ability to adapt to changing market conditions and customizable options, traders can stay ahead of trends and make informed decisions. This indicator is suitable for various trading styles and timeframes, empowering both experienced and novice traders with a competitive edge. ## Check out new Liquidity Hunter EA that uses SMC : https://www.mql5.com/en/market/product/121106

    Support and Resistance indicator for MQL5 Support and Resistance indicator for MQL5

    This is a custom support and resistance indicator, signaling bouncebacks and key market levels.

    RectangleTest RectangleTest

    The EA trades using the Rectangle, EMA and SMA indicators.