• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 4:38am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:38am
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 45678 Page 9
  • 1 678 Page 9
  •  
  • Post #161
  • Quote
  • Sep 2, 2013 9:28am Sep 2, 2013 9:28am
  •  4xPIPAHOLIC
  • Joined Aug 2009 | Status: Member | 2,576 Posts
Quoting Gumrai
Disliked
A couple of weeks back, I had an incident while working in my garden. I believe that I was bitten/stung by a scorpion or one of Thailand's giant centipedes. {image} Whatever happened, I had an extremely violent reaction including convulsions and seizures. Since then, I have not been able to concentrate properly and my mental state sometimes approaches depression. So I have decided to retire from this thread and will leave you in the capable hands of chjungen. From what I see, he is a much more competent coder than I am, after all, I have only been...
Ignored
Gumrai....sad to see you go....even if I was not a big poster I always followed. How you recuperate soon!
Take care my friend! Thanks for everything!
4x
 
 
  • Post #162
  • Quote
  • Sep 2, 2013 10:23am Sep 2, 2013 10:23am
  •  jvbs
  • | Joined Mar 2012 | Status: Member | 270 Posts
Quoting Gumrai
Disliked
A couple of weeks back, I had an incident while working in my garden. I believe that I was bitten/stung by a scorpion or one of Thailand's giant centipedes. {image} Whatever happened, I had an extremely violent reaction including convulsions and seizures. Since then, I have not been able to concentrate properly and my mental state sometimes approaches depression. So I have decided to retire from this thread and will leave you in the capable hands of chjungen. From what I see, he is a much more competent coder than I am, after all, I have only been...
Ignored
gumrai ... hi, during our life we always have several battles, the important thing is not to lose the war, I hope that mightest overcome this battle very quickly.
all good for gumrai.
JVBS
Work very hard until you get there (excuse my english)
 
 
  • Post #163
  • Quote
  • Jan 2, 2014 6:31pm Jan 2, 2014 6:31pm
  •  xandi
  • Joined Jan 2012 | Status: Loving Nature* | 3,985 Posts
if anyone can help, thanks
http://www.forexfactory.com/showthre...80#post7185680
 
 
  • Post #164
  • Quote
  • Jan 6, 2014 2:54am Jan 6, 2014 2:54am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting xandi
Disliked
if anyone can help, thanks http://www.forexfactory.com/showthre...80#post7185680
Ignored
For some reason, I didn't receive notifications of new posts in this thread. Thanks for your kind thoughts .

Xandi has been in contact recently and as I have been feeling much better, I've had a go at adding the break-even option to the TrailBuy EA. Not having done any coding for a while, it's surprising how rusty one gets! Anyway, I have emailed my code to Xandi and hopefully he will be able to test it. If he wants to post the code here for others to test, if willing, then I will leave that up to him.

I wish everyone good things with their trading in 2014
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #165
  • Quote
  • Feb 2, 2014 3:41am Feb 2, 2014 3:41am
  •  amitkk
  • | Membership Revoked | Joined Aug 2013 | 175 Posts
I want make an ea which having these type.
1. First buy or buystop at price 1.200 and its sl is 0.800 .and then a sellstop order is tigger on 0.900 and its sl should be 1.400 . If the price goes above 1.200 then again buystop order with different lot tigger on 1.300 having sl .600 and again different lot sellstop on .700 having sl 1.500 . Can any one help me
Attached File(s)
File Type: mq4 1484 new.mq4   25 KB | 344 downloads
 
 
  • Post #166
  • Quote
  • Jul 26, 2014 2:53am Jul 26, 2014 2:53am
  •  gridmaster
  • | Joined May 2014 | Status: now non directional trand | 77 Posts
is this thread is alive
 
 
  • Post #167
  • Quote
  • Aug 1, 2014 2:42am Aug 1, 2014 2:42am
  •  gridmaster
  • | Joined May 2014 | Status: now non directional trand | 77 Posts
Quoting Gumrai
Disliked
Ok I've found the issue with having a pending order as the original trade. To be fair, I never considered that it may be necessary to have a pending order as the original trade. I have now made adjustments that allow a pending order as the original trade and this should resolve the problem of it opening market orders. But please remember that any additional pending orders have to be logical when compared to the current price. ie if you have set a pending limit buy at 1.5000 when price is at 1.5100, MT4 will not allow you to set a Buy stop at 1.5050...
Ignored
it open pending order but in this ea there is no option to set grid size and also sl and tp , plz cleraify. regard
 
 
  • Post #168
  • Quote
  • Aug 1, 2014 5:46am Aug 1, 2014 5:46am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting gridmaster
Disliked
{quote} it open pending order but in this ea there is no option to set grid size and also sl and tp , plz cleraify. regard
Ignored
I think that everything is explained in the thread.
I'm not sure what you mean by grid size, unless you mean the input "Step" which defines the distance between orders(as a decimal, not pips).
If the original order has a TP of say 50 pips, pending orders will also have a TP of 50 pips, ditto for SL.
Note that I wrote this EA over a year ago when I was very new to coding, so it may be a bit clumsy.
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #169
  • Quote
  • Mar 13, 2015 7:55am Mar 13, 2015 7:55am
  •  thechampionz
  • | Joined Apr 2013 | Status: Member | 3 Posts
