• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 9:06pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 9:06pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Hanover replies to PMs 1,424 replies

Trading profitably using Recent Strength 58 replies

Hanover - can you help me with MT4 qs please? 4 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 69
Attachments: Hanover: an auto-trader using Recent Strength
Exit Attachments
Tags: Hanover: an auto-trader using Recent Strength
Cancel

Hanover: an auto-trader using Recent Strength

  • Last Post
  •  
  • 1 78Page 91011 17
  • 1 8Page 910 17
  •  
  • Post #161
  • Quote
  • Oct 26, 2011 1:02pm Oct 26, 2011 1:02pm
  •  nubchai
  • | Joined Jan 2008 | Status: Member | 750 Posts
Quoting JulesvH
Disliked
Sandy, what settings you use for the recent strength / hanover ea
Num points?
Base point?
Historical shift?
Smoothing SMA
Ignored
Jules this is what I'm using

numpoints 30
basepoint 0
historical shift 0
smoothing 4

Everything else is default except for output file name.

I set numpoints in the Hanover ea to 30 as well.

Sandy
 
 
  • Post #162
  • Quote
  • Oct 26, 2011 1:19pm Oct 26, 2011 1:19pm
  •  nubchai
  • | Joined Jan 2008 | Status: Member | 750 Posts
Jules,

Here is my set file for the H4 (saved as text file for uploading)

Sandy
Attached File(s)
File Type: txt hanoverh4.txt   < 1 KB | 405 downloads
 
 
  • Post #163
  • Quote
  • Oct 26, 2011 1:49pm Oct 26, 2011 1:49pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
I have started to roll out the Hanover RS module into other EA's - Spider first.

In doing so, I found I had left a snippet out of the code module - the bit that divides the pair into its constituent currencies. I have updated this in post 1.

 
 
  • Post #164
  • Quote
  • Oct 26, 2011 4:40pm Oct 26, 2011 4:40pm
  •  magft
  • | Joined Apr 2011 | Status: Member | 208 Posts
Quoting SteveHopwood
Disliked
Fabulous Alex. Thanks.

Here is a request to any real programmers. Could one of you code a utility either that uses robocopy, or any other method for that matter, that allow us to:

 

  1. specify the location of the output file
  2. specify multiple locations to send copies of the output file when the utility detects a change

That way, we could run multiple platforms but only have David's indi running on one of them.

Ignored
This EA kind of does what your after, i'm sure it could be adapted to check for file modifications or to run every so many ticks instead of chart timeframes. Currently if you drop it on a M1 chart it will copy the file every minute. The file paths have to be absolute paths, the defaults are for Vantage Fx as that is what i have setup. It currently has up to 9 locations but a quick change to the code could add more.

Hope this helps.

Mike
Attached File(s)
File Type: mq4 CopyFile.mq4   11 KB | 261 downloads
 
 
  • Post #165
  • Quote
  • Oct 26, 2011 4:49pm Oct 26, 2011 4:49pm
  •  OmarSM
  • | Joined Jan 2010 | Status: Member | 69 Posts
Quoting SteveHopwood
Disliked
Attached is a working model....

This is the 'Hanover module' that can go into every bot we develop from now on, and added to existing ones....


Ok guys. It is playtime.

Ignored

Thanks for all the sharing, thanks!!!
What you call "spaghetti" of code is teaching me a lot.


Now to make pips.
 
 
  • Post #166
  • Quote
  • Oct 26, 2011 4:53pm Oct 26, 2011 4:53pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Carsten has given us all a present. Read 'Request to professional programmers' in post 1 for details.


 
 
  • Post #167
  • Quote
  • Oct 26, 2011 4:54pm Oct 26, 2011 4:54pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting magft
Disliked
This EA kind of does what your after, i'm sure it could be adapted to check for file modifications or to run every so many ticks instead of chart timeframes. Currently if you drop it on a M1 chart it will copy the file every minute. The file paths have to be absolute paths, the defaults are for Vantage Fx as that is what i have setup. It currently has up to 9 locations but a quick change to the code could add more.

Hope this helps.

Mike
Ignored
Thanks Mike. You posted this as I was typing my latest. It looks as though we have what we need.

Cheers

 
 
  • Post #168
  • Quote
  • Oct 26, 2011 5:19pm Oct 26, 2011 5:19pm
  •  magft
  • | Joined Apr 2011 | Status: Member | 208 Posts
Quoting SteveHopwood
Disliked
Thanks Mike. You posted this as I was typing my latest. It looks as though we have what we need.

Cheers

