EA almost finished, can't seem to fix two things.
-
I'm pretty new to fxdreema, so some of you may find the fix instantly.
https://fxdreema.com/shared/WYxEVATWc
There are two things I need to change, but don't know how.
-
As of now, it only takes a short trade when the swing low that was violated was ABOVE the buyside sweep.
No clue why it does this, I tried using x> and x< at the flags that I set, but that just fucks things up more. -
If buyside has been taken, it should disregard the sellside. Can't take a buy and sell in the same day.
Hope some of you can help me with these finishing touches, I'm still learning. Only my second day using it.
-
-
Not sure I fully get it. Could you please upload a screenshot showing what you exactly need to happen on the chart?
-
https://fxdreema.com/shared/6zrQPo77e
This is the current version.
I'll show you example from the MT5 visual tester

When it crosses what I refer to as Asia high/low (the dotted horizontal line) it should enter a trade in the opposite direction as soon as the most recent swingpoint has a candle close past it (the pink horizontal lines).
In this example, it executed correctly.
Now an example where it doesn't execute.

Here it went below "Asia low", and it seems to recognize that since I've set it up to change the color from LimeGreen to Black when it's broken.
Then it closes above the pink line, which is a swingpoint. But it does not execute.
An hour or so later, it goes below the asia low again, but a lot lower and closes above another swingpoint. Then it does execute.
I think it is because the swingpoint for some reason has to be outside of the "Asia" range.
-
Forgot to mention, it should close beyond the pink line. Not just cross it.

It should've executed once this candle closed.
-
This is driving me nuts, must've spent 15-20 hours trying to fix this
-
I don't see any lines plotted via the bot. Are they plotted manually maybe?
-
@l-andorrà That's odd. No, the EA does it.
The "Asia" lines are plotted based on a time window in inputs though.
-
It's suppose to be a pretty simple EA.
For buys:
Price crosses below "Asia" low, and when a candle closes above a 5 bar fractal go long at market.But it only enters when the 5 bar fractal is below "Asia" low for some reason, no matter what I do.
Vice versa for shorts.
-
Current version: https://fxdreema.com/shared/qCcgtzZ7e
I think my problem is that the condition under the flags has to remain true, therefore price has to remain above or below the asia range before it executes.
Not sure how to fix it yet.
Using x> instead of > doesnt work.
-
I finally fixed it. Thanks for your time.
Only thing I need to do now is make it so it wont open a buy and a sell in the same day. Only one trade per day.
As of now, I have a "once per day" bar for sells and buys separately.
-
Fixed that as well. No longer in need of help.
Thanks for your time, always appreciated!
-
@Mitchp You're welcome.