fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. XDV
    3. Posts
    X
    • Profile
    • Following 0
    • Followers 2
    • Topics 8
    • Posts 35
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by XDV

    • RE: How to solving this enum error ?

      @Hiten7405 Thank you so much 🙏

      posted in Questions & Answers
      X
      XDV
    • How to solving this enum error ?

      I do this with enum but cannot compile. I need to do enum with timeframe. and I have read another forum about enum but cannot solve this error.
      Thank you for helping me solve this problem.

      1.jpg 2.jpg 3.jpg

      posted in Questions & Answers
      X
      XDV
    • RE: Close All MT5 trades quickly

      @jstap Thank you very very much 😊

      posted in Tutorials by Users
      X
      XDV
    • RE: Close All MT5 trades quickly

      @jstap Do you have any way to turn ON/OFF Algo Trading in MT5 ?

      123.jpg

      posted in Tutorials by Users
      X
      XDV
    • RE: MQ5 & WinAPI

      Thank you again @jstap

      posted in Bug Reports
      X
      XDV
    • RE: MQ5 & WinAPI

      And This script MQL5 can run direct on MT5 >>>

      #define MT_WMCMD_EXPERTS 32851
      #define WM_COMMAND 0x0111
      #define GA_ROOT 2
      #include <WinAPI\winapi.mqh>

      void AlgoTradingStatus(bool Enable)
      {
      bool Status = (bool) TerminalInfoInteger(TERMINAL_TRADE_ALLOWED);
      if(Enable != Status)
      {
      HANDLE hChart = (HANDLE) ChartGetInteger(ChartID(), CHART_WINDOW_HANDLE);
      PostMessageW(GetAncestor(hChart, GA_ROOT), WM_COMMAND, MT_WMCMD_EXPERTS, 0);
      }
      }

      void OnStart()
      {
      AlgoTradingStatus(false);
      }

      posted in Bug Reports
      X
      XDV
    • RE: MQ5 & WinAPI

      But script for MT4 can run no problem.

      posted in Bug Reports
      X
      XDV
    • MQ5 & WinAPI

      I have run the MQL5 script in fxDreema, tested it in both "Custom block" and in the "Custom MQL code" block, the result appears to be the same error:
      can't open "S:\www-node\Server.....\WinAPI\winapi.mqh

      This is likely caused by preventing WinApi in the server. Therefore, I would like to ask the system administrator to help check this matter. Thank you in advance.

      1.jpg 2.jpg 3.jpg

      posted in Bug Reports
      X
      XDV
    • RE: Error after run Custom Block

      OK Thank you so much @jstap 👍

      posted in Questions & Answers
      X
      XDV
    • RE: Error after run Custom Block

      For your link I make it on MT4 and Complete run and working perfectly.
      But MT5 with MT5 code is not work with error >> can't open "S:\www-node\Server .... winapi.mqh

      posted in Questions & Answers
      X
      XDV
    • RE: Error after run Custom Block

      Thank you so much @jstap I have read your link and many other related links. Including checking the code. But the result is the same error. Is it possible that the error occurred not from the code, but from some settings? And how can I fix it?
      So it says

      can't open "S:\www-node\Server\apps\fxdreema\components\builder\templates\export\MQL5\compiler\MQL5\Include\WinAPI\winapi.mqh" include file
      'AlgoTradingStatus' - undeclared identifier

      posted in Questions & Answers
      X
      XDV
    • Error after run Custom Block

      Please ask someone who knows. This code from genius guy that create a custom block to control Algo-Trading Button in MT5 but after run have error ... please Help find this solution. Thank you in advance.

      002.png
      001.png
      ----- Upper Block ------
      bool Status = (bool) TerminalInfoInteger(TERMINAL_TRADE_ALLOWED);

      if(Status != false)
      {
      HANDLE hChart = (HANDLE) ChartGetInteger(ChartID(), CHART_WINDOW_HANDLE);
      PostMessageW(GetAncestor(hChart, GA_ROOT), WM_COMMAND, MT_WMCMD_EXPERTS, 0);
      }
      ~next~

      ----- Lower Block ------
      #ifdef MQL5
      #include <WinAPI\winapi.mqh>
      #define MT_WMCMD_EXPERTS 32851
      #else
      #define HANDLE int
      #define PVOID int
      #import "user32.dll"
      HANDLE GetAncestor( HANDLE hwnd, uint flags);
      int PostMessageW( HANDLE hwnd, uint Msg, PVOID param, PVOID param );
      #import
      #define MT_WMCMD_EXPERTS 33020
      #endif

      #define WM_COMMAND 0x0111
      #define GA_ROOT 2

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      Thank you @jstap i will try that.

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @reyxv16 @jstap Apologise to disturb again. Because still can't fix it. How to fix it?

      Screenshot 2024-06-14 182434.png

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @reyxv16 Thank you so much 🙏

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      How i get winapi.mqh ?

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @reyxv16 @jstap Thank you very very very much.
      But now I already correct this But not pass.

      Screenshot 2024-06-14 144109.png

      Screenshot 2024-06-14 144152.png

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @reyxv16 Thank you again for ur help. Now I do this but error how to resolve this ?

      Screenshot 2024-06-14 135305.png

      Screenshot 2024-06-14 135340.png

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @reyxv16 Thank you very very much
      But I don't know if this is the right way to do it.
      Please help explain further.

      https://fxdreema.com/shared/k4w7gSHB

      Screenshot 2024-06-14 121324.png

      posted in Questions & Answers
      X
      XDV
    • RE: How I disable Algo-Trading Button or send CTRL-E by FxDreema

      @jstap That you mean answer for disable Algor trade button in the Amazon web right ?

      posted in Questions & Answers
      X
      XDV
    • 1
    • 2
    • 1 / 2