Ignored
No problem, this is less flexible than the watchandcopy.exe but you don't have to install anything. Also just tried it using a network path an it copies fine as i have spider on a different pc on my network. Looking forward to see how this all pans out.

Mike
 
 
  • Post #169
  • Quote
  • Oct 26, 2011 5:53pm Oct 26, 2011 5:53pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Hehe. My brain has fried.

I installed WatchAndCopy on my always-on machine and used it to copy the file from my Alpari account to my MA Cross demo - which is now showing the same value for the second currency whatever it is.

So, I stopped the Alpari, and restarted the MA Cross demo with RS reinstated, and the bot is still showing the same value for the second currency whatever it is.

So, I returned to my coding machine to find my values displaying correctly (not used WatchAndCop).

Not a clue what is going on.

 
 
  • Post #170
  • Quote
  • Oct 26, 2011 6:17pm Oct 26, 2011 6:17pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Got it. A basic bloop in isolating the second currency in the pair.
Ccy2 = StringSubstr(Symbol(), 3, 6);
should read Ccy2 = StringSubstr(Symbol(), 3, 3);
in init() allowed the IBFX 'm' to be added, so the value of the second currency was 0, which is AUD from David's constants.

Never forget what I write in my signature.

Edit yourselves or await the fixes.

 
 
  • Post #171
  • Quote
  • Oct 26, 2011 6:27pm Oct 26, 2011 6:27pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Fix for the bloop in post 1 - the MA Cross ea in the ea zip and the module code. If your crim does not have a pair suffix, you are wondering what the fuss is about. Download the fix anyhow; better that code be correct than not.

About to fix Spider, then going to rerun WatchAndCopy.

 
 
  • Post #172
  • Quote
  • Oct 26, 2011 6:53pm Oct 26, 2011 6:53pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
I started up the Alpari platform again and noticed that there are a lot of zero values in the display - all of the M15, for example.

I have left the machine to sulk in the hope that the charts will populate themselves and I do not have to do David's manual repopulation thingy. Granted, it is something we should do anyhow, but it is the most colossal bore to do.

Carsten, will your utility 'remember' where to copy from and to when I restart the machine after the weekend?

 
 
  • Post #173
  • Quote
  • Oct 26, 2011 7:25pm Oct 26, 2011 7:25pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,092 Posts
Just to make sure that I understand correctly, and hopefully this will help others also, the attached screenshot shows how you should set up WatchAndCopy.EXE

I have the Recent Strength.mq4 indy operating out of Go Markets, with the OutputFile parameter set to Output---Recent Strength.csv

This is building a file of that name, according to the Recent Strength settings, in the folder c:\Program Files\MT4 Go #2\experts\files

Hence that is the folder name that I must place in the 'Observe the following directory' entry in WatchAndCopy

The second entry in watch and copy must be the name of the output file, i.e. Output---Recent Strength.csv

The third entry is the names of all of the folders where you want the file to be copied. In the screenshot, I have set it up for 4 other crims: Pepperstone, FXDD, FinFx and Smart Live. Note that each of these entries MUST refer to the experts\files folder, because this is where the Hanover EA will expect to find these files. The output file will be copied to each of these folders, removing the need to run the Recent Strength indy (and its associated overhead) on each crim's MT4 platform.

Now I can run the Hanover EA on each crim's platform, and it will simply find and use the updated data.

I'm pretty sure that I have this correct, as WatchAndCopy appears to be happily copying the file to each of the correct folders.

Tip: it's probably a good idea to run the Recent Strength indy on the platform that is offering the most currency pairs, as this will give the most comprehensive strength values.


Also, I note there have been some questions asked about Recent Strength's HistoricalShift setting. This MUST be set to 0, assuming that you want the latest values to be output (and processed by the Hanover EA). Set the SmoothingSMA to 1, if you wish to reduce lag to a minimum.

David
Attached Image
 
 
  • Post #174
  • Quote
  • Oct 26, 2011 7:46pm Oct 26, 2011 7:46pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Fantastic again David, and many more thanks. I have linked your post in post 1 for the benefit of newcomers.

Cheers

 
 
  • Post #175
  • Quote
  • Oct 26, 2011 7:52pm Oct 26, 2011 7:52pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Hehe. I am loving all this. Having a great time.

 
 
  • Post #176
  • Quote
  • Oct 27, 2011 1:42am Oct 27, 2011 1:42am
  •  Carsten
  • | Joined Nov 2010 | Status: Member | 17 Posts
Quoting SteveHopwood
Disliked
Carsten, will your utility 'remember' where to copy from and to when I restart the machine after the weekend?

