Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us

Share your knowledge in the forex community!

Our community is a completely independent place for communication between forex traders and software developers for trading platforms Metatrader 4 and Metatrader 5

Create A New Account
Home/ Questions/Q 6890
Next
In Process
vponed0
vponed0

vponed0

  • 3 Questions
  • 4 Answers
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
vponed0
Asked: April 8, 20212021-04-08T06:50:29+00:00 2021-04-08T06:50:29+00:00In: Forex Expert Advisors

Automation of the tester

  • 0

Please tell me, is it possible to somehow run the strategy tester from the script code, or the command line with predefined parameters?

  • 7 7 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    7 Answers

    • Voted
    • Oldest
    • Recent
    1. vponed0

      vponed0

      • 3 Questions
      • 4 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      vponed0
      2021-04-08T06:51:17+00:00Added an answer on April 8, 2021 at 6:51 am

      SanAlex:

      here is an example of how to combine keys in a script-opens the calculator and pressing the keys 

      The script can be done, but this is what a hassle. Moreover, you still need to select the right one from the list of Expert Advisors, right – click on it, then run testing, and then set the settings…the script will be problematic..
      and if so: make a virtual machine, put mt5 on it, run testing of the Expert Advisor. take a snapshot of the machine, select the results folder as a shared folder. and the script will already run snapshots of the virtual machine, wait until the result appears in the folder, cover the snapshot, run a new one.  integrate the testing procedure into the code of the Expert Advisor under test.
      This is if saving the state will not cut off testing…
      also dancing with a tambourine

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. sanalex

      sanalex

      • 0 Questions
      • 4 Answers
      • 0 Best Answers
      • 28 Points
      View Profile
      sanalex
      2021-04-08T06:51:10+00:00Added an answer on April 8, 2021 at 6:51 am

      Viktor Astakhov:

      Yes, it’s not a problem to run it. But run the necessary Expert Advisor, but with the settings…
      At least an adviser, I’ll give him the settings.

      here is an example of how to combine keys in a script-opens the calculator and pressing the keys 

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. igann

      igann

      • 0 Questions
      • 11 Answers
      • 0 Best Answers
      • 42 Points
      View Profile
      igann
      2021-04-08T06:51:04+00:00Added an answer on April 8, 2021 at 6:51 am

      Viktor Astakhov:

      Yes, it’s not a problem to run it. But run the necessary Expert Advisor, but with the settings…
      At least an adviser, I’ll give him the settings.

      there is such a possibility, I did not delve into it myself, but it was discussed on the forum running through the command line with preloads of presets

      the help has the following commands

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. sanalex

      sanalex

      • 0 Questions
      • 4 Answers
      • 0 Best Answers
      • 28 Points
      View Profile
      sanalex
      2021-04-08T06:50:53+00:00Added an answer on April 8, 2021 at 6:50 am

      Viktor Astakhov:

      I’m sorry, I searched around, but I didn’t find it. I want to create tasks for the tester, save and process the results. A batnik would be a great option.
      can you tell me where it is, or how to search correctly?

      how to do this with a batnik I can not imagine 

      – just run the program with a batnik, then you can do it like this

      echo off
      cd %ProgramFiles%MetaTrader 5
      "metaeditor64.exe" /start
      pause

       

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    5. vponed0

      vponed0

      • 3 Questions
      • 4 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      vponed0
      2021-04-08T06:50:45+00:00Added an answer on April 8, 2021 at 6:50 am

      Aliaksandr Hryshyn:

      You can take a look here, although I have my own solution:

      thank you very much, this is exactly what you need

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    6. askr

      askr

      • 1 Question
      • 3 Answers
      • 0 Best Answers
      • 22 Points
      View Profile
      askr
      2021-04-08T06:50:39+00:00Added an answer on April 8, 2021 at 6:50 am

      Viktor Astakhov:
      Please tell me, is it possible to somehow run the strategy tester from the script code, or the command line with predefined parameters?

      You can also run a batnik strategy tester with certain parameters this is indicated in the mql5 documentation ? you can search in Google immediately in which section it is.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    7. greshnik1

      greshnik1

      • 1 Question
      • 9 Answers
      • 0 Best Answers
      • 38 Points
      View Profile
      greshnik1
      2021-04-08T06:50:33+00:00Added an answer on April 8, 2021 at 6:50 am

      Viktor Astakhov:
      Please tell me, is it possible to somehow run the strategy tester from the script code, or the command line with predefined parameters?

      You can take a look here, although I have my own solution:

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 514
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 921
    • Popular
    • Answers
    • Tags
      • On: December 18, 2020
      • Answers: 16

      How to allow trading at certain times

      • On: December 29, 2020
      • Answers: 16

      Example of implementing the OOP pattern Abstract Factory using MQL5 ...

      • On: December 18, 2020
      • Answers: 15

      EMA with a different formula

      • On: December 29, 2020
      • Answers: 15

      Invitation for algo traders.

      • On: December 29, 2020
      • Answers: 14

      Dear Programmers, do not pass by, help fix the error!

    • atma1
      atma1 added an answer Added activation. Thanks. April 8, 2021 at 6:54 am
    • iks_
      iks_ added an answer Atma1: Good day, dear colleagues. Yesterday I updated VMware to… April 8, 2021 at 6:54 am
    • renat
      renat added an answer Atma1: Good day, dear colleagues. Yesterday I updated VMware to… April 8, 2021 at 6:54 am
    • mvs
      mvs added an answer Renat Fatkhullin: You can not immediately send the received data,… April 8, 2021 at 6:53 am
    • anton_m
      anton_m added an answer Renat Fatkhullin: How much data do you read? You can… April 8, 2021 at 6:53 am
    analytics british company computer developers django employee employer english facebook french google interview javascript language life php proforexea programmer programs pro vsa salary university

    Related Questions

    • atma1

      Yesterday I updated VMware to version 16.1.0 and the product ...

      • 3 Answers
    • anton_m

      It is not possible to read data from the server ...

      • 6 Answers
    • s22aa

      Tell me what the difference is.

      • 2 Answers
    • areedbreen

      on the chart in the tester one yield and in ...

      • 2 Answers
    • 1006293

      A question about the intersection of moving averages in MQL5

      • 3 Answers

    Users

    atma1

    atma1

    • 1 Question
    • 1 Answer
    s22aa

    s22aa

    • 1 Question
    • 1 Answer
    areedbreen

    areedbreen

    • 1 Question
    • 1 Answer

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved