Forex Forums | ForexLasers.com


Go Back   Forex Lasers Forum > FOREX TRADING > Forex Systems
Home Forex Education Economic Calendar Register Search


Steve Hopwood's new AshFX V2 auto-trading robot

Forex Systems


Reply
 
LinkBack Thread Tools Search this Thread
  #1  
Old 03-09-2009, 07:58
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default Steve Hopwood's new AshFX V2 auto-trading robot

Attached are the new version of my AshFX V2 trading robot and its associated user guide. The robot will trade any time frame. The user guide contains a description of the inputs. There is a section for coders at the end; I would appreciate your contributions about the points I raise there.

Three important points:
  1. I am assuming that anybody reading this has read enough of Ash's thread to be using the system manually. If this is not true in your case, then go to http://forexmoments.com/forums/syste...ersion-ii.html to catch up. Don't try to use the robot without this understanding because you will not understand what it is doing.
  2. Please keep discussion here limited to the activity of the robot. It is best to keep discussion of manual trading to Ash's thread where everyone can benefit from it, except when you are making points that could improve the robot's success.
  3. Although this is a auto-trading robot, I do not recommend leaving it unsupervised. At the start of each new candle, check that trades have been sent that you actually want. Check that part-close and stop loss manipulation is in accordance with your wishes and normal trading practises.

This robot is not yet running on my live account. I shall need a few weeks on demo first, to make sure everything is working correctly. It appears to be, but we never know what bugs are lurking until the bite us.

Significant improvements on my earlier attempts are these:
  1. The robot works :D
  2. It considers candle and wick lengths as part of the trade-filtering process. This needs refining.

The most helpful development this robot could make is to be able to take into consideration major points of support and resistance. This is a central feature of Ash's manual trading but I have no idea how to implement it into a trading robot. Any ideas from coders would be most welcome.

So, those of you interested in having a robot do the trading for you, put this one onto a demo and see how it goes.

:)

Last edited by SteveHopwood; 03-09-2009 at 13:19.
Reply With Quote
  #2  
Old 03-09-2009, 09:08
Level 1 Lasers Member
 
Join Date: Sep 2009
Posts: 1
Default

Thanks Steve..for the EA. I'll look into it...;)

Cheers

Sahars
Reply With Quote
  #3  
Old 03-09-2009, 09:32
Level 1 Lasers Member
 
Join Date: Sep 2009
Posts: 1
Default

Hy Steve,
your work is outstanding, as always.

I had the same problem with s/r levels and still working on it.

I was thinking if it could be a good idea to have major s/r level as an imput via a set of extern doubles until we find the way to automatically detect them.
It would olso give the possibility to the trader to costomize the strategy by chosing its own detected S/R, fib etc. levels.

It would make the ea not a "run and forget" type of ea, but it could be a start until we find a way to automate things.

Regards

Roberto
Reply With Quote
  #4  
Old 03-09-2009, 10:18
Ezzy's Avatar
Level II Lasers Member
 
Join Date: Feb 2009
Posts: 40
Default

Quote:
Originally Posted by SteveHopwood View Post
Attached are the new version of my AshFX V2 trading robot and its associated user guide. The robot will trade any time frame. The user guide contains a description of the inputs. There is a section for coders at the end; I would appreciate your contributions about the points I raise there.

Three important points:
  1. I am assuming that anybody reading this has read enough of Ash's thread to be using the system manually. If this is not true in your case, then go to http://forexmoments.com/forums/syste...ersion-ii.html to catch up. Don't try to use the robot without this understanding because you will not understand what it is doing.
  2. Please keep discussion here limited to the activity of the robot. It is best to keep discussion of manual trading to Ash's thread where everyone can benefit from it, except when you are making points that could improve the robot's success.
  3. Although this is a auto-trading robot, I do not recommend leaving it unsupervised. At the start of each new candle, check that trades have been sent that you actually want. Check that part-close and stop loss manipulation is in accordance with your wishes and normal trading practises.

