Articles

On the Long Way to Be a Successful Trader - The Two Very First Steps for MetaTrader 4

The main point of this article is to show a practical way to implement an effective MM. This can be achieved only by using a certain kind of strategies that we need to identify and describe first. In the following we’ll cover the basic concepts of how to build such a strategy and we’ll point out the

Forum

Margin required for opening a position

A question to the gurus of MQL4. MarketInfo (Symbol(),MODE_MARGINREQUIRED) returns the margin required to open one lot. Is the realtion between lots and margin required linear? In other words, if I want to open 0.1lots shall I have freemargin > MarketInfo(Symbol(),MODE_MARGINREQUIRED) * 0.1? ...same

Retrieving list of "symbols" offered by the broker

I think there is no built in function so perform such request to the server... ...any idea on how to do that? Cheers, Zyp

Issue with GlobalVariableCheck()

Hi, I have an indicator working with GV and I happened to notice a funny thing that occurs at terminal's startup. I check for existence of GVs at every call of the indicator start function and I've noticed that if the indicator is loaded on a chart when the MT terminal starts, the first check

Article publication

Simple question to moderators. How long does it takes for an article to be reviewed and eventually published? I sent one for proofreading last week but still got no feedback. Tnx, Zyp

Split orders

Hello folks! Today's question is: is it possible to split an open position in two different ones? You may say: "dude... why do u need such thing?!?!??" ...and here it comes why.... Suppose you have an open position, say 1.00 lot. Suppose you want to close it when it reaches a certain price. The

Withdraw simulation in Strategy Tester --> is it possible?

Hi folks! I am wondering whether it is possible to simulate withdrawals while backtesting. I dont like to see the balance going up to hundred thousands k cause it is not realistic... I think everyone agrees that one takes out money when the balance reaches a given amount. Also, as my money

Text justification

Hi All :) writing a custom indicator I came across a problem... hot to place text in the right position. As I create text object I can see that the text is justified "bottom-center" and I did not found any parameter to change it :( I need my object text to be aligned "mid-left"... or otherwise the

Question -> 1k to 10Millions in 15 months

Hello everybody. Here is the thing: after a few months of studies and coding hard I finished my last EA and it shows impressive results on the tested period from 01/01/2004 to 30/03/2006. ...as I wrote in the header 1000$ reach 10.2 Million$ with 85.18% of wins. If you think it's good (damn if it's

Coding troubles...

Hello folks! I've written a pretty complicated EA which makes a large use of arrays and I have some troubles to get things right. It seems like the program skips execution of some lines or mess up operations... yep, kind of strange and that's why I'm writing here. I've been programing forever in C