This is now resolved. Thanks everyone helping
Latest posts made by kaifsajid
-
RE: Custom Code / Custom Block /HTTPposted in Questions & Answers
-
RE: Custom Code / Custom Block /HTTPposted in Questions & Answers
@fxDreema are you able to help with the above by any chance?
-
RE: Custom Code / Custom Block /HTTPposted in Questions & Answers
@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.
-
Custom Code / Custom Block /HTTPposted in Questions & Answers
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
-
RE: Hedge Mastingale EAposted in Questions & Answers
This has already been made as an example and shown on youtube under channel called boxcode or something. have a look.