Have you ever wondered how to safely return automatic objects with functions without memory leaks?
Trade with no need to calculate lot size! This script calculates the proper lot size and opens the position(s) for you.
I find the lot calculation tedious so I just use this script and tell it the dollar amount to use. It then does the rest. This works for any currency.
This unit test frameworks eases the development of unit tests for more complex expert advisor programs. The MQL5 developer can test single components. The test framework starts the strategy tester so that there is test data available if required. I am using the framework to do test driven development (TDD) on my MQL5 programs.
This script draws Fibonacci Expansion OBJ_EXPANSION with options to add your own custom values
The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next.
This is a simple script that Closes all Orders and Positions available
Display the actual stored value of a floating-point number (float or double type), with very high precision up to 55 decimal digits. This helps to debug exact value of floating-point numbers for other MQL5 programs.
The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs.
Building good trading habits by seeing things in terms of percentage not in terms of money.
H1 주기의 스토캐스틱 오실레이터 반전 신호를 기반으로 하는 간단하고 효과적인 전문가용 어드바이저입니다. 매수 신호는 %K가 20 레벨 아래 %D를 초과하면 발동되고, 매도 신호는 %K가 80 레벨 위 %D를 하회하면 발동됩니다. 위험은 계좌 잔고에 따라 계산되며 로트 크기는 0.1로 설정됩니다(필요에 따라 조정 가능). 테이크프로핏(TP)은 모든 포지션에 300포인트로 설정되며 스톱로스(SL)는 반대 크로스 오버 신호에 따라 동적으로 계산합니다. 포지션은 반대 방향의 크로스오버가 발생하거나 TP 또는 SL에 도달하면 청산됩니다.
This script draws Fibonacci Retracement OBJ_FIBO with options to add your own custom values
This script draws Fibonacci Fan OBJ_FIBOFAN with options to add your own custom values
Aquarium Canvas Background for Chart This script adds cool live canvas background on the chart like aquarium
closing partially script and Stop loss to Break Even point
This script opens all market watch symbols with the default template using the selected period. Save prefferred template as default.tpl to have all charts open with same template of your choice. Happy Trading.
Building good trading habits by seeing things in terms of percentage not in terms of money.
This simple quick & dirty script code will output a CSV file of all the Signals' properties as reported by the MQL5 Trade Signals functionality.
SymbolInfo example script lacks margin and leverage data wich are nowhere to be found explicitely in Metatrader, the trader must search thoroughly into the broker site in order to find them. The aim of this script is to provide a remedy to it from a standard tool.
The script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price
Service Script for aggregating Economic Calendar data to a .txt file
Prints a privacy-conscious snapshot of the current MT5 broker, account, symbol and terminal environment to the Experts log for diagnostics and support.
Read-only MT5 script that estimates stop-distance cash loss in account currency, reserves explicit cash costs and floors volume to the broker grid. It never sends or modifies an order.
Measures, hour by hour, how far a symbol travels and how much of that the spread takes away. Built for gold, works on any symbol, compares several side by side.
TimeCurrent() is not a clock. It is the stamp of the LAST TICK. Two consequences break robots in production: 1. It freezes. With no tick it does not move: illiquid instrument, end of session, unstable connection - and any rule based on it stops with it. 2. It steps backwards: on a symbol switch, a reconnection or a tick from another instrument, the value can go back. The case that cost me a whole protection: I compared the date of a daily decision with TimeCurrent() to reject an expired one. The server clock stepped back to the previous day, the comparison matched, and four EAs accepted YESTERDAY's decision as valid. The gate that should have failed closed failed open - without a single error in the log. Rule: TimeLocal() for timestamps, dates, day changes, expiry - all that must always move forward; TimeCurrent() for session hours and market data. The script measures the divergence in your environment and reports both symptoms live. Run it with the market closed.
Exports bars to a CSV file that pandas.read_csv() loads without encoding, separator or date-format arguments: ISO 8601 timestamps, prices at the symbol's own digits, single-byte encoding. Two modes (last N bars or a date range) and a switchable separator for Excel.
한 번의 클릭으로 모든 마켓워치 종목 또는 사용자 지정 종목 목록의 차트를 모든 시간대에서 열 수 있으며, 각 차트에 원하는 템플릿을 적용할 수도 있습니다. 이미 열려 있는 차트는 건너뛰며, 한 번에 열리는 차트의 수를 제한합니다.
이 기능은 M1 거래 내역에서 계산된 포인트 및 금액 단위의 최대 부정적 편차(MAE)와 최대 긍정적 편차(MFE), 그리고 각 거래가 포착한 가용 변동폭의 비율을 포함하여 체결된 거래를 CSV 파일로 내보냅니다.
Script that reports what an EA has to cope with here: hedging or netting, trade permissions, filling modes, stop and freeze levels, volume rules, swaps and the positions already open on the symbol. Saves a report file you can attach to a Freelance order.