[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 510
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You can do it without functions:
For a start, the conversation is about Deposit, and this is AccountBalance(). Equ/depo is a fractional number, and what kind of staggering can we be talking about???
Before you rush to answer, you should first read the conditions carefully (what the person wants) and then take the results of your code and calculate them.
For a start, the conversation is about Deposit, and that is AccountBalance(). Equ/depo is a fractional number, and what kind of staggering can we be talking about???
I suppose smoothness is more appropriate here too than steppedness. And as for "what the man needs", you know perfectly well that he's not yet clear on what he needs!
Hello.
We need the function that calculates the lot in increments. What would be possible to adjust, for example, for every 500 come increase lots
So depo 1000 - lot 0.1
Depo 1500 - lot 0.15
2000 - lot 0.2
Please post the function.
the most important line:
if the balance falls below 1,000 - I WILL NOT work - that's RIGHT!!! - MM, after all :)))I think smoother is more appropriate than staggered as well. And as for "what the man needs", you know very well that he is not yet clear on what he needs!
Ah-ah-ah?! - Well, then a postscript is appropriate: "Listen, Vanya, your favorite song "About valenki" and do not show off." :)))
But seriously? Why hide from newcomers that the calculation from Equity is less dangerous than from Balance?
I generally calculate from AccountFreeMargin() and feel at ease! And no valenki! :))
But seriously? Why hide from newcomers that calculating from Equity is less dangerous than from Balance?
I generally calculate from AccountFreeMargin() and feel at ease! And no valenki! :))
Who decided that? - I wouldn't be so quick to state it unambiguously, because there are many BUTs in MM, which you should not just read, but "touch". If there is one EA in the account - one approach (I use Equity), and if there are several EAs in the account - it's already "a basket" - the approach is completely different (we can use the results of the strategy performance - it's safer). And, not to go into these details for a beginner, it is easier to give him what he wants. We cannot realise what we are not ready for!!! ;)
I agree that everyone has a different vision depending on the tasks at hand!
But it's better to give the beginner the tried-and-true, and he'll browbeat without it, even when he starts to realise something!
The question is this. If I want to place a Limit Pending Order which will trigger exactly at the opening of the Day Bar, i.e. the bar on TF D1. How should I implement it? I do not really understand the logic. After all, I do not just need to put a limiter, but a limiter which is triggered at exactly the right time, i.e. at the opening of a new bar of the day.