Ignored
Yes. It will start right with all the folders it had when you closed the program.

Well, to be honest, the version you're running might not do that. In the first version I uploaded, I forgot to save the settings. I was hoping I'd be fast enough so you wouldn't even notice. The corrected version is from around 20.31 GMT yesterday, so you probably don't have it.

But the program attached to this post will keep its settings. Promise.
Attached File(s)
File Type: zip WatchAndCopyFiles.zip   7 KB | 370 downloads
 
 
  • Post #177
  • Quote
  • Oct 27, 2011 2:19am Oct 27, 2011 2:19am
  •  alex_forex
  • | Joined Oct 2011 | Status: Member | 28 Posts
Thanks a lot for that Carsten

Have a nice day

We'll have great fun with that

Regards
Alex

Quoting Carsten
Disliked
Yes. It will start right with all the folders it had when you closed the program.

Well, to be honest, the version you're running might not do that. In the first version I uploaded, I forgot to save the settings. I was hoping I'd be fast enough so you wouldn't even notice. The corrected version is from around 20.31 GMT yesterday, so you probably don't have it.

But the program attached to this post will keep its settings. Promise.
Ignored
 
 
  • Post #178
  • Quote
  • Oct 27, 2011 3:57am Oct 27, 2011 3:57am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Carsten
Disliked
Yes. It will start right with all the folders it had when you closed the program.

Well, to be honest, the version you're running might not do that. In the first version I uploaded, I forgot to save the settings. I was hoping I'd be fast enough so you wouldn't even notice. The corrected version is from around 20.31 GMT yesterday, so you probably don't have it.

But the program attached to this post will keep its settings. Promise.
Ignored
Thanks Carsten. This is a fantastic utility; perfect for what we need here. I have updated post 1 with your latest version.

I left the machine sulking overnight but it made no difference to the graphics plotting, so I took the lappy into our living room, curled up on the sofa, turned on the Test match between Pakistan and Sri Lanka, and did the manual chart update thingy.

I now have fully-populated time-frame columns apart from some of the M30. I have left a few relevant M30 charts running to see if incoming quotes solves the problem. If not, I sinply won't use the M30 tf - not a great hardship.

I am running Carsten's utility and the other platforms are reading the data it is copying perfectly.

 
 
  • Post #179
  • Quote
  • Oct 27, 2011 5:46am Oct 27, 2011 5:46am
  •  censura
  • | Joined Sep 2006 | Status: Member | 405 Posts
I loaded this this morning with new copy utility - all looks fine
tf showing rsi values ie 1h aud stongest usd weakest checked output file in alpariuk which i am using to run hanover, rs strnegth coming from sigtrader has all pairs. EA has smiley face - using default settings with points 25 as per sigtrader rs - BUT NO TRADES have it runnig for 5min, 1H, D1

is this normal (have candle slope set to 0)

Just wanted to check
 
 
  • Post #180
  • Quote
  • Oct 27, 2011 10:58am Oct 27, 2011 10:58am
  •  indy360
  • | Joined Feb 2010 | Status: Member | 189 Posts
Hi Steve,


Firstly, thanks for your work with all your EA's. The amount and the quality that you produce is amazing. I dont post that much but always follow your threads with great interest.

I know your intention was not to develope an MA cross EA and was more to develpoe the Hanover module but I am begining to think that this may have legs with the use of recent strengh to filter the entries.


I have had your MA cross with the Hanover module EA on a demo account since last night. Time frame is H1 and checking H4 on Hanover, no slope detection (for now). I have noticed that multiple trades of the same pair in the same direction (which is the correct direction according to recent strength) within a couple of minutes, sometimes straight after the 1st trade closing for 20 pips TP. I think that this is because the MA values keep fluctuating around the same level the EA assumes a new cross, checks the hanover module and sends a new trade. I could be wrong though!


Do you think a sleep feature (maybe user definable) after the close of the 1st trade would be a good idea? I have attached a copy of the history for you to see what I mean.


All the initial trades taken so far have all resulted in a win, as have some of the later ones. But it would have been more profitable if just the 1st trades were made and profits banked.


I really do think that the Hanover module will prove to be a big thing, again awesome work.


Regards

Jon

Attached Image (click to enlarge)
Click to Enlarge

Name: ma_with_hanover.gif
Size: 47 KB
 
 
  • Commercial Content
  • /
  • Hanover: an auto-trader using Recent Strength
  • Reply to Thread
    • 1 78Page 91011 17
    • 1 8Page 910 17
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023