Dear @jstap . Thank you so much, now it works ! it creates buys and sells as intended. There was a need for an additional sell pending order on the "buy trade tree"
and a buy pending order on the "sell trade tree", please see bellow.
Thank you so much for your help !
Posts made by styleflesh
-
RE: Need help in setting pending ordersposted in Questions & Answers
-
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap , THANK YOU ! Now, the buys open as intended, but there is no single sell order. Maybe something is canceling them ?
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap , I'm sorry that I'm being such a pain, but after I have put the same group in the pending buys and sells, it still does not work as intended

Please see bellow. It just opens first two trades
https://fxdreema.com/shared/Xc6Xay4wb -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap I found it, ignore my last reply
-
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap . I have group number 2 entered on every block that has that option. Do I have to create something new apart from what is in the project ?
https://fxdreema.com/shared/msCqPYZnb
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap , thank you for your answer. I did what you suggested in the first statement ( i have connected all blocks to no trade block ) but at the second statement I'm not sure what you mean. What should I modify ?
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap . I change what you suggested, now The EA only opens first 3 buys, then it does nothing. :
https://fxdreema.com/shared/pq1YcUSDb
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap. With this change something changed for the better but still is not working as intended.
Still the trades are closed by something and I don't know what it is. Also, there are no new positions open ( If the price moves 100 pips in one directions, there should be 5 open trades, at 20 pips interval) . Can you please advise ?
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap ,
I deleted the random option and replaced with a buy that has 2 pending orders attached, please see bellow.
The EA opens a buy and it close it almost instant ( I don't know why
https://fxdreema.com/shared/uJ1LnhHud
Thank you, -
RE: Need help in setting pending ordersposted in Questions & Answers
@jstap Please see bellow image. This is what the EA must do. Thank you !
https://imgur.com/2eSb1En -
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap . First of all, thank you for your help, I really appreciate it.
I tried the project and strange enough it behaves different on different runs( I think this is because of the random outputs option). I will try to make it more simple, here are the steps:
1: We place a buy.
2: place buy/sell if 20 pips up/down ( not necessary with buy order or sell order ) -> if we open the buy then we cancel the sell order and then we repeat this step, place buy/sell if 20 pips up/down ( from the last position opened ) . We will always place buy/sell if price moves 20 pips from the last opened positionBassically, from the starting point, place buy/sell if 20 pips up/down, then from the latest opened position, do the same ( and cancel the previous orders - we have active only 2 pending orders for the last opened position )
I'm sorry, I don't know how to explain it better, english is not my first language

-
RE: Need help in setting pending ordersposted in Questions & Answers
Dear @jstap, please check bellow. I canceled stop loos/take profit because i want to test that the EA opens trades non-stop when condition is met ( moving 20 pips )
https://fxdreema.com/shared/YvujqQTHd -
RE: Need help in setting pending ordersposted in Questions & Answers
@jstap Would you be so kind to show me the exact steps ? I copied the ones from your example and I can't make it to work as intended.
Thank you ! -
RE: Need help in setting pending ordersposted in Questions & Answers
@jstap Thank you for your answer but I am afraid that I'm doing something wrong. In only places the initial buy stop and sell stop, one of them activates when the price moves 20 pips ( which is correct ) but after that there are no new pending orders for the new opened position.
-
Need help in setting pending ordersposted in Questions & Answers
Hello traders,
I want to make an EA after this simple rule :
1: Initially, I open a trade ( buy/sell - it doesn't matter )
2: I set a pending sell order and a pending buy order from the initial buy.
3: After the pending order is activated ( buy or sell ), I want to do the following : Cancel the other pending order AND activate 2 new pending orders anchored from the new position
Can anyone help me with an advice on how to manage point No.3 ?
Thank you !