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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

order repeating EA? stop/repeat? 2 replies

Auto Hedge Commodity Trader System 29 replies

Repeat or Loop a Closed Trade 1 reply

SteveHopwood EAs 4 replies

Now 17Mar2008 vs History Review (repeat itself) 0 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 24
Attachments: Rinse and Repeat. A hedge trading auto-trader by SteveHopwood
Exit Attachments
Tags: Rinse and Repeat. A hedge trading auto-trader by SteveHopwood
Cancel

Rinse and Repeat. A hedge trading auto-trader by SteveHopwood

  • Last Post
  •  
  • 1 23Page 456 10
  • 1 3Page 45 10
  •  
  • Post #61
  • Quote
  • Apr 7, 2011 9:42am Apr 7, 2011 9:42am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting paulbt38
Disliked
Just noticed my demo in work somehow ended up with just 1 GBPJPY trade. I have been getting occasional error alerts, I am presuming that the market moved too fast for the trade to be placed? I suppose this will be the problem with high volatile pairs. Anyway I have attached screenshot.
Ignored
Yep The bot will keep hammering away until the trade is finally sent.

Update in post 1, adding a maximum trade level input, and cash profit to aim for at breakeven time, and trading hours.

The initial trade is L1, so the default allows an open trade and 5 hedges.

The breakeven profit calculation works by multiplying the CashProfitPerBreakEvenPip by the trade level.

Have fun.

 
 
  • Post #62
  • Quote
  • Apr 7, 2011 11:01am Apr 7, 2011 11:01am
  •  Caillou
  • | Joined Apr 2010 | Status: Member | 1,404 Posts
Results for 3 hours........

Max Level 10 (Hedge 150%)
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: a.jpg
Size: 32 KB
Click to Enlarge

Name: b.jpg
Size: 64 KB
Click to Enlarge

Name: c.jpg
Size: 57 KB
 
 
  • Post #63
  • Quote
  • Apr 7, 2011 12:20pm Apr 7, 2011 12:20pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Latest update in post 1

 

  1. I realised I had fuzzied the max levels thingy, and would have allowed double the levels set.
  2. added the HedgeTheHedgeAtLossPips so we can have different values for subsequent hedge-the-hedges after the first one is sent.
  3. removed a lot of superfluous code and associated inputs.

The BE profits thingy is making a substantial difference on my demos.

 
 
  • Post #64
  • Quote
  • Apr 7, 2011 12:58pm Apr 7, 2011 12:58pm
  •  Nicastro
  • | Joined Mar 2010 | Status: Member | 186 Posts
Quoting SteveHopwood
Disliked
Latest update in post 1

 

  1. I realised I had fuzzied the max levels thingy, and would have allowed double the levels set.
  2. added the HedgeTheHedgeAtLossPips so we can have different values for subsequent hedge-the-hedges after the first one is sent.
  3. removed a lot of superfluous code and associated inputs.

The BE profits thingy is making a substantial difference on my demos.

Ignored
Thank you for this Mr Hopwood,

While testing today I have noticed that when a hedge trade is sent and the original trade retraces beyond the entry price, the TS then operates once more. The result is that when the TS closes the trade it then leaves an orphan hedge trade.

This is probably one of those LUC thingies that you refer to.

Sincerely

Nicastro
 
 
  • Post #65
  • Quote
  • Apr 7, 2011 1:01pm Apr 7, 2011 1:01pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Nicastro
Disliked
Thank you for this Mr Hopwood,

While testing today I have noticed that when a hedge trade is sent and the original trade retraces beyond the entry price, the TS then operates once more. The result is that when the TS closes the trade it then leaves an orphan hedge trade.

This is probably one of those LUC thingies that you refer to.

Sincerely

Nicastro
Ignored
Sure is. I am not going to do anything about it - doesn't seem to matter.

