• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 7:40am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:40am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Oanda "Order triggered but could not be completed..." 5 replies

EA that cancels non-triggered pending orders 3 replies

script to "close open orders" and "open opposite orders" 3 replies

Close other pending order when one is triggered 0 replies

Trailing Open Order triggered EA 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 44
Attachments: Change "Open Order TP(target)" if other pending order triggered
Exit Attachments
Tags: Change "Open Order TP(target)" if other pending order triggered
Cancel

Change "Open Order TP(target)" if other pending order triggered

  • Last Post
  •  
  • 1 2Page 3456 9
  • 1 2Page 34 9
  •  
  • Post #41
  • Quote
  • Jul 14, 2013 6:01pm Jul 14, 2013 6:01pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
until now, perfect...
Attached Image (click to enlarge)
Click to Enlarge

Name: Sem título.JPG
Size: 148 KB
 
 
  • Post #42
  • Quote
  • Jul 14, 2013 6:14pm Jul 14, 2013 6:14pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
Quoting xandi
Disliked
until now, perfect... {image}
Ignored
it was not triggered by 1 pip!!grrr
until now itīs a beauty!!
 
 
  • Post #43
  • Quote
  • Jul 14, 2013 6:27pm Jul 14, 2013 6:27pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
perfect Gumrai, was triggered and open position change TP..even with modifications by myown on Price and TP on the pending order!!!
Beauty, flexibility!! I start to think you achieved here the magic dream!!!
Attached Image (click to enlarge)
Click to Enlarge

Name: Sem título.JPG
Size: 152 KB
 
 
  • Post #44
  • Quote
  • Jul 14, 2013 6:38pm Jul 14, 2013 6:38pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
tp at 60 hit, all the pending orders deleted!!! beautiful
Attached Image (click to enlarge)
Click to Enlarge

Name: Sem título.JPG
Size: 119 KB
 
 
  • Post #45
  • Quote
  • Jul 16, 2013 9:40am Jul 16, 2013 9:40am
  •  minute
  • | Joined Jun 2006 | Status: Member | 377 Posts
Im putting this in the ea thread since I didn't want to clutter up the other one.

I'm having problems getting this ea to create pending orders. No matter what settings I put, it places market orders even though the original order is not entered yet. Any ideas. Im with a 5 digit broker oanda, don't know if that makes a difference.

are my settings obviously wrong? Im following the example as best I can.

With these settings I end up with 5 orders in the market immediately
Attached Image
 
 
  • Post #46
  • Quote
  • Jul 16, 2013 10:17am Jul 16, 2013 10:17am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting minute
Disliked
Im putting this in the ea thread since I didn't want to clutter up the other one. I'm having problems getting this ea to create pending orders. No matter what settings I put, it places market orders even though the original order is not entered yet. Any ideas. Im with a 5 digit broker oanda, don't know if that makes a difference. are my settings obviously wrong? Im following the example as best I can. With these settings I end up with 5 orders in the market immediately {image}
Ignored
Hi,
Need a bit more information
In your example, what pair were you trading?
You say that the original order is not entered yet, but you have entered a ticket number in OpenTicket. What does this ticket number relate to?
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #47
  • Quote
  • Jul 16, 2013 11:06am Jul 16, 2013 11:06am
  •  minute
  • | Joined Jun 2006 | Status: Member | 377 Posts
Hi, i was trading aud jpy. What I meant by not entered yet, was that it was a pending order. This pending order had not been triggered. I referenced it in the ea settings, and when I hit Ok ea opened the 5 market orders.
 
 
  • Post #48
  • Quote
  • Jul 16, 2013 11:12am Jul 16, 2013 11:12am
  •  minute
  • | Joined Jun 2006 | Status: Member | 377 Posts
Ok, I get it now. You cant use with pending order, must have order in the market, otherwise produces this behaviour. thanks.
 
 
  • Post #49
  • Quote
  • Jul 16, 2013 11:32am Jul 16, 2013 11:32am
  •  minute
  • | Joined Jun 2006 | Status: Member | 377 Posts
Managed to get the pending orders in. But Take Profit is showing 0.00, ie not set in the triggered order. I have adjust TP set to true. Am I doing something else wrong>
 
 
  • Post #50
  • Quote
  • Jul 16, 2013 6:58pm Jul 16, 2013 6:58pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Minute,
I have tried and tried, but I find it impossible to get the EA to open pending orders unless the original trade is open. It will not open any pending orders if the input "OpenTicket" is a pending order.
Please check your trade history and confirm that ticket number 88298097 was a pending order.
Better still if you could attach an image of your trade history showing just the relevant trades.

I can only imagine that the problem has something to do with you setting the step at only 0.01 which is just 1 pip on AUDJPY. It may be that market was just far enough away to allow opening of the pending orders and that they were almost immediately triggered
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #51
  • Quote
  • Jul 16, 2013 7:06pm Jul 16, 2013 7:06pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting minute
Disliked
Managed to get the pending orders in. But Take Profit is showing 0.00, ie not set in the triggered order. I have adjust TP set to true. Am I doing something else wrong>
Ignored

Did you have a TP set in the original order when you entered the OpenTicket?
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #52
  • Quote
  • Jul 16, 2013 7:39pm Jul 16, 2013 7:39pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
hey broīs!!! minute, have you got the Expert adviser enable?? you have the smile face on upscreen? you have paramether Live trading as I wrote on my thread!??

you must have open position, with TP inserted..

the step is decimal, for example on audusd, if you want a 100 pips gap, you must put step 0.01.
after that, you choose the step and also configurations as I posted in printscreen.

