Trigger
-
i made a new project with pending order.

and this is the result.

its should be trigger at 111.155. but instead of tiggering. its delete the buy pending order
could some one help me -
What's above those blocks? Can you please share your project?
-
-
Ok. How many pending orders is the EA supposed to launch? And how many of them must be hold and for how long?
-
-
@l-andorrà when there is no trade or no pending order is place. it will place two pending order one for sell and one for buy base of candle 1. When its trade. for example when its trade buy the selling pending order will delete. the trade will stop until it reach take profit or stop lost. after that it will place a new pending order when candle 1 is finish. its will place a pending order.
-
@ambrogio where do i need to place a delete pending orders if i dont delete the pending order it will trade when its will be unfavorable or there will be more then 1 trade and i will want to be prevent it.
-
@setsuna to add some info. I like to delete the other pending order only when its trade activate. for example. when its trade the buy activate pending order sell will be delete.
-
@setsuna In the "on trade" section

-
@ambrogio its works thank you. But the other problem is: I place a no trade no pending in the project but when its pending . but for some reason its place a second pending order when the first is stil pending
-
@setsuna Try in the block "no pending orders" to set "limits and stops"

-
@ambrogio i have tried it but the result is still negative.
this is the result:

when the first trade isnt over there is a new pending order/trade. the once per bar block keep searching a new pending order.
Question isnt there a another block that can trade once at the time ? there is one but it calls once per trade but that block is defect right?
is for each trade block the same as once per trade?
-
@setsuna i saw, see you tomorrow
-
@setsuna If you don't want pending orders (buy or sell) when there is an open order (buy or sell), you have to do this

-
@ambrogio my strategy is base on pending order its give me more grip. but is for each trade the some as once per trade?
-
@setsuna No, not at all.

-
A 'For each trade' block is pourposly programmed to 'read' all existing trades unless you specify a concrete number.
-
@l-andorrà In other words there is no way to trade 1 order at the time with pending order
-
@setsuna I think I solved your request two days ago. Have you tested it ???


I suggest you don't use the tester in "open price only" mode, but in "every tick" mode.

-
@ambrogio Thank you very much