This robot is not yet running on my live account. I shall need a few weeks on demo first, to make sure everything is working correctly. It appears to be, but we never know what bugs are lurking until the bite us.

Significant improvements on my earlier attempts are these:
  1. The robot works :D
  2. It considers candle and wick lengths as part of the trade-filtering process. This needs refining.

The most helpful development this robot could make is to be able to take into consideration major points of support and resistance. This is a central feature of Ash's manual trading but I have no idea how to implement it into a trading robot. Any ideas from coders would be most welcome.

So, those of you interested in having a robot do the trading for you, put this one onto a demo and see how it goes.

:)
Hi Steve

thanks for your efforts and persistence in this project, I will follow the thread and hopefully assist where I can.

PS - I like the improvements you are making particularly No 1 :D

Cheers
Ezzy
Reply With Quote
  #5  
Old 03-09-2009, 11:24
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by robmrj View Post
Hy Steve,
your work is outstanding, as always.

I had the same problem with s/r levels and still working on it.

I was thinking if it could be a good idea to have major s/r level as an imput via a set of extern doubles until we find the way to automatically detect them.
It would olso give the possibility to the trader to costomize the strategy by chosing its own detected S/R, fib etc. levels.

It would make the ea not a "run and forget" type of ea, but it could be a start until we find a way to automate things.

Regards

Roberto
Cheers Roberto. I will implement this in the absence of any automated suggestions from other contributors. I can add the facility for a few s\r levels and a to-trade-within-x-pips thingy. We can take it from there.

:)
Reply With Quote
  #6  
Old 03-09-2009, 11:26
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Ezzy View Post
Hi Steve

thanks for your efforts and persistence in this project, I will follow the thread and hopefully assist where I can.

PS - I like the improvements you are making particularly No 1 :D

Cheers
Ezzy
:D:D:D

I have had another idea, but will take time to think about it.

:)
Reply With Quote
  #7  
Old 03-09-2009, 12:23
Level II Lasers Member
 
Join Date: Feb 2009
Location: Wisconsin
Posts: 32
Default

Steve Im not getting any trades backtesting, both 2 different brokers any tf, no errors.?? Thanks.
Reply With Quote
  #8  
Old 03-09-2009, 13:21
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Vetmxracer View Post
Steve Im not getting any trades backtesting, both 2 different brokers any tf, no errors.?? Thanks.
I made sure the ea is working by running it through backtesting, then onto a demo so I know it is working ok.

One thing I haven't done, that I shall add, is code a check that your chosen lot size is acceptable to the broker. I have uploaded a minimum lot-size checking script to post 1, so download that and check.

If this doesn't work, then please post your set file here and a picture of a chart with the ea running on it.

:)
Reply With Quote
  #9  
Old 03-09-2009, 13:53
Level II Lasers Member
 
Join Date: Feb 2009
Location: Wisconsin
Posts: 32
Default

Works now . I had 0 in the birthday. Would the next higher TF psar be a useful filter? Thanks, Todd
Reply With Quote
  #10  
Old 03-09-2009, 16:17
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Vetmxracer View Post
Works now . I had 0 in the birthday. Would the next higher TF psar be a useful filter? Thanks, Todd
I know that some contributors to Ash's thread like to consult the higher tf, so this is a filter I am happy to add. Likewise the lower tf, both with turn-off options.

:)
Reply With Quote
  #11  
Old 03-09-2009, 16:39
Egwig's Avatar
Level IV Lasers Member
 
Join Date: Apr 2009
Location: UK
Posts: 230
Default

Quote:
Originally Posted by SteveHopwood View Post
I made sure the ea is working by running it through backtesting, then onto a demo so I know it is working ok.

One thing I haven't done, that I shall add, is code a check that your chosen lot size is acceptable to the broker. I have uploaded a minimum lot-size checking script to post 1, so download that and check.

If this doesn't work, then please post your set file here and a picture of a chart with the ea running on it.

