• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 3:36pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:36pm
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 45Page 678 10
  • 1 5Page 67 10
  •  
  • Post #101
  • Quote
  • Apr 11, 2011 4:48pm Apr 11, 2011 4:48pm
  •  macman
  • Joined Jan 2009 | Status: Member | 844 Posts
Quoting plateman
Disliked
Well Steve, I am a little surprised at the rather muted response to this thread.... snip ....
The point of all this rambling is to ask if anybody is aware of a crim that charges commission, offers a platform that can be programmed for automated trading, permits hedge trading, and is safely regulated.
(Not asking for much then!)
Ignored
CFH markets in the UK, charge commission, offer MT4, hedging, FSA regulation etc
... BUT
they do not accept retail traders, only institutional traders & have a minimum 50K starting account balance -
as far as brokers go, basically you get what you pay for IMHO
 
 
  • Post #102
  • Quote
  • Apr 11, 2011 5:27pm Apr 11, 2011 5:27pm
  •  plateman
  • | Joined Jan 2010 | Status: Member | 98 Posts
Steve can't really accept the premise that " someone would have come up with the idea before now.", after all the electric carpet cleaner had been around for more than 60 years before Mr Dyson came along with his idea.
Maybe my confidence in R&R is misplaced, after all it's early days in testing terms....but I will certainly be investing my time in continued testing.
Yes Macman, my experience throughout my life has been that generally you do get what you pay for, but £50k is too much for me, but I would think very seriously about a £10k minimum balance if I had a bot that I had full confidence in.
 
 
  • Post #103
  • Quote
  • Edited Apr 12, 2011 1:27am Apr 11, 2011 9:57pm | Edited Apr 12, 2011 1:27am
  •  jcs
  • | Joined Oct 2010 | Status: Member | 219 Posts
Steve

I wondered if you had seen Brigon’s latest on his Amazing Magic of 3’s thread and if you would be interested in coding it

Translation ...
101’s basket, 7 buys, 7 sells
When 7 trades are in profit close largest profit trade providing it is more than +10 pips
Immediately replace with new trade, same pair and same direction as just closed trade
Repeat

The DD will always be there, but seems to establish itself at a reasonably acceptable level, as does the margin %
Brian recommends if drawdown increases to 15% of opening balance, or if margin level falls to 1000 % stop trading and wait for it to recover .... maybe stop at 1,000 and start trading again at 1,200 ( user inputs ) would be required ?

The expectation is that the equity will continue to increase and surpass the DD which will remain within a reasonable acceptable level
It can be traded manually whenever at the computer, and then just left alone when not as the hedge keeps things in ‘ equilibrium ‘, but would obviously be better with an ea to run 24/5 to take all profit opportunities

Brian swears it works ..... hmmm ok
Hope you get a chance to consider it, could be interesting and worth a test

Thanks
 
 
  • Post #104
  • Quote
  • Apr 12, 2011 1:36am Apr 12, 2011 1:36am
  •  brijon
  • | Membership Revoked | Joined Jan 2008 | 3,753 Posts
7 CURRENCYS MUST BE IN PROFIT MINIMUN BEFORE TAKE 10 PIPS OR GREATER ON 1 CURENCES TAKE PROFIT THEN REPLACE WITH SAME BUY OR SELL CURRENCY

DD IS GREATER THAN 10 % OR MARGIN STOP TRADING WAIT TILL 9 OR MORE CURENCYS ARE IN PROFIT THEN TAKE ONE CURRENCY PROFIT replace with same tradeback on


OR WAIT TILL TOTAL BOTTOM LINE IS PROFIT LIQUITDATE ALL RE START HEDGE

MY OLD SYSTEM WORKS WELL FOR ME

FROM Brian
Quoting jcs
Disliked
Steve

I wondered if you had seen Brigon’s latest on his Amazing Magic of 3’s thread and if you would be interested in coding it

Translation ...
101’s basket, 7 buys, 7 sells
When 7 trades are in profit close largest profit trade providing it is more than +10 pips
[font=Calibri][size=3]Immediately replace with new trade, same pair and same direction as just closed...
Ignored
 
 
  • Post #105
  • Quote
  • Apr 12, 2011 1:40am Apr 12, 2011 1:40am
  •  brijon
  • | Membership Revoked | Joined Jan 2008 | 3,753 Posts
