@fxdreema Amen to that lol
Simplefx is a brokerage that offers btc ltc and eth trading pairs with the mt4 platform.. pretty neat
@fxdreema Amen to that lol
Simplefx is a brokerage that offers btc ltc and eth trading pairs with the mt4 platform.. pretty neat
Not sure what you mean by fix.. like make profitable? or make it execute?
i was able to make it run.. but it doesn't have the best results.
shared/DFNa6MXwd
We're trying to export an EA that has a custom indicator in the "My Indicators List"
Any EA using built in indicators export fine; however any time a condition references our custom indicator (which has exported fine over the past two weeks) it returns this error when trying to export.
Just in the past two or three days this error has cropped up.
Is anyone else getting this error when exporting?
**"'start' - function can be declared only in the global scope" **
it keeps coming up. I'm wondering if its on my end.
I'm referencing a custom indicator, could this be related?
I'm trying to post our ea attempt but it's saying
"Sorry, the board attachment quota has been reached."
So here's our file so far on another host:
Well because that's their proprietary information.
You definitely can make EAs with EX4s. You just don't get to see what's behind the curtain so to speak.
Ex4's do give you buffer data. What you have to do is put Lopez on a chart in MT4 and open the "DATA WINDOW"(View--data window. Or ctrl-d). That will show you the buffers to use in FxDreema. The buffers in the data window are what you're supposed to enter into dreema in the outputs for a custom indicator. There's 7 of them in Pz Lopez Trend. Buffer 5 is related to opens and buffer 6 is related to closes. Buffer 7 seems to happen when any change occurs at all. 3 and 4 seem to be related to overbought and oversold but we haven't even gotten that far yet. There's no documentation for this, and when we reached out to Lopez himself he just copy and pasted the iCustom function from their website and said to use that
. However, open the data window with the indicator on, move your mouse around the chart and you will see how the numbers change in the buffers.
Right now we've automated trades based off Lopez. We just receive errors at different times. Seems like there is very little documentation on these errors outside of a sentence or two.
Don't really know why. Between three different forums no one seems to have a conclusive answer.
But through sheer will we've gotten it to work, to a point.
For example, I just ran a live test and got it to successfully trade and close based on the colors changing in Lopez 6 times in a row before the invalid EX4 error appeared.
Now if an error saying "the ex4 is invalid" appears, wouldn't that mean it shouldn't work or open at all in the first place?
That's where our confusion is right now.
As for our previous problem about too many requests, we seem to have found if you use a Tick Time Filter (green node), and limit it to only execute every few ticks, it will trade a bit longer before crashing out with errors. So there seems to be a solution there. I don't understand why a per bar filter wouldn't achieve the same thing (which it doesn't) but the tick node works for now.
So it seems the problem is not getting FxDreema to recognize Lopez, its getting dreema to slow way down and not go nuts executing requests every tick.
I've also posted about this issue on the MQL4 forum and someone mentioned that the error "invalid EX4 file (8)" means that the builder is incompatible with the MT4 terminal build version.
That seems so odd as this error won't appear until at least one trade has been made by the EA.
@ndt113
I find that hard to believe as they advertise an iCustom function on their site to be used in an EA.
I think there's just some sort of communication error.
@ndt113
So what you're saying is that if you do not have access to the .mq4 file then you cannot make an expert advisor with it?
@fxdreema
Ah I see! That makes sense.
So after more prodding, mt4 publishes two errors when trying to live trade with our attempt at an ea.
These errors are:
Global initialization failed
invalid EX4 file (8)
Not too sure why this keeps popping up, all functionality stops after these errors appear.
It looks like in mt4, error code 8 translates to ERR_TOO_FREQUENT_REQUESTS.
Could it be that even though there are "no trade" nodes in place, trades are still being taken on every tick?
What would cause a huge number of requests?
Ok so a few people have private messaged since this post, seems that a lot of people are having issues with custom indicators, or more specifically good ole Lopez.
To everyone asking us directly for help, you probably know as much as we do. Using a condition block to compare a buffer in a custom indicator is only working for opens.
Closes have no rhyme or reason to how they operate regardless of what logic is applied to it. There are 7 buffers as shown by mt4's data window. Buffers 1 and 2 seems to change when blue or red, buffers 3 and 4 seem to be related to overbought or oversold levels. Buffers 5 and 6 also seem to relate to buy and sell states, with 7 only appearing in the data window when a change between states occurs. All of that being said, opens work great when referencing the buffers, closes (specifically buy closes) don't seem to have any bearing on the buffers shown.
This leads me to think there may be an issue with the Lopez code itself, there's no documentation about what the buffers actually represent. I have contacted them and am waiting on a reply.
One question I have though is why it seems in the past two days the appear and disappear nodes under conditions for indicators have not updated or saved settings. This is seriously the LAST thing I can think of to make this indicator into a working ea. However, every time it just hangs on "wait..." and doesn't save the settings 