당사 팬 페이지에 가입하십시오
"MQL5 Programming for Traders" 파트 6에서는 MQL5 언어의 핵심인 트레이딩 자동화에 대해 알아볼 것입니다. 우리는 금융상품 사양 및 트레이딩 계좌 설정과 같은 기본적인 것들부터 시작하게 될 것입니다. 이는 Expert Advisors를 제대로 운영하기 위한 전제 조건입니다.
책의 파트 5에서는 금융 데이터 분석 및 처리, 차트 시각화, 자동화, 사용자 상호작용 등 알고리즘 트레이딩과 관련된 API에 대해 자세히 알아볼 것입니다.
이 책의 네 번째 파트에서는 기본 제공 함수(MQL5 API)를 마스터하는 데 중점을 둘 것입니다. 그리고 이후 점차 전문화된 하위 시스템을 살펴볼 것입니다. 모든 MQL5 프로그램은 다양한 기술과 기능을 활용할 수 있게 합니다. 따라서 여러분은 대부분의 프로그램에서 활용할 수 있는 가장 간단하고 유용한 기능부터 시작하는 것이 좋습니다.
3부 “MQL5에서는 객체 지향 프로그래밍”에서 MQL5 언어에서의 객체 지향 프로그래밍(OOP)의 세계에 대해 자세히 알아봅니다. 소프트웨어 개발에는 여러 요소의 관리와 관련된 복잡함이 수반되는 경우가 많기 때문에 프로그래밍의 편의성과 생산성 및 품질을 개선하기 위한 고급 기술이 필요합니다.
파트2 'MQL5 프로그래밍 기본'에서는 이 프로그래밍 언어의 주요 개념을 소개합니다. 이 파트에서는 데이터 유형, 식별자, 변수, 표현식 및 연산자에 대해 설명합니다. 여러분은 다양한 명령어를 결합하여 프로그램 로직을 구성하는 방법을 배우게 될 것입니다.
이 책의 첫 번째 장에서는 MQL5 언어와 개발 환경에 대해 소개합니다. MQL4(MetaTrader 4 언어)와 비교하여 MQL5 언어에 도입된 새로운 기능 중 하나는 MQL5 언어는 객체지향 프로그래밍(OOP)을 지원하여 C++와 유사하다는 점입니다.
a Simple Visual Strategy Tester / Manual Trade Training using Martingale.
이 Expert Advisor는 거래를 하지 않습니다. 표준 캔버스 라이브러리를 사용하여 구현된 간단한 패널을 사용하면 여러분은 마우스로 숫자를 그릴 수 있습니다. 학습된 mnist.onnx 모델은 숫자를 인식하는 데 사용됩니다.
This is an mql5 Expert Advisor trading the breakouts and using Martin Gale risk management.
This function allows you to retrieve and return the filling policy of a symbol in MetaTrader 5. This is useful for making trading decisions based on the filling policy of a specific financial instrument.
"This advisor uses the RSI indicator to determine optimal entry and exit points in the market. A unique feature of the advisor is its martingale strategy, which allows for position reversal with an increased lot size during market reversals. The advisor offers flexible trading time settings: you can set a working time range and disable trading during specific hours to filter out news events."
On contrast with Trailing Stop which a stop loss trails price until the price hits the stop loss and the position gets closed in profit, introducing Trailing Take Profit which take profit trails price when a position is in loss and ultimately the position gets closed with loss.
The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders.
Explore the implementation of equity-based position closure in your trading bot, where positions are closed automatically when the equity reaches a certain percentage threshold.
To use martingale money management when a position is in loss and price hits any of specific distances.
This code snippet implements a dynamic risk management strategy for existing trades. It focuses on closing trades based on profit or loss thresholds and employs a trailing stop loss to lock in profits as the trade moves favorably. The strategy helps manage risk and enhance profitability in a streamlined manner.
This MT5 Expert Advisor opens multiple buy and sell orders based on user input, featuring a simple interface with Buy and Sell buttons. The EA calculates lot size, checks the spread against slippage, and places orders accordingly. It is essential to test this EA in a demo account before using it in live trading.
This code initializes the necessary objects and input parameters, and defines a CheckTrades() function that calculates the risk and profit amounts based on the account balance and user input. It then iterates through open orders and checks if the current profit or loss meets the user-defined thresholds, and closes the position if necessary
This class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling they stay at the same place. If you wan't to learn some Object Oriented Programming or if you wan't to understand how chartevents work or you wan't to create graphical interfaces, you can learn a lot from this.
MoveStoploss moves the stoploss as the trade move in your direction at a specific distance. Version 1.1 has automatic trail error fixed.
This expert advisor is based on the alligator indicator and bollinger bands indicator. Currency pair: GBPAUD Time frame: 15min
US: This is a very simple code regarding an information panel. It doesn't use external files or anything like that! simply copy and paste it into your code the way the code was written. The dashboard displays; Active asset price Your position(Bought or sold) Maximum and minimum price of the asset Username open profit Balance PT-Br:Esse é um codigo bem simples a respeito de um painel de informações. Não utiliza arquivos externos ou algo do tipo! simplesmente, copie e cole no seu codigo da forma que o codigo foi escrito. O painel exibe; Ativo Preço do ativos Sua posição(Comprada ou vendida) Preço max e minimo do ativo Nome do usuario Lucro em aberto Saldo
The DD_Relative function calculates the drawdown (relative loss) of the current trading account in percentage. To do this, it uses the Current_LossOrProfit() function to get the current profit or loss for all open positions and divides it by the current account balance. The result is rounded to two decimal places and displayed in the chart comment. The Current_LossOrProfit() function loops through all open positions in the account and adds the commission, swap, and current profit or loss for each position. The result is rounded to two decimal places and returned as the current profit or loss of all open positions.
The function takes two arrays of integers as parameters: "allowedPeriods" and "periodsToCheck". "allowedPeriods" is an array containing all the time periods allowed by the system, while "periodsToCheck" is an array containing the time periods used by the user in the indicator. The function iterates through the elements of the "periodsToCheck" array and checks if each of them is present in the "allowedPeriods" array. If it finds any time period that is not allowed, the function returns "false". If all time periods are allowed, the function returns "true". In short, this function is used to make sure that the time periods used in an indicator are valid and allowed by the system.
Strategy that uses the CCI indicator 0-line cross to spot trades and the MACD indicator to confirm them.
Forex Trade Manager Grid MT5 helps you to managing orders and achieve the goal.
Parmis les 5% des traders les plus performant du desk ''Options Dérivées'' de la Société Générale. PnL 22MEUR entre 01/01/2022 au 27/12/2022
- This Bot use stratery Breakout of Daily Bar, I tested for 3 Pair currency : GBPUSD, EURUSD, XAUUSD - Default setting is not sure the best, you can test for your parameter. - This is version for MT5 that convert from MT4 - this EA is best for broker low spread
A simple and easy to understand function that calculates todays profit, written to the Expert Journal.