Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Copied and pasted news code from new Boll trader, from my understanding the news code was created by Derk Wehler from another forum this is what he says in how this works:1
Added this to Turnip maybe can test side by side with non-news version see what is the best, also would be interested if I got everything right in adding this feature.
OK, I put the three files in the right spots but in Custom Experts Turnip is grayed out and when I try to attach to chart I get this error;
Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\Turnip(news).ex4' on the USDCHF,M30
What am I doing wrong?
Thanks
Sounds like it is not compiled try turning off metatrader and turning it back on that will automatically compile it.
'LogUtils.mqh' - cannot open the program file D:\NEXTT4a\experts\indicators\GetNewsFF_v02.mq4 (32, 1)
All I wanted to do was check the news ea out. As previously posted will not use it even for NFP I would rather close prior in my own time when the trade is profitable.
So if it is a problem just don't worry about it. I have posted in case others were having the same problems in attempting to use Turnip News
No problem John, seemed like there was more than what I posted when I originally downloaded this news system. I agree with you really don't feel 10 points needs this, but feel this news indicator system would be a good add to a Newstrader e.a., put this indicator into an news e.a. and set and forget
Anyway really appreciate your help and your work in this thread.
Found the complete setup I had originally posted and a statement from their creator:The primary gift I am speaking of is my new library, LibNewsTimes. Programmers can use the function it contains to discern whether it is close to announcement time for any given currency pair. This is the library necessary to run the forthcoming version of BollTrade which Ron and I have been testing.
But moreover, it opens a door to programmers to use it with any EA, to keep it from trading news times --or trade only during news time. It is my hope this may pave the way for several previously unprofitable EAs to now do better. All you have to do is include the .mqh file in your EA and then call IsNewsTime(before, after, currency) to find out if it is news time. Please see the header at the top of the file for detailed information.
In order for this lib to function, you must also have the enclosed indicator, GetNewsFF_v02. mq4 running on your chart. This "indicator" uses Abhi's code to check the ForexFactory news page for announcement times. When you assign this indicator to your chart, you can choose whether to exclude news events that are of "low" (yellow), "medium" (orange), or "high" (red) priority, as well as exclude announcements that have the word "Speaks" in them (such as "OJ Governor Fukui Speaks"). When you assign this to your chart, it will seem to lock up for a few seconds. Do not be alarmed; it is reading the news from the web and will return in a few moments. Again, if you have any questions about it, please first see the header at the top of the file for detailed information.
In order for the indicator to function, you need two other .mqh files in your /experts/include folder. These are from Paul Hampton-Smith , so thank you to him (as well as Abhi, of course). One is WinInet.mqh and one is LogUtils.mqh. Eventually I may integrate these into GrabNewsFF, so there would be less files to deal with. But the WinInet file can be useful to grab any web page, so it might be better to keep it separate.
The last two files are just bonuses that some programmers may find useful. It's another library, called LibDerksUtils. This replaces a lib I previously released called LibUsefulUtils. It has a few additions, and was renamed. None of the rest described above uses this lib, nor does Ron's new BollTrade, but some of my other EAs use them, so you might want to download these as well. Thanks to Robert for some of the code in this lib. Programmers may want to particularly use it for it's comprehensive trailing stop function, called AdjTrailOnAllOrders (). I changed the name partly because I do not want it to have a version number in it. I will be making regular additions to this, and I do not want my (our) systems to get clogged up with a bunch of different versions that have to be kept around so that earlier EAs will work.
When downloading, please put:
GetNewsFF_v02. mq4 in experts/indicators
LibNewsTimes_ v02.mq4 in experts/libraries
LibDerksUtils. mq4 in experts/libraries
LibNewsTimes_ v02.mqh in experts/include
WinInet.mqh in experts/include
LogUtils.mqh in experts/include
LibDerksUtils. mqh in experts/include
True
Now I need;
2007.01.15 22:07:53 Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\LibNewsTimes_v02.ex4' on the AUDUSD,M30
2007.01.15 22:07:53 Cannot open file 'C:\Program Files\MetaTrader - North Finance\experts\libraries\LibNewsTimes_v02.ex4' on the AUDUSD,M30
2007.01.16 18:58:16 GetNewsFF_v02 EURUSD,M30: dll calls are not allowed; 'wininet.dll'-'InternetOpenA'
After putting all the indicators/includes/libraries and the Expert Advisor all in place now I have this error. (Neuimex)
The GetNews opens to edit but when ready disappears. Not the black lines on the black background I changed them to white.
2007.01.16 18:58:16 GetNewsFF_v02 EURUSD,M30: expert stopped