great work steve have fun guys thank you so much

Steve and all of you guys great inputs

hope that helps

thank you from Brian
 
 
  • Post #106
  • Quote
  • Apr 12, 2011 1:51am Apr 12, 2011 1:51am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Those of you who have been getting the zero divide error have been getting it because you are well-behaved and testing this bot on a single pair. The account margin is the divisor in the margin percent check; when you have the initial trades open, this value is zero.

This has not happened to the naughty ones here because they always have an account margin due to the number of pairs they are testing. Being naughty is good sometimes.

The fix for this is in post 1.

 
 
  • Post #107
  • Quote
  • Apr 12, 2011 1:58am Apr 12, 2011 1:58am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting jcs
Disliked
Steve

I wondered if you had seen Brigon’s latest on his Amazing Magic of 3’s thread and if you would be interested in coding it

Translation ...
101’s basket, 7 buys, 7 sells
When 7 trades are in profit close largest profit trade providing it is more than +10 pips
[font=Calibri][size=3]Immediately replace with new trade, same pair and same direction as just closed...
Ignored
Sounds like a nice bright, shiny new toy for us all to play with. I cannot code this today or tomorrow; I am going away in a few hours, for a couple of days. I shall get something done in time for Monday.

 
 
  • Post #108
  • Quote
  • Apr 12, 2011 4:56am Apr 12, 2011 4:56am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Sorry guys. The fix didn't quite do the job. The fixed fix does, so re-download from post 1.

 
 
  • Post #109
  • Quote
  • Apr 12, 2011 7:31am Apr 12, 2011 7:31am
  •  macman
  • Joined Jan 2009 | Status: Member | 844 Posts
Hi Steve,

This is just a general point, which may be of use in your current bots.

Maybe an idea to create a filter for inverse correlation, contract size to volatility? So as volatility increases, contract size decreases.

Just something I have used before in manual trading which may help in the current markets.

Cheers,
 
 
  • Post #110
  • Quote
  • Apr 12, 2011 9:45am Apr 12, 2011 9:45am
  •  hotstorm
  • | Joined Jul 2007 | Status: Member | 148 Posts
Quoting SteveHopwood
Disliked
Sorry guys. The fix didn't quite do the job. The fixed fix does, so re-download from post 1.
Ignored
Have you removed the take profit feature of the first position (instead of trailing stop) that you added yesterday?

Question: is it possible I end up with naked unhedged trade or this happened by some error? The market was quite volatile and it looks like for some reason I ended up with unhedged trade.
Attached Image (click to enlarge)
Click to Enlarge

Name: rinse.jpg
Size: 46 KB
 
 
  • Post #111
  • Quote
  • Apr 12, 2011 11:04am Apr 12, 2011 11:04am
  •  plateman
  • | Joined Jan 2010 | Status: Member | 98 Posts
Quoting hotstorm
Disliked
Have you removed the take profit feature of the first position (instead of trailing stop) that you added yesterday?

Question: is it possible I end up with naked unhedged trade or this happened by some error? The market was quite volatile and it looks like for some reason I ended up with unhedged trade.
Ignored
If you are limiting the number of trades then yes, you can finish up with an unhedged trade.
 
 
  • Post #112
  • Quote
  • Apr 12, 2011 11:53am Apr 12, 2011 11:53am
  •  dryclean
  • Joined Oct 2008 | Status: Sailing for pips | 2,099 Posts
The ea just shot off a bunch error messages
seems to sort it self out after awhile
but the beeps are annoying

00:00:04 Rinse and Repeat with MPTM USDJPY,M15: Alert: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: Alert: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: Alert: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: Alert: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: USDJPY OP_BUY order send failed with error(130): invalid stops
00:00:04 Rinse and Repeat with MPTM USDJPY,M15: Alert: USDJPY OP_BUY order send failed with error(130): invalid stops
 
 
  • Post #113
  • Quote
  • Apr 12, 2011 12:01pm Apr 12, 2011 12:01pm
  •  dryclean
  • Joined Oct 2008 | Status: Sailing for pips | 2,099 Posts
