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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

A Simple London Breakout V.2 1,478 replies

Another Simple London Breakout System (with a twist) 46 replies

Simple london breakout v.9.2 error 1 reply

Need help with this simple london breakout EA 2 replies

SIMPLE EA for a simple method needed!! 1 reply

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 373
Attachments: A Simple London Breakout
Exit Attachments

A Simple London Breakout

  • Last Post
  •  
  • 1 2526Page 272829 53
  • 1 26Page 2728 53
  •  
  • Post #521
  • Quote
  • Edited at 3:56pm May 3, 2010 2:54pm | Edited at 3:56pm
  •  Leeson
  • | Joined Apr 2010 | Status: Member | 358 Posts
Hi all,

I have been following this thread for the last weeks, and I am quite impressed with the developments made! Congrats to all!!!

I started using Steve EA last night on a micro account live but there are still issues with the EA to make it reliable on live trading.

a) second trades aren't happening when they were supposed to happen
b) some pairs choosen don't triger the buy/sell when they should happen

I suggest everyone to wait a little bit more so this issues can be addressed.

Congrats again for this fantastic work guys!! Results are indeed promising!!

EDIT: Looks like the issue is related to the broker where I opened this micro account... they demand the stop loss / take profit order to be minimum 20 pips away from PA (!!) so I guess this is the reason why EA gave errors and didn't trigered the new position when it should. Sorry everyone...!
  • Post #522
  • Quote
  • May 3, 2010 4:01pm May 3, 2010 4:01pm
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,673 Posts
Quote
Disliked
Hey guys,

First of all fantastic thread!
I was just wondering how on the charts you get say 22x2=44 pips.
Are the pending orders rejenerated or have you manually reentered for the second trade?
sorry for the newbie question!

First off, when I say 44 pips (+22 x 2), it basically means the first trade was a loss and this trade used a multiplier of 2 to recoup the first loss.
  • Post #523
  • Quote
  • May 3, 2010 4:41pm May 3, 2010 4:41pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Hi there... me again

with yet another script for you...

London Breakout scriptV3.mq4

As some of you asked, here is a version of the script (not the EA...) that will satisfy you, i hope...

It allows to open half of the trades with a TP target set at half of the TP, the other half open at regular full TP.
Each order is opened with half the input "Lot"
(which now defaults to 0.02 so that it can be divided by 2).

So it will open 4 orders instead of 2 when using this option.

To enable this option, just set the "CloseHalfTradeAtHalfTP" input to "true".

Otherwize it behaves as usual.

Orders with half TP will use MagicNumber+1 to distinguish them from regular full TP orders.

Enjoy !
Sq.
Attached File
File Type: mq4 London Breakout scriptV3.mq4   6 KB | 321 downloads
  • Post #524
  • Quote
  • May 3, 2010 5:28pm May 3, 2010 5:28pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Hi Steve,

Thanks for the congrats, it goes right to my heart

I was about to start patching your EA bot to take advantage of my GlobalVariables-based "communication method" that i experimented with the Indi and script, but no time to do that...
I prefer to let you grow your own babies!


The EA taking the entries from the GlobalVariables would be nice, indeed:
- setup the Indi with your settings,
- fire the EA on the chart, and that's it.

However, some pitfalls may come with the EA, that should be adressed:
because it is a MULTI-PAIR...
Ignored
I am converting the robot to be a single trading bot. This way, traders will be more easily able to customise its settings and use in light of their own personal preferences.

I shall still look at the other stuff as well; clearly I can learn from you.

Thanks again for your brilliant contribution. I have already rewarded you in the only way I have here.

Cheers

  • Post #525
  • Quote
  • May 3, 2010 5:29pm May 3, 2010 5:29pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Steve,

just another thought:

i think it would be good to add the following input in the EA:...
Ignored
The first thing I did when starting the conversion to single-pair use. Clearly a brilliant idea. Cheers again.

  • Post #526
  • Quote
  • May 3, 2010 6:49pm May 3, 2010 6:49pm
  •  merlintrade
  • | Joined Mar 2009 | Status: Feels Great | 57 Posts
Hi Mer...thanks for the new setting, is there any particular pair that suit best for the new settings?

Squalou ...V8 is very good, thanks

