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

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/ prostotrader/Answers
Ask prostotrader
  • About
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Followed Questions
  • Favorite Questions
  • Groups
  1. Asked: December 29, 2020In: Forex Expert Advisors

    Input parameters (which are set by the user)

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 29, 2020 at 10:13 am

    Pavel Kolchin: very little information, or very limited functionality?how can I offer the user a set of input parameters more flexibly?for example, I need if the user selects p1 = true, then allow to specify p2 and p3 and p4, if the user selects p1 = false, then prohibit filling in other fieldsWhy iRead more

    Pavel Kolchin:

    very little information, or very limited functionality?

    how can I offer the user a set of input parameters more flexibly?

    for example, I need if the user selects p1 = true, then allow to specify p2 and p3 and p4, if the user selects p1 = false, then prohibit filling in other fields

    Why in input?

    Just set global variables and subtract data from your file.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: December 29, 2020In: Forex Expert Advisors

    Creating an array class based on historical order data, what’s wrong

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 29, 2020 at 9:44 am

    if(HistorySelect(start,end)) { }The first mistake

    if(HistorySelect(start,end))
    {
    }

    The first mistake

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: December 29, 2020In: Forex Expert Advisors

    Not possible to set the expiration of the order.

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 29, 2020 at 9:31 am

    nx0x2: Returns the value 10, in the tablature (flags of allowed modes) I did not find anything on this topicWrite what you want to do (for how long to set the order)?A value of 10 means that this symbol supports 2 types of expirationSYMBOL_EXPIRATION_DAY and SYMBOL_EXPIRATION_SPECIFIED_DAYAddedIe EXRead more

    nx0x2:

    Returns the value 10, in the tablature (flags of allowed modes) I did not find anything on this topic

    Write what you want to do (for how long to set the order)?

    A value of 10 means that this symbol supports 2 types of expiration

    SYMBOL_EXPIRATION_DAY and SYMBOL_EXPIRATION_SPECIFIED_DAY

    Added

    Ie EXPIRATION_SPECIFIED_DAY You can place an order before the first clearing on the day you set,

    and SYMBOL_EXPIRATION_DAY – to the nearest clearing

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: December 27, 2020In: Forex Expert Advisors

    deleting pending orders

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 27, 2020 at 5:43 am

    klok44: Is there anything like this (script / / expert Advisor) when there are many pending orders on different currency pairs, and when two of them are triggered, for example, the rest are closed (preferably MQL5)?What does the site SEARCH say?

    klok44:
    Is there anything like this (script / / expert Advisor) when there are many pending orders on different currency pairs, and when two of them are triggered, for example, the rest are closed (preferably MQL5)?

    What does the site SEARCH say?

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: December 27, 2020In: Forex Expert Advisors

    How to transfer a working expert Advisor from MT5 to QUICK.

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 27, 2020 at 5:13 am

    Alexey Volchanskiy: cool, 15 years Delfu did not feel ))Lesh, what difference does it make on what to write? Just XE4 I have a license and 64-bit. I got it on occasion.

    Alexey Volchanskiy:

    cool, 15 years Delfu did not feel ))

    Lesh, what difference does it make on what to write?

    Just XE4 I have a license and 64-bit.

    I got it on occasion.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: December 27, 2020In: Forex Expert Advisors

    How to transfer a working expert Advisor from MT5 to QUICK.

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 27, 2020 at 5:12 am

    a18psrock: Hello,  I have been developing robots on MQL5 for a long time. I want to move some of my robes to QUICK. I don't like this platform at all and have never written for it. How to start learning? Are there any professionals here who also program for QUICK and were engaged in translating expeRead more

    a18psrock:

    Hello, 

    I have been developing robots on MQL5 for a long time. I want to move some of my robes to QUICK. I don’t like this platform at all and have never written for it. How to start learning? Are there any professionals here who also program for QUICK and were engaged in translating experts from mql to QUICK?

    Give up this idea, because even if you write something on QLUA, you will not be able to test it.

    The only way out is data output via the DDE server and transactions via trans2quik.dll

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: December 27, 2020In: Forex Expert Advisors

    How do I learn mql5 on my own?

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 27, 2020 at 4:59 am

    Fredrixon: Hello, good people. I'm a complete beginner in writing robots, but I'm a bit of a trader and now I want to robotize my strategy. I don't want to hire freelancers, but I need to get into this kitchen of programmers myself. Can you tell me what language I should learn?(mql4 or mql5) In whatRead more

    Fredrixon:
    Hello, good people. I’m a complete beginner in writing robots, but I’m a bit of a trader and now I want to robotize my strategy. I don’t want to hire freelancers, but I need to get into this kitchen of programmers myself. Can you tell me what language I should learn?(mql4 or mql5) In what period of time can it be mastered?(At least to write not very complex expert advisors) And please throw off books or resources that teach the language in simple language, I have already looked at the documentation on this site, but I still do not understand these professional words and it is still difficult for me. Thank you for your answer and understanding))

    It’s very simple.

    Every programming language has procedures and functions.

    Procedures do not return anything, but simply perform a set of any operations,

    and functions return the results of operations. A program (adviser) consists of a set of procedures and functions.

    An example of a function:

    int TestFunction(const int param_1, const int param_2 )
    {
      return(param_1+param_2);
    }

    Sample procedure:

    void TestProcedure()
    {
      c=a+b;
    }

    Both functions and procedures are passed parameters that can be operated on

    procedures and functions. Parameters can be return values.

    They can be returned by both functions and procedures.

    You just need to learn the syntax of the language and the types of variables.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: December 26, 2020In: Forex Expert Advisors

    Number of variables in MQL5

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 26, 2020 at 2:00 pm

    Sergey Savinkin: How do I write an ini file? Where should it be stored and what is its structure?long test_1, test_2, test_3; //+------------------------------------------------------------------+ //| Expert Save settings function                                    | //+-----------------------------Read more

    Sergey Savinkin:

    How do I write an ini file? Where should it be stored and what is its structure?

    long test_1, test_2, test_3;
    //+------------------------------------------------------------------+
    //| Expert Save settings function                                    |
    //+------------------------------------------------------------------+
    void SaveSettings()
    {
      string file_name = Symbol() + ".dat";
      int file_handle;
      file_handle = FileOpen(file_name, FILE_WRITE|FILE_BIN);
      if(file_handle != INVALID_HANDLE)
      {
        if(FileSeek(file_handle, 0, SEEK_CUR) == true)
        {
          FileWriteLong(file_handle, test_1);
          FileWriteLong(file_handle, test_2);
          FileWriteLong(file_handle, test_3);
        }
        FileClose(file_handle);
      }
    }
    //+------------------------------------------------------------------+
    //| Expert Load setings function                                     |
    //+------------------------------------------------------------------+
    void LoadSettings()
    {
      string file_name = Symbol() + ".dat";
      int file_handle;
      if(FileIsExist(file_name, 0))
      {
        file_handle = FileOpen(file_name, FILE_READ|FILE_BIN);
        if(file_handle != INVALID_HANDLE)
        {
          test_1 = FileReadLong(file_handle);
          test_2 = FileReadLong(file_handle);
          test_3 = FileReadLong( file_handle );
          FileClose(file_handle);
        }
      }

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Asked: December 26, 2020In: Forex Expert Advisors

    Pending order on MQL5

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 26, 2020 at 1:49 pm

    Pending order on MQL5Is there an order that will not work immediately, but will be located in the glass?

    Pending order on MQL5

    Is there an order that will not work immediately, but will be located in the glass?

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  10. Asked: December 26, 2020In: Forex Expert Advisors

    Control of the strategy in the expert Advisor.

    prostotrader

    prostotrader

    • 0 Questions
    • 16 Answers
    • 0 Best Answers
    • 60 Points
    View Profile
    prostotrader
    Added an answer on December 26, 2020 at 1:36 pm

    Aliaksandr Hryshyn: I wonder how you control the operation of the strategy in the expert Advisor, I mean program control in the expert Advisor itself.TS is the algorithm that the expert Advisor uses, as "you will harness, so you will go".

    Aliaksandr Hryshyn:
    I wonder how you control the operation of the strategy in the expert Advisor, I mean program control in the expert Advisor itself.

    TS is the algorithm that the expert Advisor uses,

    as “you will harness, so you will go”.

    See less
    • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 2

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

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