Steve this puppy is kicking arse.
I'm up 1% so far today.... not sure what you did in the last update.
Only 3 pairs EU GU UJ no special reason for them 0.01 lot
Up 4% over all in a week I don';t touch this thing just check every hour or so best thing is DD is very low

Great Job Steve

PS
Funny how the points total is Neg but dollars are up Martingale Hedging I guess
Attached Image
 
 
  • Post #114
  • Quote
  • Apr 12, 2011 12:42pm Apr 12, 2011 12:42pm
  •  plateman
  • | Joined Jan 2010 | Status: Member | 98 Posts
Not just me that likes it then.
 
 
  • Post #115
  • Quote
  • Edited Apr 13, 2011 4:04am Apr 12, 2011 1:06pm | Edited Apr 13, 2011 4:04am
  •  Nicastro
  • | Joined Mar 2010 | Status: Member | 186 Posts
Quoting plateman
Disliked
Not just me that likes it then.
Ignored
There's quite a following.

However, the hedging needs to be looked at as the EA is not hedging properly. I set the max hedge trades to 2, but in one pair managed to get to level six. See screenshot attached. Ideally a L3 trade should be able to be set at a pip distance different and hedge % different from that at the L2 hedge trade.

Further, there are instances of orphan hedge trades that need to be addressed.

More importantly once a hedge is placed, the original order should loose its original TS settings so that an orphan hedge cannot occur.

Finally,it may be a valid point that a hedge trade shouldonly initiate once the corresponding trade in profit is closed.

I hope Mr Hopwood can find the time to to look into
this

Nicastro
Attached Image (click to enlarge)
Click to Enlarge

Name: r&rpic01.gif
Size: 87 KB
 
 
  • Post #116
  • Quote
  • Apr 13, 2011 3:36am Apr 13, 2011 3:36am
  •  hotstorm
  • | Joined Jul 2007 | Status: Member | 148 Posts
Quoting plateman
Disliked
If you are limiting the number of trades then yes, you can finish up with an unhedged trade.
Ignored
I am testing this EA for a couple of days. It does very well but it certainly has a couple of flaws. I am using Alpari UK demo (5 digits). I am using OOTB.

- I am getting piles of invalid stop errors when it tries to modify order, probably caused by trailing stop
- I sometimes end up with naked trade without a hedge. The biggest order remains solitary and that is very dangerous. Default level limit is 6 and I think the EA should never leave only one open order.


The situation example:

0.1 buy
0.2 sell
0.4 buy
0.8 sell
1.6 buy
3.2 sell

That is 2.1 buy and 4.2 sell, altogether we would have 2.1 sell, instead EA for some reason closes the other hedges and we end up with 3.2 sell. So it is 1.1 lots more than if we end up with 2.1 sell (if we keep all orders open).

The problem is when we get to level limit we have no plan what to do.

Also, maybe some sleep time would be good when making orderSend and orderClose.
 
 
  • Post #117
  • Quote
  • Apr 13, 2011 4:19am Apr 13, 2011 4:19am
  •  plateman
  • | Joined Jan 2010 | Status: Member | 98 Posts
Quoting hotstorm
Disliked
I am testing this EA for a couple of days. It does very well but it certainly has a couple of flaws. I am using Alpari UK demo (5 digits). I am using OOTB.

- I am getting piles of invalid stop errors when it tries to modify order, probably caused by trailing stop
- I sometimes end up with naked trade without a hedge. The biggest order remains solitary and that is very dangerous. Default level limit is 6 and I think the EA should never leave only one open order.


The situation example:

0.1 buy
0.2 sell
0.4 buy
0.8 sell
1.6 buy
3.2 sell

That is...
Ignored
Whenever you stop trading you are going to finish up with an unbalanced set of trades, this is how the bot works. Also if you trade a deranged pair in the hope of big profits then you must expect big risks also, I've been trading EURUSD and so far this week it has NEVER reached 0.32 lots. Always be aware of Macmans advice "there is no such thing as a set and forget bot"
I do have an idea to put to Steve but no time today, going out now.
 
 
  • Post #118
  • Quote
  • Apr 13, 2011 4:28am Apr 13, 2011 4:28am
  •  hotstorm
  • | Joined Jul 2007 | Status: Member | 148 Posts
