problem when rich TP open onother position...
-
HI, my problem is when i set TP ,and position (sell or buy) rich to TP , close position and open onother position(sell or buy).HOW correct this problem?
I want wait until the next sigal... -
So you want the first signal to close the sell, and second signal to open new buy?
This will be closer to your strategy: https://fxdreema.com/shared/ktzx108Lc
But I'm afraid you will have to define the "signal" in more detail -
@roar
thanks you,but is not working...
i want My EA when pass a signal open a position( buy or sell) and when rich to TP close position,and wait until next signal (buy or sell).
I use once a bar filter but its not working and open position in next candle. -
You have a fixed pips tp?
Then you don't need those "close position" blocks. -
@roar said in problem when rich TP open onother position...:
Then you don't need those "close position" blocks.
please see this Screen shot...

i want when indicator is green open a buy position and when take profit (example 20 pip) close position and wait until next signal ( red siganl for sell).
my problem is open 2 sell position in one candle or next candle,i want EA wait to next signal.( indicator is red)
-
ANYBODY CAN HELP ME?
-
In your conditions you ask whether or not the indicator is green or red at the moment. Well, technically you are checking whether or not the values in the buffers are different or equal to EMPTY_VALUE. The thing is that obviously the green (or red) line stays green (or red) for multiple candles in a row. What you actually want is to detect when the indicator line turns green or turns red, you want to do something on the first "green" or "red" candle.
You can try "Indicator appear" block, this one detect when the buffer turns from EMPTY_VALUE to something else. Or try a condition like this:
Indicator x< (Numeric -> Value) EMPTY_VALUE
or...
Indicator x> (Numeric -> Value) 0
I didn't tested these conditions now, I might be wrong, but I think they will work.