Errors, bugs, questions - page 1657
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
Nowhere can I find the clearly stated minimum memory requirements forthe MetaTrader 5 Strategy Tester Agent.
Is there any documentation or anywhere to look?
If you want to receive tasks from the cloud, keep in mind:
If you want to receive tasks from the cloud, bear in mind
If you want to receive tasks from the cloud, bear in mind
Are you sure about 1 gigabyte of RAM? Isn't it 2 Gb? And I repeat: is there any clear figure written anywhere in the description or documentation?
Don't twist: the original text is mine:"if the RAM is less than 1 Gb per agent"
Added:
And you can look for answers in the topicWe're launching the MQL5 Cloud Network service!
Is there any money to be made there at all, except for the brew? )) Unless, of course, you own a farm.
The system function Point() is actually inlined and converted into a simple access to the _Point variable
And the order parameter functions (OrderType(), OrderTicket(), etc.) are inlined after the order has been selected? If we repeatedly address, for example, the selected order type, does it make sense to store the OrderType() result in a variable, and subsequently use that variable in our code? Or it won't make any difference as compared to repeated calls of the function?
I.e., is there a difference in speed of executing, for example, such codes?
и
Tested it myself. The second code runs four times faster. That's it, the question is off the table.
Not micro. Nano. )
"a = OrderType()" - 3.45 ns.
"a = nType" - 2.19 ns.
Are the order parameter functions (OrderType(), OrderTicket(), etc.) inlined after the order is selected? If we repeatedly address, for example, the selected order type, does it make sense to store the result of OrderType() in a variable, and use that variable later in the code? Or it won't make any difference as compared to repeated calls of the function?
I.e., is there a difference in speed of executing, for example, such codes?
и
Checked it myself. The second code is executed 4 times faster. All clear, your question is answered.
Regardless of the question, any function call is always slower than reference to a variable on the stack, in this case nType.
Personally, I always cache such MQL function calls like yours in the second case.