fxDreema

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

    kaifsajid

    @kaifsajid

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

    kaifsajid Unfollow Follow

    Latest posts made by kaifsajid

    • RE: Custom Code / Custom Block /HTTP

      This is now resolved. Thanks everyone helping

      posted in Questions & Answers
      K
      kaifsajid
    • RE: Custom Code / Custom Block /HTTP

      @fxDreema are you able to help with the above by any chance?

      posted in Questions & Answers
      K
      kaifsajid
    • RE: Custom Code / Custom Block /HTTP

      @jstap thanks for your reply.

      i just dont understand how i would execute this part

      int res = WebRequest("POST",BASE_URL,headers,5000,post,result,headers); THIS WOULD NEED TO BE DELETED AND RECREATED AS A SEPARATE ARRAY

      any help on how to do this would be great.

      posted in Questions & Answers
      K
      kaifsajid
    • Custom Code / Custom Block /HTTP

      Hi All,

      I checked through the fxdreema forum and couldn't find anwer's to this.

      Basically i want to send web request in plain text format. So i didnt know how to do this within fxdreema as each request i sent was always incorrect format. I watched few youtube videos online managed to create below mql5 syntax which works on its own in MT5.

      However ideally i want to know how i can send below using web request block or if someone can help me convert the below to custom mql5 code or explain how i can create a custom block and use it that way.

      Any help or guide to even convert the below to custom mql5 or custom block will be appreciated. Ideally would be great if i can use the existing send http block

      input string BASE_URL = "https://";
      input string Syntax_Info = "ENTER Syntax";
      
      
      int OnInit(){
         execute();
         return(INIT_SUCCEEDED);
      }
      
      int execute(){
         char post[], result[];
         string headers = "Content-Type: text/plain\r\n";
         StringToCharArray(Syntax_Info,post,0,StringLen(Syntax_Info));
         int res = WebRequest("POST",BASE_URL,headers,5000,post,result,headers);
        
         return res;
      }
      

      Thanks in advance

      posted in Questions & Answers
      K
      kaifsajid
    • RE: Hedge Mastingale EA

      This has already been made as an example and shown on youtube under channel called boxcode or something. have a look.

      posted in Questions & Answers
      K
      kaifsajid