dsugums 6 pip auto-trader by 'im again

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: dsugums 6 pip auto-trader by 'im again

Post by SteveHopwood »

hiredwhip wrote:I hate to bring this up Steve, but you forget how long I've been on your threads.....You've already done forms of this strategy at least twice....Scoobs sent you a version that you coded that worked pretty well with a pdf file etc.....I'll send my bird dog after it........

Have a great evening

whip
Hehe. Probably. Thing is, when you code at least 7 EA's a week and have the memory capacity of a sea-snail, then it is easy to forget an EA you coded a year ago. Or last week. Yesterday, sometimes.

I have a current EA development folder with what looks like a couple of hundred ea's in ti. The current platforms experts folder has an archive with a few hundred more. Then I have an overall archive that looks like having quite a lot of stuff in it as well.

I am not always able to lay my hand immediately on just that ea that did just what I wanted.

Hehe. And people still think I should save different version numbers. :lol:

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: dsugums 6 pip auto-trader by 'im again

Post by SteveHopwood »

Antra wrote:OMG even I am tempted to start playing with EA's.....this one seems very nifty. Thanks.

( does this mean I am going over to the dark side? :-) )
Take the suicide pill now, or risk being dragged in............................

The Dark Side's tentacles are everywhere........................................

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Re: dsugums 6 pip auto-trader by 'im again

Post by dsugums »

Hi Steve

Thanks for coding the EA in lightning speed. Told you it can be done in a jiffy :D

OK, the EA CANNOT be backtested, so can't do any curve testing. So, only way to do it forward testting. I have done it manually but the 5-6pips only appears few seconds! My fingers not fast enough to close the trades using script.

EU, UCHF and ECHF are hedged one another. Once opened, the trades will be moving in twilight zone and suddenly, boomed, you get 5-6pips (or $) in profit for few seconds. Grab it and run the trades again. I will not opened any new trades after US closes because the spreads increases but eventually will normalised.

Only EA can do this trades. Let it run on demo and see how the trades behave. Other combinations includes:

EU, EJ, UJ

Try out other combs as well.
Image
Image
mbkennel
Trader
Posts: 29
Joined: Tue Dec 20, 2011 5:40 am

Re: dsugums 6 pip auto-trader by 'im again

Post by mbkennel »

I'm skeptical there will be any exploitable triangular arbitrage available with real money.

The EA may *seem* to believe that you have it, but remember, that the EA has to be attached to a single chart, and the start() function is only executed when there is a tick on THAT chart. So you may think that you have an arbitrage but it is only because of the intriniscally inadequate infrastructure & design of Empty4. (As in it was made to be easy for amateurs to do simple stuff---pros have real time systems which cost lots of money and full time crack PHDs and real-time software engineers babysitting the codes).

And so even if you get something, there will be 'magically' slippage on just those events which counteracts it, which is just an indication that you got a stale quote, and not a full set of N quotes for which you are guaranteed tradability to a certain size for a certain # of milliseconds. (If you got such a thing, they would make you pay in spread to cover their risk, note that ECN brokers do not guarantee no-slip tradability for this very reason.)

In any case make sure there is liberal use of RefreshRates() throughout the code. If that makes a big difference, then be afraid.

This may turn out to be a great EA to be "sold" which performs on demo and fails on real.

Sorry to be a party-pooper, but exploiting transient anomalies in pricing is not something that we can do, when there are Very Powerful Gorillas With Lots of Money Who Do This For a Living.
"It is a capital mistake to theorize before one has data." Sir Arthur Conan Doyle.
"If your experiment needs statistics, you ought to have done a better experiment" Lord Rutherford.
mbkennel
Trader
Posts: 29
Joined: Tue Dec 20, 2011 5:40 am

Re: dsugums 6 pip auto-trader by 'im again

Post by mbkennel »

SteveHopwood wrote: I am not always able to lay my hand immediately on just that ea that did just what I wanted.

Hehe. And people still think I should save different version numbers. :lol:

:D
[/quote]

Actually, you really should be using source code control software. Which I'm sure is the very thing you've been looking forward to studying on the weekend :lol: :lol:
Last edited by mbkennel on Tue Jan 31, 2012 1:18 am, edited 1 time in total.
"It is a capital mistake to theorize before one has data." Sir Arthur Conan Doyle.
"If your experiment needs statistics, you ought to have done a better experiment" Lord Rutherford.
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Re: dsugums 6 pip auto-trader by 'im again

Post by dsugums »

mbkennel wrote:I'm skeptical there will be any exploitable triangular arbitrage available with real money.