:)
Hi Steve.
Perhaps my settings need adjusting.
Your help would be greatly appreciated.
Egwig

2009.09.03 16:17:07
AshFX V2 auto-trading robot by SteveHopwood EURGBP..,M15
inputs: GVI="-----General trade inputs-----";
TradeLong=true;
TradeShort=true;
Lot=0.2;
TradeComment="AshFX V2";
Birthday=29071938;
MaxSpreadAllowed=30;
clf="----Candle length and wick filters----"; CandleLengthLookBackBars=100; AllowableWickPercentage=25;
mi="-----Open trade management inputs-----";
slf="----Stop Loss Manipulation----";
JSL="Jumping stop loss settings";
JumpingStop=true; JumpingStopPips=200; JumpAfterBreakevenOnly=true;
pci="Part-cl

I just noticed another point.
As the wick length alters in relation to the main body of the current candle the screen stats show the relevant pip values but the percentage figure remains always at zero.
You can see this in the attached jpg.
Attached Thumbnails
Steve Hopwood's new AshFX V2 auto-trading robot-ash2-sh1.jpg  

Last edited by Egwig; 03-09-2009 at 18:47. Reason: Additional comment.
Reply With Quote
  #12  
Old 03-09-2009, 16:42
Level 1 Lasers Member
 
Join Date: Sep 2009
Posts: 9
Default Backtest

Hi

Thanks for the hard work.

I was wondering if would be possible to see the output from the backtests? It would be good to get some idea of the profitability of the system in terms of its risk/ reward ratio etc. I've done some manual testing, but the back test would allow you to go back much further

Cheers
Reply With Quote
  #13  
Old 03-09-2009, 21:53
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Egwig View Post
Hi Steve.
Perhaps my settings need adjusting.
Your help would be greatly appreciated.
Egwig

2009.09.03 16:17:07
AshFX V2 auto-trading robot by SteveHopwood EURGBP..,M15
inputs: GVI="-----General trade inputs-----";
TradeLong=true;
TradeShort=true;
Lot=0.2;
TradeComment="AshFX V2";
Birthday=29071938;
MaxSpreadAllowed=30;
clf="----Candle length and wick filters----"; CandleLengthLookBackBars=100; AllowableWickPercentage=25;
mi="-----Open trade management inputs-----";
slf="----Stop Loss Manipulation----";
JSL="Jumping stop loss settings";
JumpingStop=true; JumpingStopPips=200; JumpAfterBreakevenOnly=true;
pci="Part-cl

I just noticed another point.
As the wick length alters in relation to the main body of the current candle the screen stats show the relevant pip values but the percentage figure remains always at zero.
You can see this in the attached jpg.
You are trying to use a robot that trades a daily system on a 15 min chart. The values returned by a variety of functions are too small to be used for trading.

I stated originally that the robot can be used on any time frame. This is clearly incorrect, but I assumed users of the robot would understand the manual system and not try to use it on such a low tf. Many apologies for this.

:)
Reply With Quote
  #14  
Old 03-09-2009, 22:38
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Vetmxracer View Post
Works now . I had 0 in the birthday. Would the next higher TF psar be a useful filter? Thanks, Todd
Todd, I have thought about this since my previous reply.

Over at FF and the original incarnation of my robot, we thought it was working correctly. Contributors asked for more and more filters and I coded them. None of them were a part of Ash's system. The robot got more and more complicated. After a while, we filtered ourselves into the ground and I removed them all. Shortly after that, I gave up altogether.

So, for now I am not going to code the higher TF psar as a further filter. The TradeLong\Short inputs allow users to do this manually.

I hope you understand.

:)
Reply With Quote
  #15  
Old 03-09-2009, 22:41
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by wrp123 View Post
Hi

Thanks for the hard work.

I was wondering if would be possible to see the output from the backtests? It would be good to get some idea of the profitability of the system in terms of its risk/ reward ratio etc. I've done some manual testing, but the back test would allow you to go back much further

