Manager for 10.3 trades

Share your individual manual NB 10.x trading ideas here.
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Manager for 10.3 trades

Post by fxozgirl »

gaheitman wrote: The code only manages trades with a matching MagicNumber (the default is 0) that are in profit. I wouldn't think a pending order would have a profit, but I don't know that I've ever called OrderProfit() to see. :)

You are just running it on one chart, right?

Steve should probably add the standard "while trade context busy" check prior to the OrderModify() function to make sure this doesn't happen.

George

I have attached the EA to each chart that I was setting a pending order for. It managed all the jumps properly once the trade is opened, just keeps displaying this error on the pending trades.
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: Manager for 10.3 trades

Post by SteveHopwood »

fxozgirl wrote:
gaheitman wrote: The code only manages trades with a matching MagicNumber (the default is 0) that are in profit. I wouldn't think a pending order would have a profit, but I don't know that I've ever called OrderProfit() to see. :)

You are just running it on one chart, right?

Steve should probably add the standard "while trade context busy" check prior to the OrderModify() function to make sure this doesn't happen.

George

I have attached the EA to each chart that I was setting a pending order for. It managed all the jumps properly once the trade is opened, just keeps displaying this error on the pending trades.
Is your cpu screaming and emitting blue smoke, perchance? It should be, especially if you have AlwaysOn at its default of true. :lol:

This is a multi-pair manager, Shelley. Each instance of the bot you had running was trying to manage every open trade. When the stops needed moving, each instance tried to move the stop at the same time.

You only need one bot running.

: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
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: Manager for 10.3 trades

Post by fxozgirl »

SteveHopwood wrote:
fxozgirl wrote:
gaheitman wrote: The code only manages trades with a matching MagicNumber (the default is 0) that are in profit. I wouldn't think a pending order would have a profit, but I don't know that I've ever called OrderProfit() to see. :)

You are just running it on one chart, right?

Steve should probably add the standard "while trade context busy" check prior to the OrderModify() function to make sure this doesn't happen.

George

I have attached the EA to each chart that I was setting a pending order for. It managed all the jumps properly once the trade is opened, just keeps displaying this error on the pending trades.
Is your cpu screaming and emitting blue smoke, perchance. It should be, especially if you have AlwaysOn at its default of true. :lol:

This is a multi-pair manager, Shelley. Each instance of the bot you had running was trying to manage every open trade. When the stops needed moving, each instance tried to move the stop at the same time.

You only need one bot running.

:D

Well, that explains sooooo many things :oops:


:lol: :lol: :lol: :lol: :lol:

thanks Steve ;)
vishal29982
Posts: 1
Joined: Fri Aug 16, 2013 7:06 am

Re: Manager for 10.3 trades

Post by vishal29982 »

You are just running it on one chart, right?
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Manager for 10.3 trades

Post by milanese »

vishal29982 » Tue Apr 22, 2014 4:19 pm wrote:You are just running it on one chart, right?
Yes it is supposed to set to only one chart because it is a multi-pair manager, so it will manage all trades so long as they have the same magic number as in the MagicNumber input.

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Post Reply

Return to “Manual 10.x trading”