Pending order
-
i want a pending sell order if the price go "Position A" Ea will create a pending sell order at "Position B"
Please check the attached image

-
So 2 price levels, if candle 0 close x< A place a pending sell on price B. This will create a limit order
-
Are those actual chart objects in the image? Or is it a drawover? I can help if I can see the nodes used. No need to see what's driving the logic.
-
@jstap Thank you for your reply
can you please explain a little more, how do i create that EA exactly? -
@JayPhillbrooks said in Pending order:
Are those actual chart objects in the image? Or is it a dra
no its a drawing to explain what i want, there is no nodes, that the idea of EA what i want to create, i will set both price manually on EA
-
1st you need to decide what defines the two price levels, no trade order-condition candle 0 close x< price 1, pending sell on 2nd price
-
@Nazmul901 As Jstap said, create a set of rules to define those levels. Just know that whatever you are trying to do, there will be a ton of whipsawing. With that being said, I'm still happy to help but you have to start the first step of determining what create those levels.
-
@jstap ok, i have an EA already and it's already working well. no, i want to update it
let me explain how it works.
my indicator creates a buy or sell signal with an arrow, after getting the signal, EA can create a pending order on the close price of the signal candle.
but i want it not to create a pending order there, it will wait for break-out confirmation,
just think the signal candle full size is 5 pips, and it's a bull candle. so if the next 2/3 candle go up to 5 pips it will create a pending order on the signal candle close price,is it clear to understand now?
-
how can i share the code?
-
projects-create a shared link and open in web-copy address bar and paste here
-
-
-
You, need to place your second conformation in the tree, possibly in a separate tree so this sets a signal that your main tree can work with.
-
@jstap can you please explain a little, i am not very educated on this
-
This is an example of what I mean: https://fxdreema.com/shared/4FW3Czcpe
-
@jstap https://fxdreema.com/shared/OZlgiif5c
is it right?
-
You need to create the bool variable (with the same name). as this is is, if indicator appears, check bool value, if correct move on and check the next condition, if all is correct place pending:

-
-
Yes, what's it doing on backtest?