Quoting plateman
Disliked
I've been trading EURUSD and so far this week it has NEVER reached 0.32 lots. Always be aware of Macmans advice "there is no such thing as a set and forget bot" I do have an idea to put to Steve but no time today, going out now.
Ignored
The invalid stops error is a bug.

If you did not reach 0.32 lots that does not mean it won't happen. What is your plan when it happens?
 
 
  • Post #119
  • Quote
  • Apr 13, 2011 5:04am Apr 13, 2011 5:04am
  •  Caillou
  • | Joined Apr 2010 | Status: Member | 1,404 Posts
Quoting brijon
Disliked
7 CURRENCYS MUST BE IN PROFIT MINIMUN BEFORE TAKE 10 PIPS OR GREATER ON 1 CURENCES TAKE PROFIT THEN REPLACE WITH SAME BUY OR SELL CURRENCY

DD IS GREATER THAN 10 % OR MARGIN STOP TRADING WAIT TILL 9 OR MORE CURENCYS ARE IN PROFIT THEN TAKE ONE CURRENCY PROFIT replace with same tradeback on


OR WAIT TILL TOTAL BOTTOM LINE IS PROFIT LIQUITDATE ALL RE START HEDGE

MY OLD SYSTEM WORKS WELL FOR ME

FROM Brian
Ignored
Good Morning,

I´ve been playing since yesterday evening with this Brijon´s system (explained later by JCS), thank you both for that.

And it works for now. What I am doing is this:

1.- Put attached EA on any chart, any TF (I hope that Metacoder does not mind). Until Steve develop the EA, if he thinks the idea could be profitable, this EA from another thread could help us to test that.

2.- OOTB and:
- Exceedence Trigger: 1000
- MaxMarginToUse: X
- ProfitPct: 100

X: determine lot size, depends on account size, account type (mini or standard) and leverage. If I remember well, the formula is:
Lot Size for Standard accounts: X * (Leverage/100) * Account Size / 100.000

So for 500:1, 10.000.-$, MMTU: 2.0, Lot size will be: 1.0

3.- The EA will open 14 trades for 14 pairs. I don´t know if they are the same as 101 but we have a syntetic hedge with these 14 pairs.

4.- We wait for min 7 pairs in profit.

5.- We wait for the biggest winner for more 10 pips. Then we close manually this pair.

6.- The EA inmediately opens the same closed trade.

7.- Repeat since 4.

8.- When DD is bigger than 10%, I stop trading and wait for a DD below 10% and repeat since 4.

For now it works........
Attached Image (click to enlarge)
Click to Enlarge

Name: 1.jpg
Size: 63 KB
Attached File(s)
File Type: mq4 Basket14_02.mq4   35 KB | 312 downloads
 
 
  • Post #120
  • Quote
  • Apr 13, 2011 6:32am Apr 13, 2011 6:32am
  •  jcs
  • | Joined Oct 2010 | Status: Member | 219 Posts
Quoting Caillou
Disliked
Good Morning,

I´ve been playing since yesterday evening with this Brijon´s system (explained later by JCS), thank you both for that.

And it works for now. What I am doing is this:

1.- Put attached EA on any chart, any TF (I hope that Metacoder does not mind). Until Steve develop the EA, if he thinks the idea could be profitable, this EA from another thread could help us to test that.

........
Ignored
Heh Caillou .. Phantom style, I like it

Been doing it manually also and have similar profit / floating loss / equity percentages etc as you

I am still struggling to work out the logic as to how the equity is ever going to exceed the DD when we simply replace one trade for another identical one at basically the same price .... maybe all will become clear after some time ... or not

I keep telling myself Brian says it works !
Anyway this ea is a step closer to full auto
Thanks
 
 
  • Commercial Content
  • /
  • Rinse and Repeat. A hedge trading auto-trader by SteveHopwood
  • Reply to Thread
    • 1 45Page 678 10
    • 1 5Page 67 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