Getting to Know Empty4 Inside Out

Post Reply
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Watch Out!

Post by SteveHopwood »

skoda2008 wrote:Watch out for this doozy. I finished trading for the week and thought I'd stop the EA's from trading until Monday. Instead of closing down Empty4 altogether I just clicked on the EA disable button. To my shock, when I woke up in the morning a trade had been opened by the EA! I was running it on 20 pairs, and only one instance took a trade, not only did it open a trade, but it didn't set a TP or SL (2 stage criminal) and the EA didn't continue to function and close the trade at the point it should have. The moral of the story is don't trust it and shut down Empty4 completely over the weekend.
Ahh yes, the delightful Expert Advisors' button. I have not yet managed to work out why it works when it works and fails to work when it fails to work. I would be unsurprised to learn that the action of this button is controlled by a pseudo-random variable that allows it to work sometimes, but not others, just on the offchance that some combination or other will ruin the account.

:D
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
MichaelM
Trader
Posts: 117
Joined: Sun Dec 04, 2011 11:04 pm

Re: Getting to Know Empty4 Inside Out

Post by MichaelM »

Probably works when it should based on lunar cycles or planetary alignments :lol:
Last edited by MichaelM on Sun Feb 05, 2012 11:11 pm, edited 1 time in total.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Re: Getting to Know Empty4 Inside Out

Post by SteveHopwood »

MichaelM wrote:Probably works when it should based on lunar cycles or planetary alignments :lol:
:lol: :lol: :lol:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
ednineball
Posts: 2
Joined: Sun Feb 05, 2012 9:47 pm

Re: Getting to Know Empty4 Inside Out

Post by ednineball »

Why does Empty4 default to the color 255 255 255 when I use the color none?

Would you please tell me the fix for this....???????

It is a pain when I pull multiple indicators into 1 window, and the color for none is 255 255 255
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Getting to Know Empty4 Inside Out

Post by gaheitman »

ednineball wrote:Why does Empty4 default to the color 255 255 255 when I use the color none?

Would you please tell me the fix for this....???????

It is a pain when I pull multiple indicators into 1 window, and the color for none is 255 255 255
I don't think there is a valid RGB code for "not a color", so Empty4 is using the special constant 0xFFFFFFFF which is an invalid RGB code. I think the color picker in the dialog box (or something else) is stripping off the two most significant bytes, leaving us with 0xFFFFFF which is 255,255,255, or white.

Though I don't seem to have the problem. When do you see the issue, after using a template?

George
MichaelM
Trader
Posts: 117
Joined: Sun Dec 04, 2011 11:04 pm

Re: Getting to Know Empty4 Inside Out

Post by MichaelM »

Not sure why it's a pain... can't you just use the predefined variable CLR_NONE?
User avatar
Alpenkorps
Trader
Posts: 213
Joined: Thu Dec 15, 2011 4:03 am

Re: Getting to Know Empty4 Inside Out

Post by Alpenkorps »

Khalaad wrote:Is is possible to use :twisted: Empty4 only as a live trading terminal to transmit strategy signals generate by another software (say, MultiCharts, or Tradestation) :?:

And, if possible, what pit falls may lay ahead if one were to embark on such a course of action :?: :?:

Khalid
Of Course its possible. We can develop a bridge between two trading platform for both way communication. I am don't know if such program already exists (it may). We have seen in co-integration system using com bridge between R and Empty4. All you need an EA and a little library coding. There is another way, one platform can write signals in a text file, I believe Empty4 has the ability to read text files for signals/commands by Expert advisors. Shouldn't be much difficult for programmers.

But honestly, I highly doubt that you would be able to by pass Empty4's stupidity by this .. a stupid program is a stupid program, right?
Take my love, take my land, Take me where I cannot stand
I don't care, I'm still free, You can't take the sky from me
garyfritz

Re: Getting to Know Empty4 Inside Out

Post by garyfritz »

Khalid, I would assume you want a reliable order-management facility.

If so, then why on earth would you want to let Empty4 anywhere near it!?

IMHO the only reason to use Empty4 at all is to tap into the fantastic creative community here and in a few other places. In general I think Empty4 is dangerous and should not be used with real money, at least not beyond the "play money" level. (That's one big reason why I haven't yet invested the effort to learn how to work around all of Empty4's evil little gotchas.)

There are other options, depending on where you want to trade. A few crims (e.g. MBtrading or IB) offer APIs of varying complexity but high reliability. You can also use NinjaTrader as a "bridge" to almost any crim you want to use. I know several people who use NT to place orders from Tradestation. TS only supports placing orders with the TS brokerage, but via the NT bridge these people generate orders in TS and execute them on IB.

Trading is serious business, if you're serious about it. I don't think you should rely on unreliable tools.
garyfritz

Re: Getting to Know Empty4 Inside Out

Post by garyfritz »

I have not personally worked with the "NinjaTrader bridge" approach, but I don't believe you have to do any (or any significant) programming in NT. You don't actually use NT as a charting or backtesting platform. NT purely acts as an order-placing platform for TS, or MC, or whatever. I suspect there are "canned" packages already available to do this -- it should be a pretty "plug and play" solution.

There's also http://www.tradebullet.com/. They don't list MC as one of their supported platforms but people are using it. You can lease it for only $35/mo and you just have to modify your strategy to write order details to a text file. Looks like most of the brokers they support (other than IB and MBT) are futures brokers, but the Patsystems J-Trader interface handles Forex.

There are probably other solutions but those are the only ones I know of. I know people using both of them.
User avatar
instantpips
Trader
Posts: 17
Joined: Sun Apr 01, 2012 11:02 am

Re: Getting to Know Empty4 Inside Out

Post by instantpips »

I have a really basic (read: dumb) question about EA's on Empty4:
If you have an EA running on a laptop and you close or switch off the laptop - will the criminal execute TP/SL on open trades whil laptop is off?
Image
Post Reply

Return to “Know your MT4 platform”