Send HTTP Request
-
I'm trying to use the "Send HTTP Request" I have a server that runs its own code and it sets a ping value to 1 as a go sign for my EA to run some other blocks I'm using a conditional if value 1 == 1 then pass for this. Anyway how do i get my ping value 0/1 into a variable. I pass the send http request block every 30 sec and it should get the ping either off(0) or on(1). The end of the http is called ping_var (same as my variable) (http://"---IP---PORT" /ping_var) which is the same name as my variable thinking it will update the variable but this isn't working and i don't know where to go about fixing this
-
turns out you need to give mt5 permission to request http, which i did and now it woks, just gonna leave this here incase anybody else has a similar issue and didn't realize you had to go into mt5 terminal - tools - options - Expert Advisors - allow web requests - then add the address....
-
Thank you very much for sharing tha info.