Strange closing on looping behavior. Help needed.
-
Hi,
I'm working on a project where both buy and sell positions are open at the same time. And every 10 pips apart, new buy and sell positions are open again.
In the case of selling, when the price keeps rising, EA will open buy and sell at 10 pips apart. Now when the price start to come down, I just want to close only the buy position and keeping the sell.
The problem is the EA keep closing the previous buy position BEFORE opening a new sell & buy positions.
What did I do wrong ? Here is part of my project : shared/p5qRpZcbd
Thanks
-
@ruecha This is a strange logic. Why isn't it symetric? Why are sell closed ony. I guess the problem is there, but I don't understand the way the strategy is supposed to be.
-
@l-andorrà Thank you. This is just an example of closed sell only. Anyway, I haven't have time to try something else as I'm currently working on something else.
-
@ruecha Ok. And did you make it work as expected?
-
@l-andorrà Not yet.