Steve...i like that single pair idea
  • Post #527
  • Quote
  • May 3, 2010 10:17pm May 3, 2010 10:17pm
  •  rjlacha
  • | Commercial Member | Joined Mar 2010 | 52 Posts
Hey Mer071898,,Great work!!

I like the new settings and think we are on step closer to those drinks..

I have a question on the Martingale and hold positions until the stop or target is hit.

In the chart below of the USDJPY on April 21st we had a sideways day and stopped out a few times...at the end of the day we have 8 contracts short. The next day we get a BUY signal BEFORE the 8 contracts are stopped out.

Just wondering how you might handle this trade? Do you take the lose on the 8 ctrs and go for 16 on the new buy signal?

Personally I may only take one trade in each Direction per day, per pair, ,,, if I am stopped out both ways then it is likely a consolidation day and best to wait for the next day. If the first trade is a winner I am done of the day..

Thanks for your input,,,
Attached Image (click to enlarge)
Click to Enlarge

Name: 05031015m.png
Size: 55 KB
  • Post #528
  • Quote
  • May 4, 2010 1:22am May 4, 2010 1:22am
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,673 Posts
Quote
Disliked
Hi Mer...thanks for the new setting, is there any particular pair that suit best for the new settings?
Well, don't get your hopes up yet, there's still a lot of testing to go before I'd put my money into it. As for which pairs work best, I'd have to stick with Gbp/Usd and Eur/Jpy. These seem to stand out a little more than the others to me.

Quote
Disliked
I have a question on the Martingale and hold positions until the stop or target is hit.

In the chart below of the USDJPY on April 21st we had a sideways day and stopped out a few times...at the end of the day we have 8 contracts short. The next day we get a BUY signal BEFORE the 8 contracts are stopped out.

Just wondering how you might handle this trade? Do you take the lose on the 8 ctrs and go for 16 on the new buy signal?
You can go about it a couple of ways:

A) You could wait for the 8 lots to close out first, then place your next trade of 16 lots on the next valid entry, or

B) If you get a signal before the 8 lot trade is up, treat that signal as if you're placing a trade after a 4 lot loss. So basically, you'd have (2) 8 lot trades open at the same time.

I think you're really leaving a lot on the table by just taking one trade a day though, but that is your call.
  • Post #529
  • Quote
  • May 4, 2010 3:38am May 4, 2010 3:38am
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
...

I have already rewarded you in the only way I have here.
Ignored

My first Vouch on FF !!!

And from MISTER SteveHopwood !!!

Many thanks for your gratefulness !

This will give me wings!

Sq.
  • Post #530
  • Quote
  • May 4, 2010 5:28am May 4, 2010 5:28am
  •  mer071898
  • Joined Jan 2007 | Status: Every new idea looks crazy at first | 1,673 Posts
Some bad news just came in this morning guys regarding a family member and I will be out of the loop for a few days. I will not be posting any results for the next few days but I will try and catch up when I get back, thanks for your patience. I will have my laptop with me so I might pop in to check on things.
  • Post #531
  • Quote
  • May 4, 2010 6:52am May 4, 2010 6:52am
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
I'm sorry to read this, Mer.
Take care.
Sq.
  • Post #532
  • Quote
  • May 4, 2010 7:09am May 4, 2010 7:09am
  •  Leeson
  • | Joined Apr 2010 | Status: Member | 358 Posts
Quoting mer071898
Disliked
Some bad news just came in this morning guys regarding a family member and I will be out of the loop for a few days. I will not be posting any results for the next few days but I will try and catch up when I get back, thanks for your patience. I will have my laptop with me so I might pop in to check on things.
Ignored
Sorry in reading this also. Take care mate.
  • Post #533
  • Quote
  • May 4, 2010 12:28pm May 4, 2010 12:28pm
  •  sangmane
  • Joined Apr 2009 | Status: MT4 Programmer | 758 Posts
Take care Mer, God will always be with you. Immanuel..
  • Post #534
  • Quote
  • May 4, 2010 12:29pm May 4, 2010 12:29pm
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Quoting SteveHopwood
Disliked
I am converting the robot to be a single trading bot. This way, traders will be more easily able to customise its settings and use in light of their own personal preferences.
...
Ignored

Hi Steve;

Having a single-pair bot is a good idea, indeed!
It makes it simpler to use for everyone, especially when you want different settings for different pairs.