The EA may *seem* to believe that you have it, but remember, that the EA has to be attached to a single chart, and the start() function is only executed when there is a tick on THAT chart. So you may think that you have an arbitrage but it is only because of the intriniscally inadequate infrastructure & design of Empty4. (As in it was made to be easy for amateurs to do simple stuff---pros have real time systems which cost lots of money and full time crack PHDs and real-time software engineers babysitting the codes).

And so even if you get something, there will be 'magically' slippage on just those events which counteracts it, which is just an indication that you got a stale quote, and not a full set of N quotes for which you are guaranteed tradability to a certain size for a certain # of milliseconds. (If you got such a thing, they would make you pay in spread to cover their risk, note that ECN criminals do not guarantee no-slip tradability for this very reason.)

Try it out and see if it works. worst case, u loose the spreads


In any case make sure there is liberal use of RefreshRates() throughout the code. If that makes a big difference, then be afraid.

This may turn out to be a great EA to be "sold" which performs on demo and fails on real.

Sorry to be a party-pooper, but exploiting transient anomalies in pricing is not something that we can do, when there are Very Powerful Gorillas With Lots of Money Who Do This For a Living.
Image
Image
blahn
Trader
Posts: 53
Joined: Wed Nov 30, 2011 2:39 am

Re: dsugums 6 pip auto-trader by 'im again

Post by blahn »

If we were using pure hedges that might be true, but since we're working with synthetic/correlated hedges, it makes sense. All the synthetic hedges we trade will naturally drift apart, sometimes by a pretty large amount, come back together and then drift the other direction. That pip spread that widens and shrinks between correlated pairs is what makes it work. I'm going to guess that the reason dsugum has trouble being quick enough to grab the profit is because he's entering randomly instead of watching the pairs shift apart. When I trade correlated pairs I use dreamliners ideas he started here, along with other tools, correlation charts etc that developed later in his thread.

http://www.forexfactory.com/showthread.php?t=160912

If we were to put some code in which would monitor the pip spread between all 3 pairs, and only initiate the hedge after they had drifted apart a while, we would see a result much faster than randomly starting it. we would also need to initiate the hedges in the opposite direction of the drift.


mbkennel wrote:I'm skeptical there will be any exploitable triangular arbitrage available with real money.

The EA may *seem* to believe that you have it, but remember, that the EA has to be attached to a single chart, and the start() function is only executed when there is a tick on THAT chart. So you may think that you have an arbitrage but it is only because of the intriniscally inadequate infrastructure & design of Empty4. (As in it was made to be easy for amateurs to do simple stuff---pros have real time systems which cost lots of money and full time crack PHDs and real-time software engineers babysitting the codes).

And so even if you get something, there will be 'magically' slippage on just those events which counteracts it, which is just an indication that you got a stale quote, and not a full set of N quotes for which you are guaranteed tradability to a certain size for a certain # of milliseconds. (If you got such a thing, they would make you pay in spread to cover their risk, note that ECN criminals do not guarantee no-slip tradability for this very reason.)

In any case make sure there is liberal use of RefreshRates() throughout the code. If that makes a big difference, then be afraid.

This may turn out to be a great EA to be "sold" which performs on demo and fails on real.

Sorry to be a party-pooper, but exploiting transient anomalies in pricing is not something that we can do, when there are Very Powerful Gorillas With Lots of Money Who Do This For a Living.
dsugums
Trader
Posts: 117
Joined: Mon Jan 30, 2012 9:57 pm

Re: dsugums 6 pip auto-trader by 'im again

Post by dsugums »

Some slight changes to the EA. The setting need to be changed to EU (buy), USDCHF (Buy) and ECHF (Sell).

Not sure if makes any difference, but I tested it using that actually.
Image
Image
User avatar
Alpenkorps
Trader
Posts: 213
Joined: Thu Dec 15, 2011 4:03 am

Re: dsugums 6 pip auto-trader by 'im again

Post by Alpenkorps »

Awesome ... Toys are always welcome :D
Thanks to Steve and Dsugums.
Mounted on my penny account, lets see.
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
User avatar
Alpenkorps
Trader
Posts: 213
Joined: Thu Dec 15, 2011 4:03 am

Re: dsugums 6 pip auto-trader by 'im again

Post by Alpenkorps »

blahn wrote:That pip spread that widens and shrinks between correlated pairs is what makes it work.
I didn't get your point properly. Selling EU, UC and buying EC is like Selling EC then buying EC again. So how does pip spread between Euro and CHF works?

The idea behind pip spread is selling EU and Selling UC or the opposite to make profit when their correlation fractuate. I am doing this successfully between Euro and GBP. I wonder if this is possible for 3 pairs?
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
Post Reply

Return to “Automated trading systems”