stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Shelley's multi-pair basket trader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=583
Page 8 of 87
Author:  spybreak [ Thu May 24, 2012 5:16 pm ]
Post subject:  Re: Shelley's multi-pair basket trader

Wowh , what a nice start !! :o :D

13 trades this morning, lots 0.02 + 89.39$ , i like it :mrgreen:

thanks for Shelley and SteveHopwood for this gift ;)
Author:  garyfritz [ Thu May 24, 2012 5:19 pm ]
Post subject:  Re: Shelley's multi-pair basket trader

Spot, I suspect you might be right for 5-digit crims but not for 4-digit. I *think* Point is supposed to be the smallest increment the price can change. For 5-digit crims it's 0.00001, but I think for 4-dig it should be 0.0001. Scoobs' original code may have been written for 4-digit and it can't handle 5.

Might have to do something like:

Code: Select all

    double point  = 0.01;
    if(digits > 3)
    {
      point = 0.0001;
    }
    if(digits == 3 || digits == 5)
        point = point / 10.0;
Author:  spotdespot [ Thu May 24, 2012 5:43 pm ]
Post subject:  Re: Shelley's multi-pair basket trader

garyfritz wrote:Spot, I suspect you might be right for 5-digit crims but not for 4-digit. I *think* Point is supposed to be the smallest increment the price can change. For 5-digit crims it's 0.00001, but I think for 4-dig it should be 0.0001. Scoobs' original code may have been written for 4-digit and it can't handle 5.

Might have to do something like:

Code: Select all

    double point  = 0.01;
    if(digits > 3)
    {
      point = 0.0001;
    }
    if(digits == 3 || digits == 5)
        point = point / 10.0;
Yes - you're right Gary - good call. Normally Steve deals with the 4/5 and even allows for 6 and 7 digit crims differently but it seems not for the "basket cases" :lol: (or this one anyway).

Cheers,
Dave.
Author:  harry45 [ Thu May 24, 2012 5:51 pm ]
Post subject:  Re: Shelley's multi-pair basket trader

garyfritz wrote:Spot, I suspect you might be right for 5-digit crims but not for 4-digit. I *think* Point is supposed to be the smallest increment the price can change. For 5-digit crims it's 0.00001, but I think for 4-dig it should be 0.0001. Scoobs' original code may have been written for 4-digit and it can't handle 5.

Might have to do something like:

Code: Select all

    double point  = 0.01;
    if(digits > 3)
    {
      point = 0.0001;
    }
    if(digits == 3 || digits == 5)
        point = point / 10.0;
Thank You Gary,it helps.
Regards
Author:  vivaldi [ Thu May 24, 2012 8:17 pm ]
Post subject:  Re: Shelley's multi-pair basket trader

Hallo Steve,
As to the problem of iCustom(..........) and a lot of input parameters. I found out, that if you omit them all in the call 'iCustom(.) , it works fine. Your receiving program then takes the external inputs of the indicator as defaults and produces a valid buffervalue.
Regards,
Vivaldi
Author:  kelisa [ Fri May 25, 2012 1:02 am ]
Post subject:  Re: Shelley's multi-pair basket trader

Hi Steve or any expert programmers,

After I drop the EA onto the chart, I cant get into its properties. It just wouldnt open. Could it be my Empty4 version issue? Any help would be appreciated. :)
Author:  rekfo [ Fri May 25, 2012 1:14 am ]
Post subject:  Re: Shelley's multi-pair basket trader

kelisa wrote:Hi Steve or any expert programmers,

After I drop the EA onto the chart, I cant get into its properties. It just wouldnt open. Could it be my Empty4 version issue? Any help would be appreciated. :)
make sure it in folder experts and close and reopen Empty4
Author:  rekfo [ Fri May 25, 2012 1:15 am ]
Post subject:  Re: Shelley's multi-pair basket trader

spybreak wrote:Wowh , what a nice start !! :o :D

13 trades this morning, lots 0.02 + 89.39$ , i like it :mrgreen:

thanks for Shelley and SteveHopwood for this gift ;)
spybreak what time do you start shelley expert?
Author:  garyfritz [ Fri May 25, 2012 2:42 am ]
Post subject:  Re: Shelley's multi-pair basket trader

No refko, that's not it. I've got the same thing. The EA runs just fine, opens orders, etc, but you can't open the properties on it. I've seen this before but I'm not sure what causes it. I'm guessing it might be something about the EA sleeping and not responding to the properties request?

I opened a basket just before noon NY = 4pm London. It ran up to about $350 open profit then gave most of it back by 5pm NY. I closed it out at 10pm NY and I'll try the London open tomorrow.

Would be interesting to follow & chart the open equity throughout the day to see if there are any repeating patterns, or if it's semi-random. The way this bot works I think you'd have to open a new basket every hour but it would be interesting to see how it works.
Author:  rekfo [ Fri May 25, 2012 3:32 am ]
Post subject:  Re: Shelley's multi-pair basket trader

garyfritz wrote:No refko, that's not it. I've got the same thing. The EA runs just fine, opens orders, etc, but you can't open the properties on it. I've seen this before but I'm not sure what causes it. I'm guessing it might be something about the EA sleeping and not responding to the properties request?

I opened a basket just before noon NY = 4pm London. It ran up to about $350 open profit then gave most of it back by 5pm NY. I closed it out at 10pm NY and I'll try the London open tomorrow.

Would be interesting to follow & chart the open equity throughout the day to see if there are any repeating patterns, or if it's semi-random. The way this bot works I think you'd have to open a new basket every hour but it would be interesting to see how it works.
Than you can remove and put the ea again and setting the properties
All times are UTC Page 8 of 87