Cheers
All I used the backtester for was to make sure the robot was working properly. I had no interest in the actual results, so I saved none of the reports.

:)
Reply With Quote
  #16  
Old 04-09-2009, 07:13
Level II Lasers Member
 
Join Date: Jun 2009
Posts: 29
Default

Thanks Steve,
Good to see you over here, I will install and do initial test over this weekend and then hopefully run on 24/5 demo for a couple of weeks and provide feedback as needed.
Many thanks again for contributing you valuable experitise to this project.
Moondog
Reply With Quote
  #17  
Old 04-09-2009, 14:37
Egwig's Avatar
Level IV Lasers Member
 
Join Date: Apr 2009
Location: UK
Posts: 230
Default

Quote:
Originally Posted by SteveHopwood View Post
You are trying to use a robot that trades a daily system on a 15 min chart. The values returned by a variety of functions are too small to be used for trading.

I stated originally that the robot can be used on any time frame. This is clearly incorrect, but I assumed users of the robot would understand the manual system and not try to use it on such a low tf. Many apologies for this.

:)
Thanks Steve.

I am fully au fait with the system but as the size of the stops scare me a bit I welcomed the possibility of smaller stops and targets on my usual time frames.
I'll test it out on M30 and H1 to see how it goes.

Egwig
Reply With Quote
  #18  
Old 04-09-2009, 15:58
Level 1 Lasers Member
 
Join Date: Aug 2009
Posts: 2
Send a message via ICQ to Graale
Default

Hi
Why does not a robot work in a tester?
Errors are not present in a magazine
Reply With Quote
  #19  
Old 05-09-2009, 07:38
Level II Lasers Member
 
Join Date: Jun 2009
Posts: 29
Default

Quote:
Originally Posted by Graale View Post
Hi
Why does not a robot work in a tester?
Errors are not present in a magazine
Suggest that you post a copy of the magazine(journal) and your tester EA setttings so that we can advise further, also are you on a 4 or 5 digit broker?
Moondog
Reply With Quote
  #20  
Old 07-09-2009, 01:23
Level 1 Lasers Member
 
Join Date: Mar 2009
Posts: 2
Default EA parameter

Steve,

Thanks for the work on the EA. As I understand the CandleLength function... the EA won't place the order if the signal candle length is greater than the average length. It seems that function would cut out a lot of good trades, for example, where the candle was 10% or even just 1% greater than the average length. Is it possible to make this function where the variable specifies the maximum percent over the average length where we would still want to take a trade?

ew
Reply With Quote
  #21  
Old 07-09-2009, 09:36
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by elway View Post
Steve,

Thanks for the work on the EA. As I understand the CandleLength function... the EA won't place the order if the signal candle length is greater than the average length. It seems that function would cut out a lot of good trades, for example, where the candle was 10% or even just 1% greater than the average length. Is it possible to make this function where the variable specifies the maximum percent over the average length where we would still want to take a trade?

ew
Tis done. Read the user guide for the new input.

I do not appear to be able to edit my post no 1, so I have attached everything here.

The latest version also has code to check that the lot size and stop loss is allowed by the broker, and edits the input or stop calculation if not. Contributors should be able to play with lower time frames now, if they want; the stops will often be bigger then the previous swing high\low.

It also has a hedging option - again, read the user guide. I am not sure if this is running properly so it is turned off by default.

I have fully described the hedging system it uses in Ash's thread. The only difference is that the robot sends hedge trades rather than setting pending ones, and handles the closure of profitable hedge trades itself. The problem with porting the code from a different ea is that the robot has to use the hedge rules to manage the hedged pair, not AshFX rules. Making sure all these are turned off when hedging kicks in is proving more complicated than I imagine.

If anybody knows how I can edit post 1, please sing out.

:)
Reply With Quote
  #22  
Old 07-09-2009, 12:35
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