I found another couple of bloops in the code, so there is a new update in post 1.

 
 
  • Post #66
  • Quote
  • Apr 7, 2011 1:26pm Apr 7, 2011 1:26pm
  •  Caillou
  • | Joined Apr 2010 | Status: Member | 1,404 Posts
Quoting SteveHopwood
Disliked
Latest update in post 1

 

  1. I realised I had fuzzied the max levels thingy, and would have allowed double the levels set.
  2. added the HedgeTheHedgeAtLossPips so we can have different values for subsequent hedge-the-hedges after the first one is sent.
  3. removed a lot of superfluous code and associated inputs.

The BE profits thingy is making a substantial difference on my demos.

Ignored
Thank you.

Just one question about Trading Time option. After the End Time, the EA still manages open trades and opens new hedging trades if necessary untill the BE is reached or it stops and doesn't open any new trade at all?

Thank you
 
 
  • Post #67
  • Quote
  • Apr 7, 2011 2:10pm Apr 7, 2011 2:10pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Caillou
Disliked
Thank you.

Just one question about Trading Time option. After the End Time, the EA still manages open trades and opens new hedging trades if necessary untill the BE is reached or it stops and doesn't open any new trade at all?

Thank you
Ignored
Yes. It manages and hedges. Once the position has worked through and closed, it will not open a fresh position until the next trading start hour arrives.

 
 
  • Post #68
  • Quote
  • Apr 7, 2011 2:11pm Apr 7, 2011 2:11pm
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Steve

I managed to get a back test going on the latest version. It seems no matter what setting I use for max level it keeps placing trades at higher levels. Using the default setting on GU since beginning of Jan this year it managed to hit 5.12 having started at 0.01.

Paul
 
 
  • Post #69
  • Quote
  • Apr 7, 2011 2:15pm Apr 7, 2011 2:15pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting paulbt38
Disliked
Steve

I managed to get a back test going on the latest version. It seems no matter what setting I use for max level it keeps placing trades at higher levels. Using the default setting on GU since beginning of Jan this year it managed to hit 5.12 having started at 0.01.

Paul
Ignored
Cheers Paul. I will look into this.

 
 
  • Post #70
  • Quote
  • Apr 7, 2011 2:16pm Apr 7, 2011 2:16pm
  •  Caillou
  • | Joined Apr 2010 | Status: Member | 1,404 Posts
Quoting SteveHopwood
Disliked
Yes. It manages and hedges. Once the position has worked through and closed, it will not open a fresh position until the next trading start hour arrives.

Ignored
Perfect as always....,

Thank you
 
 
  • Post #71
  • Quote
  • Apr 7, 2011 3:09pm Apr 7, 2011 3:09pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
I have needed to re-think the max levels thingy; this called for a different logic.

To do so, I had to remove a lot of the hedge-the-hedge flexibility. L3+ hedging has to work off the normal hedging values. Sorry about that, but there is nothing I can do.

It occurred to me why some people cannot run backtests. There is a spread filter. Spread at the time is not part of historical data. Therefore, if current spread is > your max allowable spread, then backtesting will not happen.

Therefore, when backtesting set your max spread high.

Update in post 1.

 
 
  • Post #72
  • Quote
  • Apr 7, 2011 5:22pm Apr 7, 2011 5:22pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Oops. I have just realised I have spent much of today baying at completely the wrong moon.

The solution to overtrading lies in the Forexkiwi filter in TOB. If margin level percent falls below x, then stop trading.

So easy.

Hey ho.

Not going to do anything about it now. I have spent most of today coding and have had a couple of drinkies; if I code now, anything might happen.

More tomorrow. In the meantime, what we already have is proving fun.

 
 
  • Post #73
  • Quote
  • Apr 8, 2011 2:23am Apr 8, 2011 2:23am
  •  thomasmore
  • | Joined May 2009 | Status: Veni, Vidi, Pipsi | 91 Posts
Here is a good example of the hedge-power on JPY. Excellent!
Attached Image (click to enlarge)
Click to Enlarge

