buy/sell limit if it go up/down
-
how can I build an EA
which will create a buy limit on the current candle close position but if the price goes up the same size above of current candleNB, i have an EA already which already working, with my custom indicator
so when my custom indicator create a buy or sell signal it can create a buy or sell stop order
but now I want it will create a buy or sell stop order if the price go up/down above/below price of the current candle size.
-
Do you mean a market execution maybe? No broker will allow you program a pending order at the current price. There must be a minimum distance between current price and the pending order.
-
Not true, some brokers allow it, but it will become an instant trade
-
@l-andorrà no I mean it will be pending order and it will have gap obviously
Look at attached image i got a signal from arrow down, when price go down at yellow mark area (just think its 10pips down), a pending sell limit order will be created on red arrow

-
The first thing to do is checking if fxDreema can identify that arrow correctly. Did you check it?
-
Yes its can identify the arrow and place a order also
-
here is the EA
it's working and it can place an order also below/above the current price after getting the arrow from the indicator.but I want it will place a pending order on that arrow candle. when the price go to the same distance of the arrow candle size.
-
here is the EA
it's working and it can place an order also below/above the current price after getting the arrow from the indicator.but I want it will place a pending order on that arrow candle. when the price go to the same distance of the arrow candle size.

-
Explain more about what you mean. Do you mean it places a second order, with or without activating the first?
-
@jstap without activating the first order
