- Requests & Ideas
- Phoenix - Development+Suggestions - MQ4 in Post#1
- A poll deciding which method is the best.
I don't think you need to worry about the distinction between different "lots" . . . you can get it, MarketInfo() and MODE_LOTSIZE if you really need it.
Regarding "percent of equity", are you really talking about "percent of free margin" ?
I don't think you need to worry about the distinction between different "lots" . . . you can get it, MarketInfo() and MODE_LOTSIZE if you really need it.
Regarding "percent of equity", are you really talking about "percent of free margin" ?
I am not yet writing my program in MSQL. And even when I start using MSQL, I will want the general design of my program and my thinking to be independent of contingent features of MSQL.
Concerning "percent of free margin": Yes, it would probably be better to think in terms of free margin than in terms of equity. But "percent of free margin" still looks quite arbitrary. If you don't know a program and see this term for the first time, you will probably not know what it is supposed to mean.
At the moment, I am not having programming problems. The first versions of my current programs behave exactly as I expect them to. I am having conceptual and terminological problems. I am trying to use terms that are as close as possible to the language that is generally used in Forex programming.
This is backwards. Contract Size - MQL4 forum
IMO, most people would adopt a unique definition of the terms used. Their acceptance usually depends on a) how they were taught the first time; b) an analogy which made it easier to understand the terms. c) etc. This is a particular problem when trying to built EA's for the masses. But who cares anyways? If I would ever program something for the masses, it'll be much easier to just tell the user what I mean by Lot_Size. This could be done using extern comments or in line comments etc.
The standard_lot vs lot_size. I've adopted that a standard_lot is equal to 100k of the base currency. If a broker choose to term their 10k=1_lot as standard_lot, who cares? At the end of the day, all I wanna know is how much the money is worth. If one bank told me I needed 100k to open a standard_saving_account; while another told me I needed 10k to open a standard_saving_account; and all I had in my pocket was 10k, It's pretty easy to figure out which bank I could open an account with irrespective of the standard term they're using.
Instead of looking at those types of broker as standard_lot brokers when they're running 10k=1_lot. I just look at them as a mini_account broker. Yeah I know some of these brokers market these accounts as standard accounts but that's just to confuse the noobs.
And lastly "percent of equity" or "percent of free margin" who cares? If I had a choice, I'd call it "percent of bankroll" lol. So I guess you should probably call it "percent of free margin" around here even though saying "percent of equity" would be easier for a noob to understand. I know when I was new and someone said "percent of free margin", I started to panic about having to calculate leverage and margins and lord knows what else.
MSQL ? MySQL ? if you want to use terms generally used in the type of Forex Programming prevalent in this Forum then it makes sense to use terms used in mql4 . . . so Percent of Free Margin makes complete sense . . .
Sorry, should have been mql. (I suppose and hope the terminology will be more or less the same in mql4 and mql5.)
What do you mean by "this is backwards"?
Thanks for all the comments so far. I think I will use percent_of_free_margin or percent_of_free_margin_used_for_each_trade. But I am still searching for a term that can be used to refer to a fix amount of money that is used for each trade. Neither "lot size" nor "lot" nor "contract size" has this meaning (apart from the fact that all these terms are highly ambiguous and unclear). I am getting the impression that there is no such term in Forex language.
Thanks for all the comments so far. I think I will use percent_of_free_margin or percent_of_free_margin_used_for_each_trade. But I am still searching for a term that can be used to refer to a fix amount of money that is used for each trade. Neither "lot size" nor "lot" nor "contract size" has this meaning (apart from the fact that all these terms are highly ambiguous and unclear). I am getting the impression that there is no such term in Forex language.
Hi dobrek,
Since you relative new to forex, don't judge too fast, you may want to give yourself quite sometime to learn about about forex. There's plenty resources on the net, for example here school section on babypips (http://www.babypips.com/school/).
Maybe what you looking for is MarketInfo() with MODE_MARGINREQUIRED which means Free margin required to open 1 lot for buying.
:D
...But I am still searching for a term that can be used to refer to a fix amount of money that is used for each trade....
Fixed_Lot comes to my mind. (Kinda like variable spreads vs fixed spreads). Just don't force a value upon it and you'll be alright. :)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use