and even after the pending orders are inserted by EA, you can modifi LOT size and TP on all of them!!

REMEMBER you have to have your computer on with chart rolling, in order to EA work..

thanks thanks thanks gumrai, until now, Iīm finding this EA perfect!! you have done an amazing job!!
 
 
  • Post #53
  • Quote
  • Jul 16, 2013 8:23pm Jul 16, 2013 8:23pm
  •  4xPIPAHOLIC
  • Joined Aug 2009 | Status: Member | 2,576 Posts
Hello Gumrai,

I have been using the "add pending and modify open trades" with great success! Amazing EA!
Initially I had the same problem of tp not in place but the problem was mine cause first you have to set the tp in the original trade and then enable the ea.
One thing Gumrai...the magic letters do not appear in the comment area when the trades are triggered....that is the way it suppose to be?
 
 
  • Post #54
  • Quote
  • Jul 16, 2013 8:42pm Jul 16, 2013 8:42pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting xandi
Disliked
and even after the pending orders are inserted by EA, you can modifi LOT size and TP on all of them!! !
Ignored
Hi Xandi,

Maybe you meant to type "modify STOPLOSS size and TP on all of them".
Unfortunately, for some reason, MT4 does not allow you to modify Lot size on pending orders. If you want to change the Lot size, you have to delete the PO and set a new one.
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #55
  • Quote
  • Jul 16, 2013 8:47pm Jul 16, 2013 8:47pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting 4xPIPAHOLIC
Disliked
One thing Gumrai...the magic letters do not appear in the comment area when the trades are triggered....that is the way it suppose to be?
Ignored
I'm currently working on an updated version and will look to include this.
Any other improvements that you can think of?
Please post suggestions and I will see what I can do
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #56
  • Quote
  • Jul 16, 2013 8:48pm Jul 16, 2013 8:48pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
Quoting Gumrai
Disliked
{quote} Hi Xandi, Maybe you meant to type "modify STOPLOSS size and TP on all of them". Unfortunately, for some reason, MT4 does not allow you to modify Lot size on pending orders. If you want to change the Lot size, you have to delete the PO and set a new one.
Ignored
sorry gumrai, I was think about that..I mistaken while wrtiting..I mean you can Modify Price Entry and TP...not Lot size obvious..
 
 
  • Post #57
  • Quote
  • Jul 16, 2013 8:51pm Jul 16, 2013 8:51pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
Quoting 4xPIPAHOLIC
Disliked
Hello Gumrai, I have been using the "add pending and modify open trades" with great success! Amazing EA! Initially I had the same problem of tp not in place but the problem was mine cause first you have to set the tp in the original trade and then enable the ea. One thing Gumrai...the magic letters do not appear in the comment area when the trades are triggered....that is the way it suppose to be?
Ignored
itīs incredible, isnīt it???

bro, I was thiking in the way the EA can be activated if the pending order is triggered...itīs really not possible?
I think itīs the only thing missing, by now! this work is genius, bro!!!
and best of all, money machine have you tried gumrai?
 
 
  • Post #58
  • Quote
  • Jul 16, 2013 9:06pm Jul 16, 2013 9:06pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting xandi
Disliked
{quote} itīs incredible, isnīt it??? bro, I was thiking in the way the EA can be activated if the pending order is triggered...itīs really not possible? I think itīs the only thing missing, by now! this work is genius, bro!!! and best of all, money machine have you tried gumrai?
Ignored
I don't actually use it in my trading. Mind you I don't seem to be trading so much at the moment as I've been trying to improve on my coding.

What I really need is an EA to do my trading for me while I concentrate on coding EAs
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #59
  • Quote
  • Jul 16, 2013 9:11pm Jul 16, 2013 9:11pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
ups..I tried to put the ticket of the pending order that I wish if activated to trigger the EA, and immediattly it open all positions of the EA!! hehehheeheh, was on demo!!
ok, with this itīs not possible...bro, for me, itīs not so important, it has I would say 10% importance on the strategye, since it will be more automatic...

The other thing is regarding take profit...I was looking to add also this:

If TP is hit, delete all pending (already do that), and insert 1 pending buy order, letīs say, 50 pips below the TP hit(if we are longing, and the opposite if we are shorting)...

once again, many thanks for everything bro, when you have all this, you only will have to click "play" and cash in.
 
 
  • Post #60
  • Quote
  • Edited 9:49pm Jul 16, 2013 9:31pm | Edited 9:49pm
  •  4xPIPAHOLIC
  • Joined Aug 2009 | Status: Member | 2,576 Posts
Quoting xandi
Disliked
{quote} itīs incredible, isnīt it??? bro, I was thiking in the way the EA can be activated if the pending order is triggered...itīs really not possible? I think itīs the only thing missing, by now! this work is genius, bro!!! and best of all, money machine have you tried gumrai?
Ignored
Hi bro! Really useful! I had started trading a system that uses the cloud about a month ago(with renko bars) and it fit like a glove.
When all work is done if Gumrai likes I will show him the system in case he wants to automate it.....
Now the system still needs work but once I show it to you you will see why it looks that it can go the long run.....
But for now still demo......

Oh yeah....and there is pyramiding in it too, but I never to date passed the second or third level(limit order).....but like I said it is still fresh....

4x
 
 
  • Platform Tech
  • /
  • Change "Open Order TP(target)" if other pending order triggered
  • Reply to Thread
    • 1 2Page 3456 9
    • 1 2Page 34 9
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023