Name: Hedge JPY.jpg
Size: 36 KB
 
 
  • Post #74
  • Quote
  • Apr 8, 2011 6:17am Apr 8, 2011 6:17am
  •  dryclean
  • Joined Oct 2008 | Status: Sailing for pips | 2,099 Posts
Not exactly sure how I have neg points but positive money ???? Martingale Hedge????

Up a little over 2 % running .01 base lot on $5000 3 pairs running since inception

only 1 scary DD so far

Not bad
Set it and forget it
rinse and repeat
wonderful
ps made it through an other earthquake too!
Attached Image (click to enlarge)
Click to Enlarge

Name: rr.gif
Size: 12 KB
 
 
  • Post #75
  • Quote
  • Apr 8, 2011 7:04am Apr 8, 2011 7:04am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Latest update in post 1.

I have added ForexKiwi's margin check from TOB to take care of the problem of overtrading. The input is the same. I have set the default at 1500 because once our mp gets to that level, the next hedge-the-hedge is going to take it down low.

Still, play with it and find out what it has to be when combined with your fav trigger levels and lot sizes. You will find out pdq when it is too low.

 
 
  • Post #76
  • Quote
  • Apr 8, 2011 10:24am Apr 8, 2011 10:24am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
I forgot to tell R&R not to make the margin checks when there are no trades open. This error stops the bot running when it has finished closing your most recent position.

Fix in post 1.

 
 
  • Post #77
  • Quote
  • Edited Apr 9, 2011 2:51am Apr 8, 2011 11:03am | Edited Apr 9, 2011 2:51am
  •  Nicastro
  • | Joined Mar 2010 | Status: Member | 186 Posts
Quoting SteveHopwood
Disliked
I have needed to re-think the max levels thingy; this called for a different logic.

To do so, I had to remove a lot of the hedge-the-hedge flexibility. L3+ hedging has to work off the normal hedging values. Sorry about that, but there is nothing I can do.

It occurred to me why some people cannot run backtests. There is a spread filter. Spread at the time is not part of historical data. Therefore, if current spread is > your max allowable spread, then backtesting will not happen.

Therefore, when backtesting set your max spread high.

Update...
Ignored
Dear Mr Hopwood,

Can we not get R&R to liquidate a user defined proportion of a L3 trade immedaitely after it is placed so that effectively, spread apart, we get a L3 trade at whatever percentage hedge we require.

Sincerely

Nicastro
 
 
  • Post #78
  • Quote
  • Apr 9, 2011 7:24am Apr 9, 2011 7:24am
  •  plateman
  • | Joined Jan 2010 | Status: Member | 98 Posts
Did anybody have problems with Alpari demo accounts yesterday, I went out for the day and when I returned last night the last candle on the screen was 08:00 Friday morning. It has updated this morning but with all the trade history lost.
 
 
  • Post #79
  • Quote
  • Apr 9, 2011 9:04am Apr 9, 2011 9:04am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting plateman
Disliked
Did anybody have problems with Alpari demo accounts yesterday, I went out for the day and when I returned last night the last candle on the screen was 08:00 Friday morning. It has updated this morning but with all the trade history lost.
Ignored
My Alpari UK demo went disconnected at some point later on yesterday, and remained so until a few minutes ago. I haven't lost the history.

 
 
  • Post #80
  • Quote
  • Apr 9, 2011 9:09am Apr 9, 2011 9:09am
  •  Caillou
  • | Joined Apr 2010 | Status: Member | 1,404 Posts
Quoting SteveHopwood
Disliked
My Alpari UK demo went disconnected at some point later on yesterday, and remained so until a few minutes ago. I haven't lost the history.

Ignored
Me too, no connection this morning in Alpari demo accounts, no problem with real accounts.......
 
 
  • Commercial Content
  • /
  • Rinse and Repeat. A hedge trading auto-trader by SteveHopwood
  • Reply to Thread
    • 1 23Page 456 10
    • 1 3Page 45 10
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