having an issue with my baseline.
-
I am testing individual parts of my future ea. the goal is to open a trade when the price is above or below the baseline and then to close the trade when the price crosses over the baseline in the opposite direction. Currently, it opens trades but does not close on the cross. Can anyone point out what I am doing wrong? I have a link to the project. https://fxdreema.com/shared/yOpUIsryb
Any help would be greatly appreciated. -
@william-3 All blocks on the 'on trade' tab should be moved to the 'on tick' tab.
-
Tried that. It did not work. on the backtester it opened the trade, but did not close on the cross. I want to upload a pic of the backtester, but the forum keeps on giving me an error. Thank you for your guidance. Do you have another solution I could try?
-
If you know the baseline you can TP at baseline and make the EA more simple
-
I don't know how to do that. is there a condition block in fxdreema that can do that?
-
@l-andorrà Shall I delete this entire ea and start again? maybe it's corrupt? the logic is sound and I believe the condition codes are correct. close when price crossed above and closes (candle 1). but for some reason it just won't close. I put all the symbols as gbpusd to ensure it worked with the pair. don't know what else to do.
-
Hello @william-3! First of all, have you verified your indicator that the buffer is correct? Here we have a problem to help you, because although AND tells you that it may be corrupt, in my opinion it is not corruption but your indicator, since it is not standard but one of yours, if you do not pass your indicator we will not be able to help you because we will not know how it works, This indicator cannot be substituted for the original Ichimoku? On the other hand, I'm seeing that you use the ID1 candle but if I don't remember wrongly, the Kijum is displaced 26 candles, so possibly if the 26 candle does not coincide with the Kijum in real time, I doubt that it will execute anything. Have you taken it into account? Ah! You are telling fxDreema that the cross is made in the candle before the opening and after you have placed the closing order in "on trade" it should go in "on Tick" and it is duplicated or you have made a mistake since both have the close with "x>" when they should be "x>" and "x <" or if it is the same, delete a complete branch and in the closing block close SELL and BUY
All the best -
@xyon126 hello. I can post the indicator. it's the kijun-sen baseline. I can't post the file here. https://youtu.be/Ia1lJ7jN5aA this is the vid and the file is in the description.
-
@xyon126 I will make these changes and try again. thanks for the advice.
-
Hello @william-3 ! I have been looking at the indicator, YOUR INDICATOR IS NOT NECESSARY, the standard ichimoku of fxDreema is identical and will give you less problems, you can change it; If your problem in the indicator is that you put a lot of graph and you only want to see the Kijum-sen, go to the properties of the ichimoku and set the color "none" to everything except the Kijum-sen and it will be the same.
-
@xyon126 thank you. will try it today after work. just started to use fxdreema and not proficient with it. yet.
-
@william-3 I am not an expert either, although it took time and more than Robots I use it to make panels, since Robots or EA, s of fxDreema (fxDreema is the best) as we say in Spain "Fall more than a shotgun of cane" and Manual strategies that give you a 15-18% profit in fxDreema does not exceed 10% and duplicates the false entries and half the good ones, so it does not give me any confidence.
-
Thank you everyone for your advice. I got it to open trades and close trades on the baseline cross.