I spotted a couple of changes that needed making to the hedging code. So far as I can tell, it is working correctly now but am not certain. Try it on demo and report any bugs that do appear.

:)

Last edited by SteveHopwood; 07-09-2009 at 12:40.
Reply With Quote
  #23  
Old 07-09-2009, 20:44
Level 1 Lasers Member
 
Join Date: Sep 2009
Posts: 9
Default Birthday

Hi Steve

Had to download the latest version of metatrader to make get the EA to work, so it may be that or the EA, but...

I've tried to load it in the chart and it says "You cannot run this robot until you have filled in the birthday input. The robot needs this to generate a magic number for the trades. Please reload the robot with the birthday input filled in"

Any ideas?

Thanks for the help
Reply With Quote
  #24  
Old 07-09-2009, 20:59
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by wrp123 View Post
Hi Steve

Had to download the latest version of metatrader to make get the EA to work, so it may be that or the EA, but...

I've tried to load it in the chart and it says "You cannot run this robot until you have filled in the birthday input. The robot needs this to generate a magic number for the trades. Please reload the robot with the birthday input filled in"

Any ideas?

Thanks for the help
Yes. Fill in the birthday input. Details in the user guide.
Reply With Quote
  #25  
Old 07-09-2009, 22:18
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

I don't think the robot should have taken this trade - wick looks a bit on the long side.

Possible bug here, folks.

:)
Attached Thumbnails
Steve Hopwood's new AshFX V2 auto-trading robot-eurjpy.gif  
Reply With Quote
  #26  
Old 08-09-2009, 05:29
Level 1 Lasers Member
 
Join Date: Sep 2009
Posts: 9
Default Working

Apols Steve

I'm so used to the off the shelf robots that I thought I didnt I need to read the instructions. More the fool me.

Great work - All good now.
Reply With Quote
  #27  
Old 08-09-2009, 08:18
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default Oops

There is a bug in the wick length percentage calculation - a typo that means the robot always thinks the percentage is zero.

This is fixed in the attachment.

I have also added code to display the list of impending trades in the chart display. We can see at a glance the trades the robot is hoping to send at the start of the next candle.

:)

Last edited by SteveHopwood; 08-09-2009 at 09:10.
Reply With Quote
  #28  
Old 14-09-2009, 01:03
wades-world's Avatar
Level 1 Lasers Member
 
Join Date: Jun 2009
Posts: 11
Default

What's the latest version of this EA now?
Reply With Quote
  #29  
Old 14-09-2009, 01:07
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by wades-world View Post
What's the latest version of this EA now?
Words fail me.

:)
Reply With Quote
  #30  
Old 14-09-2009, 01:10
Level II Lasers Member
 
Join Date: Feb 2009
Location: Wisconsin
Posts: 32
Default

You should name it Waldo. :p:p
Reply With Quote
  #31  
Old 14-09-2009, 01:19
AshFX's Avatar
Super Moderator
 
Join Date: Oct 2008
Posts: 857
Default

Quote:
Originally Posted by SteveHopwood View Post
Words fail me.

:)
Lol, funny stuff.
Reply With Quote
  #32  
Old 14-09-2009, 02:49
Level 1 Lasers Member
 
Join Date: Mar 2009
Posts: 2
Default Thanks!

Steve thanks for your work on this, I will test and post results :D
Reply With Quote
  #33  
Old 14-09-2009, 04:58
Level 1 Lasers Member
 
Join Date: Feb 2009
Posts: 10
Default position management

Hey Steve, great work and thanks:) Are you planning to build position management in this EA like ur other EA?
Reply With Quote
  #34  
Old 14-09-2009, 08:02
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Shiva View Post
Hey Steve, great work and thanks:) Are you planning to build position management in this EA like ur other EA?
I just wanted to make sure the robot worked as intended before starting to add the useful little bits. I shall add the money-management module from the other ea, along with the sleep period after a trade closes.

:)
Reply With Quote
  #35  
