Help, buy/sell now condition
-
Hello, how can i put a buy now above the last candle high +5 pips or sell below the last candle low -5 pips ?

-
Closed price on candle ID0 is the current price, the candle before is ID1
-
@jstap

my condition looks like that but not working, the ea don't place any trades -
== Will not work, price in one tick can jump this level, use => or =< and it should work
-
if i put >= not working and if i put <= works but it is not good because i want to trade above the previous candle high
-
So x> should work as the price crosses the high
-
not working ...
i tried all options also with market propreties -
You haven't, everything I said works, from below to above is x> or >, meaning as price crosses should give you a reaction. If you keep struggling, add a shared link to see what you have done.
-
-
A cross happens at no specific time, so by putting a once a day block on top, you are very unlikely to get a cross.
-
how can make the filter to buy above and sell below, once a day to a specific candle?
-
i want to do that with a buy/sell now beacuse if i use a pending order, the price can be to close by the previous high/low and generate an error
-
Put a once per daily bar under the condition looking for the cross.
-

-
From the picture, there doesn't seem to be anything wrong, maybe hidden inside a block, one at a time delete a block and test until you find the culprit
-
it works but not very well, the ea missig days and put other random orders

-

-
i change with once a day setting a period, it works but the strategy is not the best. Thanks a lot for your support