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

MQL5 MetaTrader 5의 소스 코드 라이브러리 - 2

icon

이것은 MetaTrader 5 플랫폼 프로그램을 위한 최대 규모의 무료 소스 코드 라이브러리입니다. 여기서는 미리 만들어진 Expert Advisor, 기술 지표, 스크립트 및 라이브러리를 찾을 수 있습니다. MQL5 언어를 배울 때 코드 라이브러리를 사용하고 제공된 코드를 기반으로 자신만의 자동화된 거래 응용 프로그램을 개발하십시오.

게시된 코드를 자유롭게 다운로드 및 테스트할 수 있으며, MetaTrader 5에서 코드를 실행할 수 있습니다. 이 라이브러리는 또한 MetaTrader 5 플랫폼과 MetaEditor 개발 환경에서 직접 사용할 수 있습니다.

코드를 제출하세요

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

Hides Alone Candlesticks

Fair Value gaps are used in ICT's smart money concept where there is an imbalanace of 1 point or more between 1st candle's high and 3rd candle 's low in bullish and 1st candle 's low and 3rd candle's high in bearish

While manually adjusting the stop-loss of a single trade to match its open price is a relatively simple task, managing numerous positions individually can be cumbersome and time-intensive. The Titik Impas Breakeven script for MT4/MT5 streamlines this process, providing efficiency and convenience for traders dealing with multiple positions.

This is an indicator to calculate ATR Weighted moving averages.

Show candle gain and candle loss in percent.

Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms.

This is an indicator to calculate 14 types of moving averages based on close price.

Provides Bollinger Bands with calculating the range bandwidth as the difference in pips between the upper and lower Bands. Bollinger Bands appearance and behavior can be tailored by adjusting period, shift, deviation, and applied price, along with color and line style. The 'range/bandwidth information' label can be placed in the specified Sub-Window, allow to customize label positions. Overall, this indicator aids traders in visualizing market flexibility and volatility based on Bollinger Bands width.

Sec-WebSocket-Key Generator

This function performs the main logic of opening a trade. Calculates the opening price, take profit levels and stop loss based on symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information, such as symbol, volume, order type, deviation, comment, magic number, etc. Call the OrderSend function to send the operation request and get the result. SetTypeFillingBySymbol function: Determines the order fill type (Fill or Kill, Immediate or Cancel, or Return) based on the symbol's filling policy. GetMinTradeLevel function: Calculates the minimum operating level based on the freeze level and the symbol stops level. Adjusts the minimum level to make sure it is within certain limits and returns the result.

This is a script to print all open trades and their PnLs at a specific time in history.

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

The 'wd.Multi_ClockPrice lite!' is the lite version of 'wd.Multi_ClockPrice', providing a visual representation of server time and bid prices on the chart. It synchronizes with PC clock every seconds, allowing seamless updates even when MT5 is offline. Real-time bid prices are displayed, efficiently meeting the need for price information. Place informational labels in the specified sub-window, adjusting positions as needed.

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

This is the exact conversion of pivotshigh and pivotslow functions from pine script v4 as an mql5 indicator.

Calculate the cosine distance and similarity between 2 vectors . The cosine distance is 1-cosine_similarity and the cosine similarity is the dot product of two vectors by their magnitudes multiplied.

This is an indicator for showing volume profile on the chart, using simple calculations and very fast execution.

This Script collects all MQL5 built-in indicators buffers and stores them in a CSV file for analysis purposes

This is the exact conversion of linreg function from pine script v4 as an mql5 indicator.

Candle ZigZag is an indicator which changes its leg if a candlestick color changes

The script is useful for inspecting the structure of ONNX models, providing insights into the input and output, their names, and their properties. It is particularly helpful for debugging and understanding the characteristics of ONNX models used in machine learning applications.

A sophisticated tool that accurately measures market noise

책의 마지막 일곱 번째 부분에서는 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++와 유사하다는 점입니다.

Draw a Rectangle on chart to plot custom grids based on points value on input

A simpler way to display Heikin Ashi

This indicator allows you to define a checklist for you to manually check and confirm your strategy before entering into a trade.

a Simple Visual Strategy Tester / Manual Trade Training using Martingale.

Alerts on engulfing bar below or above rsi levels

The MT5 custom indicator, named "wd.Multi_LineMA.mq5," is designed to offer traders valuable insights into Moving Average values from a higher timeframe (MTF Multi TimeFrame). It encompasses additional visual features for in-depth analysis, such as the ability to view trails for a specified number of bars and a dynamic MA horizontal price line.

Click on candlestick to see its body range, high low range, upper wick range and lower wick range value.

Current Candle To Close in x Time

Envelopes beginner tutorial to learn how to code in MQL5

Horizontal Grid Controller with KeyEvents

123456789...183