Old 14-09-2009, 10:44
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by Shiva View Post
Hey Steve, great work and thanks:) Are you planning to build position management in this EA like ur other EA?
As soon as I started to adapt the original mm module from the old ea, I realised that the dynamic stop loss causes immense problems.

Calculating a lot size must take into account the stop loss. When this is fixed at x pips there is no problem. When it depends on the high\low of the previous swing that is no problem either but here is the killer; the robot both has to adjust the Close_Lots and Preserve_Lots settings [I]and[I] have a way of 'remembering' them in the event of a disconnect or system shut-down.

I have decided to leave the lot size as a manually-entered setting.

:)
Reply With Quote
  #36  
Old 14-09-2009, 15:28
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

I have added horizontal line support and resistance to the robot. Details on page 3 of the user guide.

This has only just gone on demo, so I am not sure the functions are bug-free. Please report any anomalies here.

:)
Reply With Quote
  #37  
Old 14-09-2009, 16:46
Level 1 Lasers Member
 
Join Date: Feb 2009
Posts: 15
Default Steve Hopwood ASHFX2 robot Testing

Wow Steve, Nice, I am just in awe of your programming skills.

If it's allright, I will be testing your robot on an Alpari US demo acct. (I am in the US if that makes any difference.) I will run it on all the major and minor currency pairs. I will try to report out (Here) every couple days or so. If there are any certain presets or special setting you would like used , Let me know.

Bill
Reply With Quote
  #38  
Old 14-09-2009, 18:44
Level III Lasers Member
 
Join Date: Apr 2009
Posts: 64
Default Thanks Steve

Thanks for your hard work Steve....I have a question regarding the Jumping Stop....I see the JumpingStopPips=10 which I assume is the increment. At what point does the jumping stop start. In this case, would it start at +10 pips and set stop to 0 then stay 0 until pips = +20, at which point it would jump to +10?

I am also intrigued at the Hedging function. I will try it out on my FXDD demo & see what happens

GREAT WORK
Ron
Reply With Quote
  #39  
Old 14-09-2009, 19:46
Level IV Lasers Member
 
Join Date: Mar 2009
Posts: 104
Default

Quote:
Originally Posted by bill View Post
Wow Steve, Nice, I am just in awe of your programming skills.

If it's allright, I will be testing your robot on an Alpari US demo acct. (I am in the US if that makes any difference.) I will run it on all the major and minor currency pairs. I will try to report out (Here) every couple days or so. If there are any certain presets or special setting you would like used , Let me know.

Bill
Cheers Bill. The robot is as close as possible to a representation of Ash's system as I can get, designed to trade the Daily candle. I know it is working well from my own demo.

I am short of demo power and I know there are people who trade the system on the 4H. If you have the spare capacity, then a 4H demo would be a help.

:)
Reply With Quote
  #40  
Old 14-09-2009, 22:58
wades-world's Avatar
Level 1 Lasers Member
 
Join Date: Jun 2009
Posts: 11
Default Sorry but glad to get a laugh.

I was in a hurry trying to get my 13mos to the bathroom if you know what I mean, and I had to post something to download the EA. Very nice by the way, I hope it does as good as the system. The last signal from Ash on GBPUSD netted a VERY nice profit. Thanks Ash.
Reply With Quote
Reply


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 Off
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading robot for you toni53 Expert Advisors / Robots 18 16-09-2016 06:11
Auto forex system trading - How to get monthly cashback from forex trading asafp584296 Software / Signals / Services 1 16-01-2012 15:00
Forex auto trade - How to get monthly cashback from forex trading asafp584296 Software / Signals / Services 1 15-01-2012 17:44
Best Auto trading service with Free Forex Signal 90% Accuracy inyonkfx Software / Signals / Services 2 15-07-2010 13:29
Free CANDLESTICK webinar steve nilson_ time sensitive lrathi Beginner Talk / Q and A 3 18-05-2009 08:35


All times are GMT. The time now is 03:13.


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.