hey i need some help in here..
consider BUYING:
after making my 1st buy originally , and once i set open tickets, steps, stop and magic letter, as soon as i turn my ea (add pending orders) on, not even 1 out of 10 pending orders are made, rather the original buy that i had , tht also gets closed immediately ..
why is that happening.. can u help me.
 
 
  • Post #170
  • Quote
  • Apr 17, 2015 4:27am Apr 17, 2015 4:27am
  •  Lors1606
  • | Joined Apr 2015 | Status: Member | 4 Posts
Dear Friend,

I need your help please.

I need a script/program that can modify the trade of all opened positions of one pair (exclude the pending orders). Because while trading, I will open a lot of positions without put any SL or TP.
But after a lot of position opened, than I want to put SL or TP on all the opened positions. Please note, The SL or TP is not in pips, but in value.
Example:
opened positions for EUR-USD
1.07633
1.07688
1.07564
1.07366
1.07445
1.07555
Then, the market is 1.07568 now

After that, I want to put TP 1.07600 on that all opened positions by single input or click. Is it possible? Because sometimes I placed very much opened orders.
Thank you very much.
 
 
  • Post #171
  • Quote
  • Apr 24, 2015 3:07pm Apr 24, 2015 3:07pm
  •  Dolevardhan
  • | Joined Feb 2015 | Status: Member | 6 Posts
Quoting Gumrai
Disliked
I've done minimal testing on this new version, so looking to you guys to test out on demo and give some feedback on any problems that you may find
Ignored
Sir...I have tested ur New Version its doing well...but I have a problem...Suppose I have closed the 1st trade and open a New trade ..here it should have opened new pending orders/ask to open pending orders....hope what I meant to say.....I mean at any time if I open trade than ur EA should open pending orders as per opned order...plz try to sole this issue..
 
 
  • Post #172
  • Quote
  • Apr 24, 2015 5:56pm Apr 24, 2015 5:56pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Sorry, but I don't remember what this EA is supposed to do. I never used it myself.
I am not doing any further modifications.
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #173
  • Quote
  • Apr 24, 2015 11:32pm Apr 24, 2015 11:32pm
  •  Dolevardhan
  • | Joined Feb 2015 | Status: Member | 6 Posts
File attached...this EA opens 5 pending orders if a trade is manually opened....if the order is buy...the EA opens Pending buy sell/limit orders according to Comment given while opening the original trade.......Actually it works only for 1st order...after closing of 1st order...if i place another trade the EA not placing pending orders. I mean to say could please do some modification so that if i place a new trade at any moment( only one trade) this EA will open pending orders accordingly....hope you will assist...can solve this issue.
Attached File(s)
File Type: ex4 Add Pending and Modify Open Trades v2.ex4   8 KB | 267 downloads
 
 
  • Post #174
  • Quote
  • Sep 15, 2015 12:55am Sep 15, 2015 12:55am
  •  Gambari
  • | Joined Dec 2013 | Status: Member | 29 Posts
Please is it possible to have a trailing pending order that can even work as a hedge, that is I place a Sell Stop and as the price moves a certain amount of pips, the Sell stop also moves and when the Sell stop is taken, a buy stop opens at the distance where the price starts to reverse.
 
 
  • Post #175
  • Quote
  • Oct 7, 2015 2:26am Oct 7, 2015 2:26am
  •  yakaljura1
  • | Joined Oct 2015 | Status: Junior Member | 2 Posts
Hi EA developers,

Can anyone please devlelop a simple ea mt4 for the below example.

if i have opened multiple order 0.1 and 0.2 on eur/usd and gbp/usd with some stoploss and takeprofit. when the 0.1 eur/usd order hit take profit, then open a pending order (if buy order tp hit, then open new pending order with same price, lot size, tp and sl from the take profit hit order and no need open pending order for stoploss hit(you can give boolean property for this AllowSLOpen and AllowTPOpen). And this actions done for specified currency only not all currency, same thing also for sell order too).

Thanks for your help in advance.
Regards,
devan
 
 
  • Post #176
  • Quote
  • Nov 18, 2015 7:43am Nov 18, 2015 7:43am
  •  madshark
  • | Joined Jul 2009 | Status: Member | 11 Posts
hi, how to turn this to set sell limit orders if my first order is sell?
Attached File(s)
File Type: mq4 TrailLimitBuy v1.3.mq4   12 KB | 276 downloads
 
 
  • Post #177
  • Quote
  • Last Post: Feb 6, 2023 7:06am Feb 6, 2023 7:06am
  •  hedgerooster
  • | Joined Feb 2018 | Status: Member | 40 Posts
Hello, I need something pretty simple that just changes the TP of an order once another new order has been activated. Does anyone know of a working ea that can do that?
 
 
  • Platform Tech
  • /
  • Change "Open Order TP(target)" if other pending order triggered
  • Reply to Thread
    • 1 45678 Page 9
    • 1 678 Page 9
0 traders viewing now
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