fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Nantolin
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Nantolin

    @Nantolin

    0
    Reputation
    76
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Nantolin Unfollow Follow

    Latest posts made by Nantolin

    • RE: Help - Custom MQL Code

      To round off just in case the good work of the previous ones, if we want to activate it it's the same but adding the '!' to the conditional:

      <<Global variables>>
      #include <WinAPI/winapi.mqh>
      #include <WinAPI/winuser.mqh>
      #define MT_WMCMD_EXPERTS 32851
      #define WM_COMMAND 0x0111
      #define GA_ROOT 2

      <<Settings>>
      if (!TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)){

        HANDLE hchart = ChartGetInteger(ChartID(), CHART_WINDOW_HANDLE);
        HANDLE hmt = GetAncestor(hchart, GA_ROOT);
        
        PostMessageW(hmt, WM_COMMAND, MT_WMCMD_EXPERTS, 0);
      

      }

      posted in Questions & Answers
      N
      Nantolin
    • RE: Help - Custom MQL Code

      I have tried it and it works perfectly. Thank you very much!!

      posted in Questions & Answers
      N
      Nantolin
    • On timer (MT4) it does not work

      I am trying to time some blocks and I am using the On Timer tab, I have set the seconds I want for timing in the global properties of the project, but the program never enters this functionality. I think it is not operational. Is that so?

      posted in Questions & Answers
      N
      Nantolin
    • Read file data .txt

      Hello, I would like to get 10 text values ​​found in a file (txt) in a certain location (eg desktop). The values ​​will be stored in 10 variables that must be accessible from FxDreema. I imagine that it would be necessary to use a "Custom Code", someone could tell me their code. Thank you
      FILE (eg)
      00:00
      00:01
      05:00
      06:00
      02:00
      03:30
      00:00
      00:01
      08:15
      09:45

      posted in Questions & Answers
      N
      Nantolin
    • Orden a mercado y pendiente emparejadas.

      good morning, first of all congratulate on the application. I find it fantastic.
      I would like to match a market order with a pending counter order displaced by an amount. So that when the market is closed, the pending order is deleted if it has not yet been activated or closed, if it is activated.
      This strategy has to coexist with more open orders then you must know which of the market and pending are matched.
      Is there any block that can help me?
      thanks!!

      posted in Questions & Answers
      N
      Nantolin