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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Broker Challenge "NDD/STP" vs. True "ECN" and "Mkt Mkr" broker talk 46 replies

Scalping Awesome "Crocodile" 13 replies

Dealing with "Invalid Price", "Requote", "Server Busy" in MT4 3 replies

Trading System using Awesome Oscillator 48 replies

SteveHopwood EAs 4 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 11
Attachments: "Awesome" auto-trading robot by SteveHopwood
Exit Attachments
Tags: "Awesome" auto-trading robot by SteveHopwood
Cancel

"Awesome" auto-trading robot by SteveHopwood

  • Last Post
  •  
  • 1 Page 23 4
  • 1 Page 23 4
  •  
  • Post #21
  • Quote
  • Jul 21, 2011 6:59pm Jul 21, 2011 6:59pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Well... on a second thought (can't sleep yet ) the latest CZ EA i posted already has martingaling options in it .
It's just not "jumping high enough" on the second trade to produce the mart sequence described in the pdf.
The sequence is 1,2,4,8,etc with a factor of 2, instead of 1,3,6,12,24,etc as in the pdf.
Should not be a big deal to change that.

Then we need to find the "good" CZ settings.

I played a bit with the DynamicBreakout indi tonight and came up with possibly better settings than the defaults:

BoxLength=25
BoxTimeFrame=15
AutoBoxRange=true
AutoBoxRangeDailyATRperiod=30
AutoBoxRangeDailyATRfactor=0.20...
Ignored
I am just pinching your in-house code and trying to make it work in Awesome - not interested in bed either.
 
 
  • Post #22
  • Quote
  • Jul 21, 2011 7:04pm Jul 21, 2011 7:04pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
sq, can you see why this is not drawing any boxes? It is the code from the fh ea you sent me; that one refuses to draw any boxes on my Alpari demo as well.

Cheers
Attached File(s)
File Type: mq4 Awesome with fh auto trading robot by Steve Hopwood.mq4   31 KB | 418 downloads
 
 
  • Post #23
  • Quote
  • Jul 21, 2011 7:05pm Jul 21, 2011 7:05pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
I am just pinching your in-house code and trying to make it work in Awesome - not interested in bed either.
Ignored
All right, i'll let you play with it
Got a conf call with China early tomorrow morning...
I need some sleep
Sq
 
 
  • Post #24
  • Quote
  • Jul 21, 2011 7:15pm Jul 21, 2011 7:15pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
sq, can you see why this is not drawing any boxes? It is the code from the fh ea you sent me; that one refuses to draw any boxes on my Alpari demo as well.

Cheers
Ignored
ok, i won't be very "fresh" tomorrow morning i guess...

I loaded it on backtester, and it DOES plot the boxes and trendlines properly.

However it does NOT trade

Sq
 
 
  • Post #25
  • Quote
  • Jul 21, 2011 7:17pm Jul 21, 2011 7:17pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Here is an example list of boxes it plots with me:

Inserted Code
2011.07.22 01:12:37    2011.07.21 21:00  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.21 21:00 boxHigh=1.63229900 boxLow=1.62898000 range=33.2
2011.07.22 01:12:36    2011.07.20 21:00  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.20 21:00 boxHigh=1.61666000 boxLow=1.61334025 range=33.2
2011.07.22 01:12:35    2011.07.20 15:30  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.20 15:30 boxHigh=1.61501000 boxLow=1.61191000 range=31.0
2011.07.22 01:12:35    2011.07.20 04:55  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.20 04:55 boxHigh=1.61367000 boxLow=1.61054000 range=31.3
2011.07.22 01:12:34    2011.07.20 00:05  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.20 00:05 boxHigh=1.61396975 boxLow=1.61065000 range=33.2
2011.07.22 01:12:34    2011.07.19 16:10  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.19 16:10 boxHigh=1.61396000 boxLow=1.61078000 range=31.8
2011.07.22 01:12:33    2011.07.19 04:25  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.19 04:25 boxHigh=1.60812000 boxLow=1.60478825 range=33.3
2011.07.22 01:12:33    2011.07.18 21:00  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.18 21:00 boxHigh=1.60467000 boxLow=1.60137000 range=33.0
2011.07.22 01:12:32    2011.07.18 07:10  Awesome with fh auto trading robot by Steve Hopwood GBPUSD,M5: NEW BOX formed at 2011.07.18 07:10 boxHigh=1.61157000 boxLow=1.60850000 range=30.7
2011.07.22 01:12:32    Awesome with fh auto trading robot by Steve Hopwood inputs: Lot=0.01; TakeProfit=30; StopLoss=60; MagicNumber=0; MaxSpread=40; MartingaleMultiplier=0; MaxLots=3; SleepMinsAfterClosure=0; BoxLength=4; BoxTimeFrame=60; BoxRange=30; AutoBoxRangeDailyATRperiod=30; AutoBoxRangeDailyATRfactor=0.25; BufferPips=0; FkMinimumMarginPercent=1500; start_hourm=0; end_hourm=12; start_houre=12; end_houre=24; DisplayGapSize=30;
 
 
  • Post #26
  • Quote
  • Jul 21, 2011 7:18pm Jul 21, 2011 7:18pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
ok, i won't be very "fresh" tomorrow morning i guess...

I loaded it on backtester, and it DOES plot the boxes and trendlines properly.

However it does NOT trade

Sq
Ignored
Not intended to trade yet - that is blocked off. I want to get the thingy displaying boxes first.

I have it working in backtester as well, so that is fine. I can add the trading code now.

Cheers. Go to bed.

 
 
  • Post #27
  • Quote
  • Jul 21, 2011 7:24pm Jul 21, 2011 7:24pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
Not intended to trade yet - that is blocked off. I want to get the thingy displaying boxes first.

I have it working in backtester as well, so that is fine. I can add the trading code now.

Cheers. Go to bed.

Ignored

Man! that was a quick hack !
I'll ring in tomorrow morning to check the progress....


Sq
 
 
  • Post #28
  • Quote
  • Jul 21, 2011 8:29pm Jul 21, 2011 8:29pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Here it is. No need for the indi as I have hacked sq's code to bring it in-house.

In backtesting EU over the last year, the original came out just over $1000 in extra profit, finishing with $12,766 from a $10,000 start. On the face of it there is no advantage, but we can play with it and see.

Have fun.

Attached File(s)
File Type: mq4 Awesome with fh auto trading robot by Steve Hopwood.mq4   32 KB | 538 downloads
 
 
  • Post #29
  • Quote
  • Edited 9:09pm Jul 21, 2011 8:52pm | Edited 9:09pm
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,901 Posts
Quoting SteveHopwood
Disliked
...In backtesting EU over the last year, the original came out just over $1000 in extra profit, finishing with $12,766 from a $10,000 start. On the face of it there is no advantage...
Ignored
@ Steve-

You just finished a VERY fast and rough backtest with inferior filter settings, with which you still earned 27% ($2766) on a 10k investment. But you see no advantage?

Even if the settings never got any better (they will, mine are)... even if all you ever earned was 2000-3000 the first year... with compounding, that initial yearly ROI could within 5 years become an extra annual income of 15,000 or more. And 5 years after that??????

Not only that, but you tested just 1 pair on 1 time frame. And you still profited circa 27%. What do you think happens when you trade 4 pairs, with 3 time frames each, garnering in the neighborhood of 500-600 pips per week on average in total?

25,000 pips per year means nothing to you? Really? What am I missing here?

FxH
To improve is to change. To perfect, is to change often.
 
 
  • Post #30
  • Quote
  • Jul 22, 2011 3:03am Jul 22, 2011 3:03am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting forexhard
Disliked
@25,000 pips per year means nothing to you? Really? What am I missing here?

FxH
Ignored
The point of my post.

I shall spell this out slowly and try to avoid two syllable words:

 

  1. the original method gained 27% profit
  2. the new bot using breakout from your box as coded by sq gained 17% profit i.e. $1000 less as I pointed out in my post.

Therefore, on that comparison there was no advantage to using the new version of the ea.

In fact, there was a thumping great disadvantage and only an idiot would use it.

It remains to be seen if this proves the case on forward demo and on other pairs. I am sorry I did not make this clear, but it was 2.00 am or so.

I trust I have clarified this.

 
 
  • Post #31
  • Quote
  • Edited 5:19am Jul 22, 2011 5:01am | Edited 5:19am
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
Here it is. No need for the indi as I have hacked sq's code to bring it in-house.

In backtesting EU over the last year, the original came out just over $1000 in extra profit, finishing with $12,766 from a $10,000 start. On the face of it there is no advantage, but we can play with it and see.

Have fun.

Ignored
Checking in for a followup on your overnight work Steve...
(My Chinese guys decided to cancel the conf call... )

I run it thru the backtester on EU from just july 18 to see how this goes.

There are several things going wrong i think: (see pics below)

- TakeProfit and StopLoss should be adjusted to fit the current Box size instead of fixed input pips.
We could easily keep both options : if these settings are set to 0, then it would use the Box size as TP/SL.

- the idea with trading the CZ is (IMO) to stop after reaching the FIRST WINNER PER CZ BOX SESSION, then rince and repeat on the next CZ only.
After that winner, the breakout has occured already, and the CZ has much less "power". There are enough CZs to get at least 1 winner per day or so.
The Mart sequence guarantees that we will make +Xpips at the end of each sequence -- with provisions for the death trade of course, but the CZ are here to show us the possibly best trading setup.
The bot currently continues entering new pending trades every time a TP is hit (it seems), and with the same fixed TP/SL.
- [EDIT] the bot opens an immediate market order when price is anywhere inside the current Box; it should wait for the first breakout to open this first market order + pending opposite trade, and then go on with the sequence;

This is what currently kills the profitability.

With those adjustments, I think we could improve all lot the results.

Sq
Attached Image (click to enlarge)
Click to Enlarge

Name: 2011-07-22_105432.gif
Size: 18 KB
 
 
  • Post #32
  • Quote
  • Jul 22, 2011 5:26am Jul 22, 2011 5:26am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
I have updated post 1 guys.

 
 
  • Post #33
  • Quote
  • Jul 22, 2011 5:37am Jul 22, 2011 5:37am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Checking in for a followup on your overnight work Steve...
(My Chinese guys decided to cancel the conf call... )

I run it thru the backtester on EU from just july 18 to see how this goes.

There are several things going wrong i think: (see pics below)

- TakeProfit and StopLoss should be adjusted to fit the current Box size instead of fixed input pips.
We could easily keep both options : if these settings are set to 0, then it would use the Box size as TP/SL.

- the idea with trading the CZ is (IMO) to stop after reaching the FIRST WINNER...
Ignored
I don't get the immediate opening thingy, sq. Also, I left the demo running overnight on eu and it formed a box without sending an immediate trade.

I disagree about the moving sl/tp thingy. The whole thrust of the strategy are the fixed ratios laid out in the pdf. This is what I am doing and changing that changes the whole strategy.

I don't think the 1 trade per cz session is necessary here either. I could be wrong, but 'tis what I think anyhow.

Hope your brain is less fuzzy than mine after the late night. Mine can't cope with anything tougher than, "I want coffee".

Cheers

 
 
  • Post #34
  • Quote
  • Jul 22, 2011 5:49am Jul 22, 2011 5:49am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
spaizkadett just sent me a pm explaining how to make my fxbook thingy public, so there is a new link in post 1.

Cheers sk.

 
 
  • Post #35
  • Quote
  • Jul 22, 2011 10:36am Jul 22, 2011 10:36am
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Having run a variety of backtests on this on EU since start of the year it would appear that the fh version does not perform as well as the original. Also contrary to what I think we would all think I am getting considerably lower dd with trading times of 21-24 and 0 - 6.

Most settings are default with trend filter false, no bb filter, but with pivot filter. So far this should have a profit of 825.32 with max dd 296.67. This is nearly double the profit for 2/3rds of the dd than using it with the trend filter on.

Paul
 
 
  • Post #36
  • Quote
  • Jul 22, 2011 11:04am Jul 22, 2011 11:04am
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,901 Posts
Quoting SteveHopwood
Disliked
I trust I have clarified this.
Ignored
Yes, you are being clear now. I thought you were speaking only about one robot, one with my algo attached.

The reason why my algo is earning less than the Awesome alone, is because mine is closely filtering trades, whereas the Awesome trades 24hrs, and will open trades within absolutely any market conditions. I consider the trade-off quite acceptable. This is not a Martingaling system (mine), is it a very cautious and well-planned breakout system that intentionally stays out of ranging markets and trades only infrequently.

Remember Steve, it was you that wanted to bring your coding skills to my table. I didn't come to you. So I would hope that you would spend a little time getting inside my head to learn why it is I do the things I do, and what results I have come to expect by doing them. So far no one has asked me anything, they've just latched onto my ideas and run circles around me. It's a little disconcerting.

FxH
To improve is to change. To perfect, is to change often.
 
 
  • Post #37
  • Quote
  • Jul 22, 2011 7:42pm Jul 22, 2011 7:42pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
I don't get the immediate opening thingy, sq. Also, I left the demo running overnight on eu and it formed a box without sending an immediate trade.

I disagree about the moving sl/tp thingy. The whole thrust of the strategy are the fixed ratios laid out in the pdf. This is what I am doing and changing that changes the whole strategy.

I don't think the 1 trade per cz session is necessary here either. I could be wrong, but 'tis what I think anyhow.

Hope your brain is less fuzzy than mine after the late night. Mine can't cope with anything tougher...
Ignored
Ok let's try this one:

Awesome hates ranging conditions.
Trading Awesome in ranging conditions will grow the Mart factor quickly to the death trade level (margin call).

So the idea here is to lower the chance of starting a sequence in ranging conditions.
How do we do that ?
By starting a sequence only when a strong Consolidation Zone (CZ) appears, and not later -- we would rather wait for the next CZ than start a new sequence radomly, which would expose us to a higher probability of hitting a ranging period.
Hence the idea of using FH CZ boxes to guide Awesome.

So this modified bot will:
- start only 1 sequence per CZ Box;
- if a new box forms and a sequence is already open, then it will ignore that box (and any further box) until the sequence has ended (in profit).
- use the box(+bufferpips) edges for its first market trade and pending opposite trades
- set TP to the size of the Box+bufferpips
- set SL to twice this amount

This ensures that we use the CZ box as our SETUP, expecting a better chance of price NOT ranging too long once the CZ has formed, and then Awesome's Mart sequence will deliver our Xpips for sure, with much lower escalation.

At least we hope so...

Sq
Attached File(s)
File Type: mq4 Awesome with fh auto trading robot by Steve Hopwood - SQ MOD.mq4   34 KB | 747 downloads
 
 
  • Post #38
  • Quote
  • Jul 23, 2011 1:56am Jul 23, 2011 1:56am
  •  forexhard
  • | Commercial Member | Joined May 2011 | 1,901 Posts
Squalou,

I've been running your EA through extensive tests. It works perfectly with my CZ's as the intiating filter. From June 7th until today it creates 16 CZ's with my settings of 22/15/30 on the EU M15. Which comes to 2.5 CZ/s per week, which is exactly what I expect to see. 10 of those CZ's (62.5%) went straight to profit from the breakout! Of the remaining 6 CZ's, none of them had more than 2 trades (the winning trade plus one counter trade). The starting balance was just $1000, with a starting lot size of .05 and the multiplier set at 3. It earned over $200 over just 16 trades. The trick, as you know, if waiting for the best CZ's. So here is the proof of what this means. Great job!

1) Now we are ready for my secret weapon. I haven't talked about this yet. This one mod alone will cut out 50% of the false breakouts. Notes on pic.

