False Cross Signal
-
Hello everyone,
I am testing my latest EA and everything works perfectly, except for the crossing signals with the Tekasen (ichimoku)
Conditions:
Open Buy:

Close Buy:

All conditions work correctly, except for crossings:
Buy Order: When candle 1 is bullish, and crosses the tekasen upwards
Close Buy: When candle 1 is bearish, and crosses the tekasen down
The problem is that it is not correctly detecting the crossings:
Real example of what happens:
1º This is a buy operation, the candle does not cross the tekasen but the operation enters.
2º This closing takes place after the bearish candle 1 crosses the tekasen downwards.The tekasen is the red line

In short, I would like to know, if there is any way to confirm that the crossing is done correctly, since we cross the crosses with candle 1, I understand that it could give problems working on candle 0, but this is not the case .
The only question that occurs to me is that the signal is correct, and that later, we see the tekan in a different position, than at the time it occurs, and this leads us to make wrong conclusions.
Maybe you can give me some idea and how to solve it, if there is something to solve.
Thank you all!
-
@traderline
Are you using Heikin-Ashi candles ?
The open and close are not the same as those from normal candles, idk what candles you selected in your project. -
@seb-0 said in False Cross Signal:
La apertura y el cierre no son los mismos que los de las velas normales, identifique las velas que seleccionó en su proyecto.
No, I am using conventional Japanese candles, as seen in the example image. That image is of a real operation in real market, the blue lines are redrawn.
The first blue line is the partial closing line, it is defined in x pips away. This works perfectly.
The second line should close when candle 1 is bearish and crosses the tekan. This is what does not work neither in the entrances, nor closings.
-
@traderline Can you confirm you are working on cabdle ID 1 everywhere? Are you sure you didn't miss some operand withs candle ID 0?
-
@l-andorrà Yes, I am working with candle 1, all the parameters are correct, although I have already managed to solve it, the problem is that it does not correctly detect the crossing of the candles with the Tenkan Sen. What I have done is draw a horizontal line, that accompanies the Tenkan Sen, and it works perfectly. Detects crossings correctly. Although we are still testing it, in backtesting it works, when with the crossing of the Tenkan Sen, it did not. Thanks for answering!!
-
@traderline Congrats for your effort fixint ot. Good for you!

-
@l-andorrà Thanks, we have been testing it and it works perfectly, it is not an optimal solution, but it works as it should. The truth is that fxdreema offers so many possibilities that you always find a way to get what you want. Big fxdreema.
