Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1028
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I can't find the problem in the indicator. The tick chart in one server is shown with 6 digits and in another server with 4 digits. Maybe someone knows why this is the case?
Hello Experienced forum users, please help.
I have an EA. I am attaching the EA file itself below. I want to insert in its algorithm that the EA uses the formula when calculating the lot: 2% of deposit. Please help me if you can.
Out of curiosity and looking for an answer to the question of how best to describe your own functions, I decided to test the speed of a standard function and its bicycle. I took the most trivial one - MathMax. Tried modes of passing parameters by reference, without reference and without parameter passing. Even tried the difference between the description in the include file and the description directly in the native code. In the end the standard function turned out to be 2 times faster than the fastest bike. I didn't understand how that could be. After that I remembered about import and export. Took a look at the results with the compiled bike.
Importing reduced the gap to ~1.35 times.
But there's a problem with exporting: the compiled function is not visible from the outside. The code doesn't compile, an error hangs there:
'Max' - function not defined
Max0' - function not defined
What is the reason for this?
Code of the compiled function:
Called in the indicator code:
Hello Experienced forum users, please help.
I have an EA. I am attaching the EA file itself below. I want to insert in its algorithm that the EA uses the formula when calculating the lot: 2% of deposit. Please help me if you can.
Risk = the number of percent of the deposit, how much you assign, so it will be.
If from funds, replace AccountBalance() with AccountEquity()
Order volume = Account balance * Risk * _Point / (Stop order in pips * Pip value)
Risk = amount of percentage of the deposit; the amount of risk will be equal to the amount assigned to it.
If from funds, replace AccountBalance() with AccountEquity()
Who can help to insert a function??? Closing all orders (orders) at a specified time, e.g. 23.00. A pro question for you!!!
Hello.
I will be generating signals in the indicator. What functions can I use to send these signals to my Expert Advisor?
Hello.
I will be generating signals in the indicator. What functions can I use to send these signals to my Expert Advisor?