This GitHub Action runs MQL programs (such as Expert Advisors, indicators or scripts).
For full documentation, please read: GitHub Actions Documentation.
uses: fx31337/mql-tester-action@v2
uses: fx31337/mql-tester-action@v2.0.0
Note: Check Releases for more details.
uses: fx31337/mql-tester-action@master
uses: fx31337/mql-tester-action@master
with:
Login: ${{ secrets.MT5_LOGIN }}
Password: ${{ secrets.MT5_PASSWORD }}
Server: MetaQuotes-Demo
TestExpert: EA31337-Libre-v1.013.ex5
TestFromDate: 2024.01.01
TestPeriod: M15
TestSymbol: EURUSD
TestToDate: 2024.01.12
UrlExpert: >-
https://github.com/EA31337/EA31337-Libre/releases/download/v1.013/EA31337-Libre-v1.013.ex5
Version: 5
Account number.
Password to the account.
Trade server.
Time to wait for platform to finish the test (in seconds). Default: 600.
The name of the EA file to run.
The default timeframe of the chart.
The name of the script file to run.
Initial deposit to use for testing. MT5 only.
The name of the Expert Advisor file to test.
The date to start testing (yyyy.mm.dd).
Trading execution mode. Default 0 (normal).
The name of the SET file with EA parameters.
Leverage to use for testing/optimization.
Specifies type of modelling to use. Default 1 (1 minute OHLC).
Values:
- 0 (default) - Every tick
- 1 - Control points
- 2 - Open prices only
Specifies testing mode. Default: 0 (backtest).
Specifies optimization criterion. MT5 only.
Timeframe to use for the test.
Specifies the name of the test report file.
Specifies whether to enable overwriting of the report file.
The name of the SET file with script parameters.
Specifies spread to use in points (e.g. 10). MT4 only.
Symbol pair for the test to use. Default: EURUSD.
The date to finish testing (yyyy.mm.dd).
URL of Expert Advisor to download.
URL of the platform to install.
Version of platform to use. Default: 5.
Platform fact output.
- For bugs/features, raise a new issue at GitHub.