Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Martingale/Average Cost and Hedging


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (90) Thread Tools Display Modes
  #1101 (permalink)  
Old 01-15-2007, 09:00 PM
Senior Member
 
Join Date: Nov 2006
Posts: 299
abrs70 is on a distinguished road
Quote:
Originally Posted by mrtools
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.
where do i save .mqh file? thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1102 (permalink)  
Old 01-15-2007, 10:11 PM
Senior Member
 
Join Date: Dec 2005
Posts: 323
mrtools is on a distinguished road
Quote:
where do i save .mqh file? thanks

In the expert/include section,

tools
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1103 (permalink)  
Old 01-15-2007, 10:16 PM
Senior Member
 
Join Date: Dec 2005
Posts: 323
mrtools is on a distinguished road
Quote:
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.

Hope that gets it working for you.

tools
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1104 (permalink)  
Old 01-15-2007, 10:47 PM
Senior Member
 
Join Date: Jun 2006
Posts: 743
yeoeleven is on a distinguished road
GetNewsFF_v02.mq4

'WinInet.mqh' - cannot open the program file D:\NEXTT4a\experts\indicators\GetNewsFF_v02.mq4 (25, 1)

where can I get WinInet.mqh so that it can open GetNewsFF_v02.mq4 as it does not appear in my includes folder.

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1105 (permalink)  
Old 01-15-2007, 11:06 PM
Senior Member
 
Join Date: Dec 2005
Posts: 323
mrtools is on a distinguished road
wininet

Found it


tools
Attached Files
File Type: zip WinInet.zip (1.9 KB, 126 views)

Last edited by mrtools; 01-16-2007 at 12:19 AM. Reason: adding to zip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1106 (permalink)  
Old 01-16-2007, 12:11 AM
Senior Member
 
Join Date: Jun 2006
Posts: 743
yeoeleven is on a distinguished road
LogUtils.mqh

thank you for the file but now I get:-

'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

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1107 (permalink)  
Old 01-16-2007, 12:34 AM
Senior Member
 
Join Date: Dec 2005
Posts: 323
mrtools is on a distinguished road
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.


tools
Attached Files
File Type: zip LogUtils.zip (642 Bytes, 81 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1108 (permalink)  
Old 01-16-2007, 01:24 AM
Senior Member
 
Join Date: Dec 2005
Posts: 323
mrtools is on a distinguished road
news and other files

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
Attached Files
File Type: zip Assorted file.zip (27.3 KB, 126 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1109 (permalink)  
Old 01-16-2007, 02:10 AM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,131
matrixebiz is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #1110 (permalink)  
Old 01-16-2007, 08:05 AM
Senior Member
 
Join Date: Jun 2006
Posts: 743
yeoeleven is on a distinguished road
Getting there

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

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
www.autotradingfx.com

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/martingale-average-cost-hedging/3473-10points-3-mq4.html
Posted By For Type Date
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-07-2008 01:59 PM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-07-2008 05:20 AM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-06-2008 10:40 PM
Salire e ritracciare - Pagina 16 - Forum di Finanzaonline.com This thread Refback 08-06-2008 09:20 PM
Part Time Wealth Building Trading System - Weekly Scalping - Page 88 This thread Refback 08-06-2008 01:57 PM
Is This My Holy Grail EA :D This thread Refback 07-10-2008 04:03 AM
Martingale EA - Alternative to FXTradepro This thread Refback 07-09-2008 03:25 PM
¥á¥¿¥È¥ì¡¼¥À¡¼¤À¤¡¡ª¡¡ This thread Refback 06-13-2008 04:13 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 06-08-2008 12:11 PM
¥á¥¿¥È¥ì¡¼¥À¡¼¤À¤¡¡ª¡¡ 200805 This thread Refback 06-06-2008 02:32 PM
Wonderful Expert - Forex Trading | MetaTrader Indicators and Expert Advisors This thread Refback 05-16-2008 10:38 AM
[intraday]martingale strategy dan variasinya - Page 6 - Forexindo Forum This thread Refback 05-14-2008 01:40 AM
Expert Advisors on live account - Alpari (UK)'s Forex and CFDs Forum This thread Refback 05-01-2008 07:50 PM
íÇÇÎæÇä åá íæÌÏ ÇÓÊÑÊÌíå ÌíÏå á scapling - ãäÊÏíÇÊ ÇáãÊÏÇæá ÇáÚÑÈí This thread Refback 04-30-2008 02:28 PM
Expert Advisors on live account - Alpari (UK)'s Forex and CFDs Forum This thread Refback 04-23-2008 05:45 AM
Martingale EA - Alternative to FXTradepro This thread Refback 04-03-2008 01:13 PM
تست اکسپرت 10Points3 - Sarmaye Forums This thread Refback 03-29-2008 06:39 AM
Per tutti: Expert Advisor/Strategia da valutare - Forex Forum This thread Refback 03-27-2008 05:13 PM
Forex Mini - 300 30000 forex mini This thread Refback 03-18-2008 07:13 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-16-2008 02:11 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-16-2008 12:37 PM
Download 10points3 Ea - Type Your Search Here This thread Refback 03-10-2008 12:24 PM
10points3¤Î¿·¤·¤¤¥Ð¡¼¥¸¥ç¥ó¡Ö10p3MultiPipStepV001¡× FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3546 Refback 03-09-2008 10:42 AM
10points3 Ea - Type Your Search Here This thread Refback 02-27-2008 12:38 AM
Which EA is making money for you? This thread Refback 02-25-2008 11:12 AM
Per tutti: Expert Advisor/Strategia da valutare - Forex Forum This thread Refback 02-23-2008 11:03 AM
Which EA is making money for you? This thread Refback 02-20-2008 07:35 AM
Which EA is making money for you? This thread Refback 02-19-2008 07:30 PM
Diskuzní fórum Financnik.cz :: Se Sidem o Forexu :: Sbìrna AOS,EA,TS Post #1390 Refback 02-15-2008 10:08 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 02-15-2008 06:38 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 02-08-2008 03:31 PM
Part Time Wealth Building Trading System - Weekly Scalping - Page 88 This thread Refback 02-03-2008 04:01 AM
Martingale EA - Alternative to FXTradepro This thread Refback 01-28-2008 12:14 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-26-2008 08:13 PM
10points3 Ea This thread Refback 01-25-2008 10:22 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-23-2008 04:35 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-21-2008 01:50 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-18-2008 12:36 PM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-18-2008 11:24 AM
¼«Æ°ÇäÇã¥í¥¸¥Ã¥¯¡¡ 10points3 FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-14-2008 03:51 AM
FX¥·¥¹¥Æ¥à¥È¥ì¡¼¥É¼«Æ°ÇäÇã¼ÂÁ©¼¼ Post #3191 Refback 01-13-2008 12:02 PM