Forum

Connecting to MT4 VPS via Python & ZMQ?

I'm using the zmq bridge to be able to code in Python and have Python communicate with MT4. I have everything working fine locally, but was wondering how one goes about setting this up on the VPS. The zmq connector uses tcp ports to communicate. I'm assuming I get a server address from somewhere and

Array randomly losing data somehow?

Hi all, I don't have the greatest grasp on memory allocation so I'm wondering if this issue has something to do with that. Here is the problem I'm having: I start with 3 user input strings: input string currencyTickersString =

How to Print to Server Log?

Hi, I know how to use Print() function to get messages to show in the Expert tab locally, but when I load the EA to VPS it does not show any of the Print messages. Is there a different function or method of going about this I need to use? I just want to run some different diagnostic checks when an

Programmatically Suspend Signal?

Hi, I know that there is a mql4 function of: SignalUnsubscribe() My understanding of this function is that it actually cancels the subscription entirely; so, if you wanted to start the same signal back up 1 day later you'd have to pay the full month's subscription fee a second time. Is this

"Stop if equity less than" fixed?

I read in one of the forum posts somewhere that people were having trouble with the "stop if equity less than" feature where it would disconnect the account from the signal, but not close-out all the open trades. This post was back in 2014 though so I'm imagining it has been fixed since then. I was

Switching Accounts Turns AutoTrading Off on VPS

Ok, so I have an EA setup locally and I can sync it with my VPS and then it starts working on VPS, but when I change accounts locally it disables auto trading locally and on the VPS . I know that in the Tools --> Options --> Expert Advisors tab I can uncheck the box that says "Disable automated

Switching Accounts Turns AutoTrading Off

Hi, I've tried installing a couple of different EAs and when I login into an account and turn AutoTrading on, they work just as expected. When I login into another account though this seems to switch off AutoTrading in the original account. When I go back to it, AutoTrading is off and none of the EA

How to Multiply Signals?

I read somewhere in the forum (I don't remember where) about there being a way to multiply a signals buying/selling power. For example, if the providers activity would normally buy 0.2 lots in your account based on your current balance and leverage, but you want to step that up to buy 0.4 lots on

Does Buying EA Give you Access to Code Base?

I'm new to MetaTrader and the community and was wondering if I spend money to purchase an EA, do I get access to the code base? I know that there are various parameters that can be set for different scenarios, but I'm talking about the core code base. Basically, I want to know if I can take(by

How to Adjust Balances Without Sudden Sell-off?

Hi All, I'm new to this so still figuring a lot of things out. Is there a way to reallocate funds without the signal immediately selling off positions to meet it's ratio? For example, if say I have $5K in an account where a number of positions are being held by a signal and i decide that I want to