2) While you're at it, please remove all extraneous filtering codes (Scoobs, Kiwi, etc.) and leave in just the Box settings, the ATR/ADR settings, Days Back, and the Trade Hour settings.

3) In another thread someone asked for a breakout alert for when price crosses the Buffer. I also think this is a good idea.

4) I left you a note about the buffer line repainting.

That's it. With the new Candle Delay it will be as close as we can make it.

FxH
Attached Image (click to enlarge)
Click to Enlarge

Name: candle_delay.png
Size: 49 KB
To improve is to change. To perfect, is to change often.
 
 
  • Post #39
  • Quote
  • Jul 23, 2011 6:16am Jul 23, 2011 6:16am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Ok let's try this one:

Awesome hates ranging conditions.
Trading Awesome in ranging conditions will grow the Mart factor quickly to the death trade level (margin call).

So the idea here is to lower the chance of starting a sequence in ranging conditions.
How do we do that ?
By starting a sequence only when a strong Consolidation Zone (CZ) appears, and not later -- we would rather wait for the next CZ than start a new sequence radomly, which would expose us to a higher probability of hitting a ranging period.
Hence the idea of using FH CZ...
Ignored
Nice one sq. Cheers. I have adopted this straight into post 1.

 
 
  • Post #40
  • Quote
  • Jul 23, 2011 7:53am Jul 23, 2011 7:53am
  •  hiredwhip
  • | Joined Nov 2009 | Status: Member | 4,980 Posts
Good Morning Steve,
I've just now completely recovered from having to strip and do a complete backup to an external hard drive of one of my high octane demo towers.....It has now gone off to college with a grandson for his 3D CAD software.....This dictated a major movement of a large number of bots since I had to cull the other demo tower and start over....
Awesome looks a little different than the version on my office laptop....very interesting!!!
I'll have to struggle along till winter when I have the time to build more equipment...Now off to reading and catching up...

Have a great day

whip
 
 
  • Commercial Content
  • /
  • "Awesome" auto-trading robot by SteveHopwood
  • Reply to Thread
    • 1 Page 23 4
    • 1 Page 23 4
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