You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I run this test code again today out of curiosity
It works on mt4 (with reasonable gaps in between requests)
It returns error 1001 on mt5 (the mt5 error is 5203 but the address is there , i'll check again with my glasses)
(webreqeusts is mt4 mqh)
Hello Sergey, it seems like with mt4 mq4 it cant bypass the cloudflare, please enlighten me
I downloaded this old NewsTrader EA (for MT4) from this post #42 and placed it in experts folder and compile with MetaEditor.
After that - I attached it to the chart - and it works for me (the news are coming from investing . com calendar):
------------------------
So, you can take some ideas about something (in case you are coding newsfilter oe similar) from this EA (in case of MT4 for example).
Hello Sergey, it seems like with mt4 mq4 it cant bypass the cloudflare, please enlighten me
Use Sergey's code if it works .
Guys you must respect the server you are stealing data from . That is scraping rule #1
Ideally switch to mt5 or forex factory .
I downloaded this old NewsTrader EA (for MT4) from this post #42 and placed it in experts folder and compile with MetaEditor.
After that - I attached it to the chart - and it works for me (the news are coming from investing . com calendar):
------------------------
So, you can take some ideas about something (in case you are coding newsfilter oe similar) from this EA (in case of MT4 for example).
Hi Sergey,
I myself is not a coder, not even close to an amateur c coder, but i studied your idea from #44 about the bypassing the cflare using the header and i GPT my way implemented the idea into my mqh and it works!
The not working one:
The working one:
I just have to know, is it really the referrer and the header is making this work?
Use Sergey's code if it works .
Guys you must respect the server you are stealing data from . That is scraping rule #1
Ideally switch to mt5 or forex factory .
Yes I've seen fx factory has no problem providing that, im just so scared that i messed up the whole thing. but ive learnt a lot here
and i GPT my way implemented the idea into my mqh and it works!
The not working one:
This NewsTrader Ea is not my EA. This EA was publicly coded for the forum and published by source codes with many versions (it was long time ago),
and I used this EA for real account to trade high impacted news events (and my trading results may be found some some threads as well).
So, if you want to improve or fix something - ask any code who will agree to do it, or use Freelance for example.
Because I do not trade the news for now (and I do not code or now).
Hi Sergey,
I just have to know, is it really the referrer and the header is making this work?
Yes , the trick Sergey used is exactly that , he is the best coder after all , although modest.
What the referrer is doing is "letting the server know" you came in from a website and you are not going straight to the source to scrap it.
Referrer means previous url in other words
I run this test code again today out of curiosity
It works on mt4 (with reasonable gaps in between requests)
It returns error 1001 on mt5 (the mt5 error is 5203 but the address is there , i'll check again with my glasses)
(webreqeusts is mt4 mqh)
bro i tested all files nothing work , please any Update ?
bro i tested all files nothing work , please any Update ?
drop mt4 use mt5 . It has a built in calendar
bro i tested all files nothing work , please any Update ?