당사 팬 페이지에 가입하십시오
다음은 EA에서 작업을 수행하는 데 유용한 몇 가지 #define 문입니다. 파일 시작 부분에 변수 이름만 지정한 다음 다른 #define 문이 작업을 수행하도록 하면 됩니다. 이 파일을 사용하려면 EA 파일의 첫 줄에 #include <DEFINE_statements.mqh> 를 추가하세요.
This is a Script and Class for creating, evaluating and adding accounts to an encrypted license file for licensing an MQL EA or Indicator.
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.
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.
Script for checking the LeadLagRelationship indicator (https://www.mql5.com/en/market/product/26229)
Trade Transmitter will Transmit Trades from MT5 Demo or Real accounts using CSV Files. Each trade request created manually or by other EAs on MT5 terminal will be automatically transmitted. Positions and orders summaries are also transmitted, so the receiver on the other platform can catch up, in case it misses any of the trade request transmissions. This Code will save your time if you are working on a bridge to copy trades between MT5 and any other platform.
This is an informative script displaying data on the current trading account in the chart window.
A script for automatically drawing the levels of the intraday High/Low on the FORTS trading session. There is also an option to draw the levels of the night High/Low prices (if the latter ones are beyond the intraday ones)
Placing pending orders with no need to calculate lot size. Script calculates the proper lot size and opens the pending order(s) for you.
이 스크립트는 현재 가격에서 고정된 값의 트리거 레벨, 손절매 레벨, 이익실현 레벨을 핍 단위로 설정하여 BuyStop 주문을 설정하도록 설계되었습니다.
These scripts are designed to buy with fixed values of Stop Loss and Take Profit in points from the current price
Convert MqlTick-s into minified structures to free RAM or store tick arrays in a compact files.
An example of counting the number of objects in the chart window.
This script downloads bars and ticks from EURUSD as required for the correct execution of Kiss on Billions on EURUSD from Saeid Irani.
You learn how to subtract time, insert it manually in a string format, tick counter and see output on comment function.
For day traders. 2 highly important indicators to turn strategies into extreme winning ones. The Win/Loss ratio and the Reward/Risk ratio will allow us to identify the best times and days our strategy works the best
The breakout strength meter is a trading tool that is used to identify which currencies are the strongest to breakout, and which currencies are the weakest to breakout
한 달에는 30 일, 1 년에는 365 일이 있다는 점을 고려합니다. 스크립트는 새해가 시작될 때까지의 시간 카운터를 보여줍니다.
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.