OAW - dudest spin

pt2004
Trader
Posts: 40
Joined: Sun Nov 27, 2011 3:12 pm
Location: Portugal

OAW - dudest spin

Post by pt2004 »

Hi all,

Anyone still using this ea ??

It is working ok for me, demo GPrime http://www.myfxbook.com/members/pt2004/ ... est/900437 , using ATR based trails .
Only problem is , some times it opens only some pairs, no errors, could it be the start time being the same for all pairs? It would be good if we could also adjust the starting minutes, so we set different starting times for all pairs by 1 minute... This is only my guess, i understand nothing about coding... :oops: :oops: :oops:


Best Regards

PT
User avatar
lazypips
Trader
Posts: 16
Joined: Sun Jul 08, 2012 4:01 pm

OAW - dudest spin

Post by lazypips »

Looks like that EA has been erased :o
pt2004
Trader
Posts: 40
Joined: Sun Nov 27, 2011 3:12 pm
Location: Portugal

OAW - dudest spin

Post by pt2004 »

trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

OAW - dudest spin

Post by trader689 »

hi can i ask you more about the ATR based trails. i cannot find that option in the EA, are you using an trade manager EA? if so do you mind sharing settings. thanks
pt2004 » Fri Jun 06, 2014 2:41 pm wrote:Hi all,

Anyone still using this ea ??

It is working ok for me, demo GPrime http://www.myfxbook.com/members/pt2004/ ... est/900437 , using ATR based trails .
Only problem is , some times it opens only some pairs, no errors, could it be the start time being the same for all pairs? It would be good if we could also adjust the starting minutes, so we set different starting times for all pairs by 1 minute... This is only my guess, i understand nothing about coding... :oops: :oops: :oops:


Best Regards

PT
dudest
Trader
Posts: 1847
Joined: Tue May 08, 2012 2:37 pm

OAW - dudest spin

Post by dudest »

pt2004 » Fri Jun 06, 2014 5:41 pm wrote:Hi all,

Anyone still using this ea ??

It is working ok for me, demo GPrime http://www.myfxbook.com/members/pt2004/ ... est/900437 , using ATR based trails .
Only problem is , some times it opens only some pairs, no errors, could it be the start time being the same for all pairs? It would be good if we could also adjust the starting minutes, so we set different starting times for all pairs by 1 minute... This is only my guess, i understand nothing about coding... :oops: :oops: :oops:


Best Regards

PT
Goodstuff PT!

I still haven't managed to figure out why sometimes some pairs do not open trades :| :|

Unfortunately I've been a bit caught up, haven't had much time to decode a few things I'd like

Trailing is always a great way to lock-in profit! Do you mind sharing your ATR trail settings?

Thanks for posting your progress!

Cheers

PS: I have uploaded the EA also to post #1 of this thread to avoid confusion in looking for it

.
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.

OAW - dudest spin

Post by SteveHopwood »

dudest » Sat Jun 07, 2014 8:51 am wrote:
Goodstuff PT!

I still haven't managed to figure out why sometimes some pairs do not open trades :| :|

Unfortunately I've been a bit caught up, haven't had much time to decode a few things I'd like

Trailing is always a great way to lock-in profit! Do you mind sharing your ATR trail settings?

Thanks for posting your progress!

Cheers

PS: I have uploaded the EA also to post #1 of this thread to avoid confusion in looking for it

.
I cannot see why the ea occasionally fails to fire a trade either. I suppose, check that your history tab is empty of trades with the same magic number.

I noticed a bloop - just the kind of thingy I do.
Lines 362 & 363 are
// Check Trades
for (int cc = OrdersHistoryTotal() - 1; cc >= 0; cc--)

which means the bot is checking history twice.
// Check Trades
for (int cc = OrdersTotal() - 1; cc >= 0; cc--)

is what you need.

int CheckTradesOnStart( int op_type ) is only called from init(). Once a trade is sent, then it only returns -1 again after a restart - and this is the only time that long_ticket_number and its partner are set to -1. I suppose a dim possibility is that the program was not restarted since the previous trade, so long_ticket_number etc are not reset to -1, stopping a trade.

FWIW, this ea is in danger of sending multiple small trades if the user is with a less-than-reputable broker. What happens is this: the ea sends the trade and it shows up instantly in your trading window; this is a mirage as the trade has not yet returned from the criminal's server; come the next tick, the ea sees it has not traded yet and that the conditions are there for a trade, and so trades. This process can be repeated many times and you end up with umpteen trades and a margin call.

You need Matt Kennel's OrderReliable code to overcome this - you will find it in all of my ea's. Sing out if it confuses you and I will add it - I would do so automatically were I to use this ea live anyway, so it is not much bother for me.

:xm:
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.

OAW - dudest spin

Post by SteveHopwood »

I just made the change to CheckTradesOnStart and realise that your bloop does not mean that the ea is checking the history twice. It is checking the open trades, but starting from the wrong trade. Still don't know if this is what stops the occasional trade. :arrrg:

:xm:
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.
Post Reply

Return to “Automated trading systems”