Please Do Not PM Me With Coding Enquiries

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
Disliked{quote} Usually no more than 5, because they are separated by 100 pips,so tp is hit before 5. You can put doubling the Lot size and droping Tp X%(manual) to all a open position atm..Ignored
DislikedThanks Gumrai, im trying to tweak my eas to mimic your ea above; but i get a bunch of errors (im not a coder, yet). So im asking, by any chance, you will post the mq4 file ?Ignored
DislikedGumrai, You have done an amazing job on these EA's......we are all grateful for your time, they would work perfectly on some of my strategies. I would like to ask you something that you might even mentioned somewhere in the posts but I missed.....during the operation of the "add pending orders" ea am I able to run trades of the same pair manually that will not interact with the orders that the ea is running? Like the ea has 6 trades opened of EURUSD and me on my side have another 2-3 manual trades opened of the same pair....let's say hedged....in...Ignored
DislikedSo here's another version. Be warned though, I have hardly been able to do any testing. Problem is when trying to test in real time, market doesn't seem to want to trigger the pending ordersSo if you and maybe a few others test it on demo any problems may come to light that much quicker. This one will open up to 5 pending orders automatically and you can input the Lot size for each pending order If Lotsize is left at zero a pending order will not be opened. So if you only want to open 3 pending orders then you input values for LotSizePT1 to...
Ignored
Disliked{quote} Hi, yes the magic letter allows the EA to keep track of its own trades and it will ignore all other trades. Obviously give it a good test on demo and get back to me with any thoughts on how to make it better. I will probably replace the magic letter with the more normal magic number. When I have the time I will look through it again and see if it can be improved. I was concentrating more on the other version that Xandi wanted with variable lot sizes and so this one got pushed out of mind.Ignored
Disliked{quote} and you are right my friend!!Iīm a friend of 4xpip, he doesnīt mind to wait we finish to focus on this beautiful EA you/we are making!
Ignored
Disliked{quote} Hi, yes the magic letter allows the EA to keep track of its own trades and it will ignore all other trades. Obviously give it a good test on demo and get back to me with any thoughts on how to make it better. I will probably replace the magic letter with the more normal magic number. When I have the time I will look through it again and see if it can be improved. I was concentrating more on the other version that Xandi wanted with variable lot sizes and so this one got pushed out of mind.Ignored
Disliked{quote} Thanks for the response Gumrai.....the letters are ok they do there job no need to change it for number.....that is totally your decision....Ignored
Disliked{quote} I used the magic letter because they are easier to keep track of. When I've been working on my codes I've had quite a few running at the same time and would sometimes have the same magic number assigned to different EAs. That led to some confusion.At the moment, the magic letter variable is only accessed when the EA initialises. It means that the EA doesn't lose track of the order ticket numbers if the platform is shut down for any reason. They are not accessed in the main body of the program and so could be deleted by the terminal...
Ignored
Disliked{quote} Hey bro, I did not ask for any coding....just asked a question....In the future....I have some thoughts in mind....
Ignored
DislikedSo here's another version. Be warned though, I have hardly been able to do any testing. Problem is when trying to test in real time, market doesn't seem to want to trigger the pending ordersSo if you and maybe a few others test it on demo any problems may come to light that much quicker. This one will open up to 5 pending orders automatically and you can input the Lot size for each pending order If Lotsize is left at zero a pending order will not be opened. So if you only want to open 3 pending orders then you input values for LotSizePT1 to...
Ignored
DislikedHi Gumrai, I use the attached script to place buy and sell pending orders (see chart). and i would like to have an ea that replace every closed order( pending order triggered and TP profit reached) by the opposite trade. say for example that i had a EU pending buy order at 1.30 and take profit at 1.302, if this order is triggered and the TP hit the EA will place a pending sell order at 1.30 and TP at 1.298 . the other side is when i have a pending sell order at say 1.296 that got triggered and TP hit at 1.294 , the EA will place an order with a...Ignored
Disliked{quote} Broo, Iīve just read it and it seems better and better!! going o test it hope tonight...I think is only missing the : "if TP his hit delete all pending orders"..very good work bro!!!Ignored
Disliked{quote} it was a temptive of joking!donīt take it serious! ps: Gumrai is Top!! {image}
Ignored
Disliked{quote} Hi Xandi It is included in the code, so once the original trade is closed all related pending orders will be deleted. This should work whether TP is hit or if the trade is closed manually.Ignored