스크립트는 MQL5 프로그램을 사용하여 MetaTrader 5에서 일회성 동작을 수행하고 그 직후 차트에서 삭제됩니다. 샘플 기능으로는 거래 내역 업로드, 보고서 생성, 이메일 발송, 파일에서 데이터 다운로드 및 처리 등이 있습니다. 또한 스크립트를 사용하여 그래픽 인터페이스를 만들거나 단일 유형의 거래 작업을 신속하게 실행할 수 있습니다. 예를 들어, 모든 포지션을 즉시 닫을 수 있습니다.
MetaTrader 5에서 제공되는 스크립트를 다운로드하여 시작할 수 있습니다. 스크립트 라이브러리는 MQL5 프로그래밍을 학습할 수 있는 MetaEditor 개발 환경에서 직접 사용할 수도 있습니다.
The script controls the display of time and price scales for all open charts or only for one chart.
This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.
This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.
When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Sell Stop or Sell Limit pending order should be placed.
When you drag this script onto the chart, it will calculate the price where you drop the script and use this price to figure out if a Buy Stop or Buy Limit pending order should be placed.
A simple script that allows you to open a Short position using the current price location with a specified Risk Percentage and Reward Ratio.
A simple script that allows you to open a long position using the current price location with a specified Risk Percentage and Reward Ratio.
Modified scripts to change Charts(next,previous) and Timeframes(higher,lower) of all charts quickly by hotkeys.
A script to place straddle orders around current price level to catch price spikes around announcements.
The script allows to set transparency level of the client terminal window using Windows API.
The script calculates candles statistics (the minimal, maximal and average values of candles body and shadows) of the current chart.
Easier visual analysis of graphical objects created by the strategy tester.
The script for searching the maximum, minimum and average values of candlestick size
The script is a simple example of using the FileFindFirst(), FileFindNext() and FileFindClose() functions
These scripts are designed to sell with fixed values of Stop Loss and Take Profit in points from the current price
These scripts are designed to buy with fixed values of Stop Loss and Take Profit in points from the current price
The OpenSellPosition_X script is created to sell at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.
The OpenBuyPosition_X script is designed to buy at fixed values of Stop Loss and Take Profit in points from the current price. Position volume is determined on the basis of the level of losses.
MPC is a script which measures (searches) the most frequently occurring candlesticks
The script imitates the One Cancel Other function for orders. When one order is triggered, the others are deleted.
The script for manual trade: when achieving the limit price the script sets stop order and logs out
The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.