거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
귀하의 MetaTrader 5 터미널에서 CodeBase에 액세스 해보세요
올바른 코드를 찾을 수 없습니까? 프리랜싱 섹션에서 주문하십시오
Expert Advisor 또는 지표 작성 방법

MQL5 MetaTrader용 Expert Advisor의 소스 코드 5

icon

Expert Advisor는 가격 차트를 분석하고 기본 규칙에 따라 자동으로 거래합니다. 여기서 다양한 문제를 해결하는 MQL5 소스 코드를 찾을 수 있습니다. 이동 평균 교차점과 복잡한 시그널 생성 알고리즘 및 거래 오류에 대한 보호와 관련된 복잡한 교차점을 기준으로 간단한 Expert Advisor 모두를 선택할 수 있습니다.

MetaTrader 5에서 제공되는 Expert Advisor를 다운로드하여 시작할 수 있습니다. 거래용 로봇을 사용하기 전에 Strategy Tester에서 테스트하고 최적화하는 것이 좋습니다. 또한 Expert Advisors 라이브러리는 MetaTrader 5 플랫폼과 MetaEditor 개발 환경에서 직접 사용할 수 있습니다.

코드를 제출하세요

This EA will scan all the closed trades and then print the nth trade from the end

This EA will scan all the open trades and then print the nth trade from the end

Select the last closed deal (trade) to further work.

This EA help you for Auto set the TP & SL by default parameter, Auto trailing stop & step for any order that you place from any device, Easy way to close all orders with 3 Button "Close All" "Close Profit" "Close Lose", Auto close all orders by profit or lose treshold value

QuickTradeKeys 123 is a user-friendly Expert Advisor (EA) for MetaTrader 5, enabling traders to execute buy and sell operations quickly by simply pressing the numbers '1' and '2' on their keyboard. Pressing '3' closes all open positions. This EA is ideal for swift trading and testing purposes where manual intervention is required without using the mouse.

A simple yet effective donchian channel breakout strategy. This strategy is timeless!

Here are some examples of codes for set counters based on "Count"

If you only want to execute your code blocks "only once per bar" it's important to check if there is new bar arrived or not.

This code block loops through all opened position and do trailing based on Ask and Bid prices.

This code block detects a New Bar or a New Candle when it has received.

"MQL5를 이용한 알고리즘 트레이딩을 위한 신경망"은 인공지능과 신경망의 이론적 기초와 이를 MQL5 프로그래밍 언어를 사용한 금융 트레이딩에 적용하는 실용적인 측면을 모두 다루는 종합 가이드입니다.

Now we will get the code with function and purpose as below: 1. How to call and using the bollinger band 2. How to call and using the volume tick 3. How to call and using the Moving average volume. 4. How to code using the Trailling & Check volume lot size

Short description.

KA-Gold Bot is an advanced trading advisor specifically designed for gold, utilizing the powerful combination of the Keltner channel strategy and two exponential moving averages (EMAs) - the 10-period EMA and the 200-period EMA. Principle of Operation: The 10-period EMA represents the average price cutting above/below the Keltner band, confirming an uptrend/downtrend. The price being above the 200-period EMA supports the uptrend/downtrend. This indicates that the uptrend/downtrend has been stronger than the previous 10 periods, considering the volatility over the last 50 periods. - Time frame: M15

The EA only trades buy positions and does not use SL and TP.

Syncs all chart symbols to symbol of the chart the EA is attached to

This utility is simple example to add sound alert on connect / disconnect

책의 마지막 일곱 번째 부분에서는 MetaTrader 5용 프로그램을 개발할 때 유용한 MQL5 API의 고급 기능에 대해 설명합니다. 여기에는 맞춤형 종목 심볼, 내장된 경제 달력 이벤트에 대해서는 물론 네트워킹, 데이터베이스, 암호화와 같은 범용적인 기술이 포함됩니다.

"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."

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

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.

Close trades when the percentage profit or risk of the account is reached

to display trade history files(.csv) on charts.

123456789101112131415161718192021222324252627282930313233343536