molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 17, 2024 9:13 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: open Position
PostPosted: Sat Jan 14, 2012 11:07 am 
Offline

Joined: Wed Nov 30, 2011 10:41 am
Posts: 8
i work with 1 open Position and with pending order
Now is the problem at the same time is only 1 pending order open, that correct
but when the pending order buy a position, than creat my EA still pending orders.

I would like if the EA has purchased an Position, then the pending orders are no longer generated.
Is that possible?


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Sun Jan 15, 2012 10:49 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Not possible with the current version. In the next version we will have an option that tells you the number of open positions so you will be able to create that trading condition.


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Sun Jan 15, 2012 12:10 pm 
Offline

Joined: Wed Nov 30, 2011 10:41 am
Posts: 8
when the new version be available?


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Mon Jan 16, 2012 9:47 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
We still don't have a final date.


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Mon Nov 18, 2013 1:51 pm 
Offline

Joined: Wed Aug 28, 2013 5:55 pm
Posts: 8
Hi molanisfx

Can you Kindly assist with the following.

Im Using MSB Version 3.1

But I feel stuck, can you please help.

Im having the same issue with Pending Orders, Every time a Condition is true it will open another pending order over and over, also when a position is open.

I would like my EA to do the following.

- Do not open another pending order if one already exist, when all Conditions are True on any tick.

- Do not Open Pending Order if a Position is open, Buy or Sell on any tick.

Note: I have the maximum number of positions set to 1.

The BUYP function is a very important factor with my trading strategy.

Thanks in Advance.


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Mon Nov 18, 2013 4:50 pm 
Offline

Joined: Wed Aug 28, 2013 5:55 pm
Posts: 8
molanisfx wrote:
We still don't have a final date.

Hi molanisfx

Can you Kindly assist with the following.

Im Using MSB Version 3.1

But I feel stuck, can you please help.

Im having the same issue with Pending Orders, Every time a Condition is true it will open another pending order over and over, also when a position is open.

I would like my EA to do the following.

- Do not open another pending order if one already exist, when all Conditions are True on any tick.

- Do not Open Pending Order if a Position is open, Buy or Sell on any tick.

Note: I have the maximum number of positions set to 1.

The BUYP function is a very important factor with my trading strategy.

Thanks in Advance.


Top
 Profile  
 
 Post subject: Re: open Position
PostPosted: Tue Nov 19, 2013 9:15 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Same behavior as described before. The position counter is independent for open and pending orders. After a pending order becomes a market order is not counted as a pending order. The next release will bring some function that will help you to do what you want. Unfortunately the development has been really complex and is taking more than expected


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009