Trades don't opened precisely (Indicator crosses and Indicator moves within limits)
-
Hello,
I've built an simple EA which is based mainly on one indicator (sort of an oscillator).
When it one line crosses the other and if that cross happens at a certain value (from the indicator).But I cannot make it work properly I first created the condition when it crosses (via the buffer) and then I used "Indicator moves within limits".
Since what happens is this: The indicator crosses and after, let's say 7 bars the value of it reaches my limit I set within "Indicator moves within limits" and the trade is opened.
But that is not what I want - it should only enter a trade when at the time when the indicator crosses the value is right, how do I achieve this?
-
There is no "after", even the "Indicator moves within limits" block looks at the past and uses the history candles to check these values. So all blocks are normally working in the present moment with history data. And it looks that you wrote that you want that.