May I know is there a way to programmatically detect major FOREX news and avoid trading in those time frame?
Asked
Active
Viewed 800 times
2 Answers
2
You need Forexfactory news indicator, "FFCal", that reads data from the website and returns true/false depending on time in minutes before/after major/mid/minor news events. you can download it on fxfactory website, use is rather simple
int result = (int)iCustom(Symbol(),0,"FFCal", (parameters),0,0);

Daniel Kniaz
- 4,603
- 2
- 14
- 20
-
Not a safe way to use a per-QUOTE-called Custom Indicator automation, you may be well aware that *(cit.:)* "DISCLAIMER (Sept 17, 2016): Apparently some people have been getting the "Unable to process calendar" error. More info here >>> http://www.forexfactory.com/showthread.php?p=9144301#post9144301." and that the Downloader exhibits problems ( last update 2017/03 ). – user3666197 Apr 20 '17 at 10:42
1

halfer
- 19,824
- 17
- 99
- 186

user3666197
- 1
- 6
- 50
- 92
-
Thanks, may I know where do you get those red events? And what API you use to get them? – william007 Apr 20 '17 at 07:17