I'd like to submit a request for the EA, that came from Danel01 (he cannot PM you yet), and lead to my scriptV3 with its "CloseHalfTradeAtHalfTP" new input.

Is it possible to add that kind of optional behaviour in the EA ?
I think you have it already implemented in the BS-10-a-day bot...

That would be a plus...

Sq.
  • Post #535
  • Quote
  • May 4, 2010 4:45pm May 4, 2010 4:45pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting squalou
Disliked
Hi Steve;

Having a single-pair bot is a good idea, indeed!
It makes it simpler to use for everyone, especially when you want different settings for different pairs.

I'd like to submit a request for the EA, that came from Danel01 (he cannot PM you yet), and lead to my scriptV3 with its "CloseHalfTradeAtHalfTP" new input.

Is it possible to add that kind of optional behaviour in the EA ?
I think you have it already implemented in the BS-10-a-day bot...

That would be a plus...

Sq.
Ignored
Will do.

  • Post #536
  • Quote
  • Edited at 7:56pm May 4, 2010 6:42pm | Edited at 7:56pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Hokay guys, this one is for the coders and testers here. It must not, not, not, not, be put on any live accounts - it isn't even going on mine and I coded it.

The multi-pair stuff is gone. The robot uses the figures provided by the fantastic LondonBreakoutV8 to calculate the trades etc. You need the indi running; it and the robot can go on the same chart, or they can go on separate charts for readability.

There are half-close, oco, max trades and max loosing trades features; play with them to see what works. I will squish bugs as they arise.

Coders, I have not actually removed any of the original code, merely adapting it and commenting out code that is no longer wanted. This makes it even more messy to read, but means I can backtrack easily if needed.

Attached File
File Type: mq4 Steve Hopwood's London session breakout auto-trading robot.mq4   26 KB | 294 downloads
  • Post #537
  • Quote
  • May 4, 2010 7:59pm May 4, 2010 7:59pm
  •  DXTrade
  • Joined Jul 2007 | Status: Take Five | 755 Posts
Hi guys

for those trading this manually I attach a script which is deleting ALL pending orders as soon as you drag it on a chart.
I goes in the experts/scripts folder.
Specially for those trading 10 pairs and having 8-12 pending orders open which are not needed anymore.

Hope that helps...
Attached Files
File Type: mq4 Delete all Pending Orders.mq4   1 KB | 261 downloads
File Type: ex4 Delete all Pending Orders.ex4   1 KB | 228 downloads
"The only successful substitute for brains is silence."
  • Post #538
  • Quote
  • Edited at 3:04am May 5, 2010 2:56am | Edited at 3:04am
  •  squalou
  • Joined Mar 2010 | Status: Member | 588 Posts
Steve,

a great THANK YOU for this light-speed release of the bot!
It will definitely undergo "deep inspection" here

DxTrade, thanks for that script, it will help a lot indeed...
The only thing is that it deletes ALL pending orders on all pairs...
I have a similar one myself which only applies on the chart you drag it to, which will not cancel orders still pending on other pairs.
[edit:]
the line of code i have in extra compared to yours:
Inserted Code
     if (OrderSymbol()!=Symbol()) continue; // delete orders on current chart only
[/edit]
My suggestion:
It would be good to have a "CancelCurrentPairOnly" true/false option perhaps.

Ideally a "KeepDualPendingOrders" option (or whatever good name you come up with) to keep both pending orders on the pairs that have not yet triggered any of the two legs (=still have both buystop+sellstop orders pending).

Just a thought.

Sq.
  • Post #539
  • Quote
  • May 5, 2010 3:31am May 5, 2010 3:31am
  •  Little Boome
  • | Joined Apr 2010 | Status: Member | 10 Posts
Hi,
Have we got a time of day for cancelling pending trades?
  • Post #540
  • Quote
  • May 5, 2010 4:17am May 5, 2010 4:17am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
There were some bugs in the one-cancels-the-other code which are squished in this version. You will not have noticed them if you have OneCancelsTheOther turned off.

The half-close and move to breakeven appears to be working ok.

Attached File
File Type: mq4 Steve Hopwood's London session breakout auto-trading robot.mq4   26 KB | 316 downloads
  • Trading Systems
  • /
  • A Simple London Breakout
  • Reply to Thread
    • 1 2526Page 272829 53
    • 1 26Page 2728 53
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 / ©2021