당사 팬 페이지에 가입하십시오
이 스크립트는 메타트레이더 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 일이 있다는 점을 고려합니다. 스크립트는 새해가 시작될 때까지의 시간 카운터를 보여줍니다.
Unfortunately, I discovered that some brokers are a bit sloppy with the server time change due to the daylight saving time (DST), which I did not expect and which surprised me a lot. Here is a script with which anyone can check their broker.
This script was developed for displaying saved Strategy report from the Strategy Tester into a chart.
This script is a reference solution for mapping symbol names configured by users in MetaTrader 5 EAs or scripts to the actual names provided by the broker. It uses the Levenshtein distance algorithm to automatically identify the most similar symbol in Market Watch. It is ideal for developers facing compatibility issues with prefixes or suffixes in symbol names. This is a customizable starting point to adapt to any specific needs.
The script MinMargins.mq5 is designed to help traders quickly calculate and document the minimum amount of money required to open a position with the smallest lot size for all symbols available in the Market Watch. This data is saved to a CSV file for easy review and analysis.
This service periodically checks swaps for predefined symbols and saves detected changes into CSV-files for further analysis and potential replay (not implemented here). Also it monitors and alerts swap changes of existing positions.
This script saves a predefined set of economic events from the MetaTrader's built-in economic calendar into CSV file.
This MQL5 script exports candlestick data for various timeframes into a CSV file, capturing essential market information like open, high, low, and close prices. It analyzes each candlestick's characteristics, including body and wick sizes, while calculating additional metrics such as candle gaps. After processing the latest 21 bars, it notifies the user upon successful data export.
Time-related functions for empirical detection of server time zone and daylight savings mode (DST) from history of quotes
- The script scans through the current chart for any available chart objects, - Counts and delete them accordingly - And log the the names of the objects on the chart respectively.
Translate risk percentages to the monetary figure based on the account balance
A script which when run displays the maximum lot size permitted on the asset.
script to open a buy position at the current price in the MT5 window with a specified stop loss (in pips) and take profit (in pips)
This script saves all the OHLCV data available on the chart to a CSV file.
It will delete all objects on the chart when the compiled executable is dragged onto the chart
Sample code to count consecutive no. of bull or bear bars.
This script helps traders understand the distribution and range of candles in a specific period, which can be useful for making trading decisions such as determining which historical values to use for Take Profit or Stop Loss.
Script to determine whether your Broker follows the US, UK or AU daylight (DST) schedule.
This is a script to export rates and ticks of current chart's symbol into CSV-files compatible with MT5's export/import format.