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

MQL5 MetaTrader 5용 소스 코드 스크립트 - 3

icon

스크립트는 MQL5 프로그램을 사용하여 MetaTrader 5에서 일회성 동작을 수행하고 그 직후 차트에서 삭제됩니다. 샘플 기능으로는 거래 내역 업로드, 보고서 생성, 이메일 발송, 파일에서 데이터 다운로드 및 처리 등이 있습니다. 또한 스크립트를 사용하여 그래픽 인터페이스를 만들거나 단일 유형의 거래 작업을 신속하게 실행할 수 있습니다. 예를 들어, 모든 포지션을 즉시 닫을 수 있습니다.

MetaTrader 5에서 제공되는 스크립트를 다운로드하여 시작할 수 있습니다. 스크립트 라이브러리는 MQL5 프로그래밍을 학습할 수 있는 MetaEditor 개발 환경에서 직접 사용할 수도 있습니다.

코드를 제출하세요
최근 | 최고

스크립트는 현재 캐릭터별로 사용 가능한 기록을 로드합니다.

이 스크립트는 인디케이터의 값을 CSV 파일로 내보냅니다.

새 버전의 sChartsSynchroScroll 스크립트.

자체 소스 텍스트를 생성하는 스크립트입니다. MQL5에서 고전적인 문제를 해결합니다. 응용 가치가 없습니다. 그러나 프로그래밍 및 알고리즘화를 공부하는 사람들에게는 유용할 수 있습니다.

거래 내역을 차트로 전송합니다.

이 스크립트는 메타트레이더 4에서 메타트레이더 5 데이터베이스에 구멍이 없는 전체 이력을 가져오는 데 도움이 됩니다.

차트에 드래그하면 전문가 창에 해당 차트에 있는 막대 수가 마법처럼 인쇄되는 스크립트입니다.

터미널 빌드 344부터 특수 그래픽 객체(OBJ_EVENT)를 사용하여 경제 캘린더 뉴스를 표시하는 기능이 추가되었습니다. 현재 경제 데이터, 마지막 주요(핑크) 이벤트의 날짜가 포함된 경제 캘린더를 데모로 출력하는 스크립트입니다.

데이터를 수집하여 가장 오래된 최신 순서로 CSV로 전송하는 간단한 시작점 스크립트입니다. 이 예에서는 종가 데이터만 수집합니다.

스크립트는 주어진 여유 자금의 비율에 따라 로트 크기를 계산합니다.

위험보상비율에 따른 자동 SL TP 스크립트는 위험 관리 프로세스를 간소화하려는 MetaTrader 5 트레이더를 위해 설계된 간단하면서도 강력한 도구입니다. 이 스크립트는 사용자가 정의한 위험:보상 비율과 손절(핍)을 기준으로 오픈 포지션의 손절(SL) 및 이익실현(TP) 수준을 설정하는 과정을 자동화합니다. 초보자든 숙련된 트레이더든 이 스크립트를 사용하면 시간을 절약하고 일관된 리스크 관리를 할 수 있습니다.

다음은 EA에서 작업을 수행하는 데 유용한 몇 가지 #define 문입니다. 파일 시작 부분에 변수 이름만 지정한 다음 다른 #define 문이 작업을 수행하도록 하면 됩니다. 이 파일을 사용하려면 EA 파일의 첫 줄에 #include <DEFINE_statements.mqh> 를 추가하세요.

TradeReportExporter 스크립트는 거래(거래) 내역을 편리한 CSV 파일로 내보내도록 설계되었습니다. 스크립트가 설치된 상품의 지난 1년간 모든 거래에 대한 데이터를 자동으로 수집합니다. 파일에는 날짜 및 시간, 거래 유형(매수/매도), 가격, 거래량, 수수료, 수익/손실 등의 데이터가 포함됩니다. 결과는 Excel 또는 다른 스프레드시트 편집기에서 열 수 있는 파일로 저장됩니다.

XAUUSD (금) 거래는 종종 USD, GBP 또는 EUR 발표와 같은 주요 경제 뉴스 이벤트의 영향을 받습니다. 이러한 변동성이 큰 기간 동안 위험을 줄이려면 EA(Expert Advisor)에서 뉴스 필터를 사용하는 것이 필수적입니다. 이 글에서는 MT5에서 간단한 뉴스 필터를 만들어 XAUUSD 거래에 적용하는 방법을 알려드리겠습니다.

이 스크립트의 목적은 전문 기술 분석 프로그램에서 분석하기 편리한 형식으로 시세 내역을 내보내는 것입니다.

H1 주기의 스토캐스틱 오실레이터 반전 신호를 기반으로 하는 간단하고 효과적인 전문가용 어드바이저입니다. 매수 신호는 %K가 20 레벨 아래 %D를 초과하면 발동되고, 매도 신호는 %K가 80 레벨 위 %D를 하회하면 발동됩니다. 위험은 계좌 잔고에 따라 계산되며 로트 크기는 0.1로 설정됩니다(필요에 따라 조정 가능). 테이크프로핏(TP)은 모든 포지션에 300포인트로 설정되며 스톱로스(SL)는 반대 크로스 오버 신호에 따라 동적으로 계산합니다. 포지션은 반대 방향의 크로스오버가 발생하거나 TP 또는 SL에 도달하면 청산됩니다.

클립보드 콘텐츠 검색(클립보드)

인구 기반 최적화 알고리즘이 여기에 수집되어 있습니다. 이 아카이브에는 테스트 함수에서 알고리즘을 실행하는 데 필요한 모든 파일이 포함되어 있습니다.

이 스크립트는 터미널에서 열려 있는 모든 차트의 동기 스크롤을 제공합니다.

이 기능은 거래가 마감된 시간에 거래 요청으로 서버에 과부하가 걸리지 않도록 하는 데 유용합니다.

스크립트는 루돌프 악셀 레벨을 그립니다.

캔들 서명 예시 | 연구 및 개발용

한 달에는 30 일, 1 년에는 365 일이 있다는 점을 고려합니다. 스크립트는 새해가 시작될 때까지의 시간 카운터를 보여줍니다.

이 CalculateHistoryProfit 스크립트 버전 1.0은 차트 패널을 사용하여 지정된 기간 동안의 수익을 계산하도록 설계되었습니다.

Multi_BreakEven is a script file that enables setting multiple entry positions to breakeven, either through pips or a target price, once the trade becomes favorable.

Provide simplest class to read and parse CSV file

Set TakeProfit by just dragging and dropping script on the desired price level.

Set StopLoss by just dragging and dropping script on the desired price level.

Calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods.

Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading

To assist traders who wish to open multiple buy orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Buy is the number trades the trader wish to open instantly. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

Learn how to split the volume data into different groups so that you can compare them and create a strategy based on volume average.

This example was created to see how long it takes to reach 100 ticks. So this indicator is a seconds / "centick" (centick = 100 ticks). It helps you trade orders flow.

You learn how to subtract time, insert it manually in a string format, tick counter and see output on comment function.

Generates, creates and stores passwords for your account.

This script counts the number of pending buy stop orders for each symbol and returns the value.

hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel.

123456789