[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 542
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
spin via ArrayResize, or create with a margin and store the actual size next to it
Good evening! It seems like a simple question, but I can't calculate... Can you please tell me if this formula can be used to calculate a profit, and what is the error?
Well, yes, profit in pips* multiplied by the number of lots. How do you calculate it then?
https://docs.mql4.com/ru/trading/orderprofit
Either way - documentation is more useful
Good day to all!
I understand that Global Variables are stored in a file on disk. Is the file referenced each time GlobalVariableGet is called? I.e., if GV is checked on every tick, will GV file be opened 4000 times per hour all the time and won't a hole be created in a disk ?) Thanks in advance colleagues.
Good day to all!
I understand that Global Variables are stored in a file on disk. Is the file referenced each time GlobalVariableGet is called ? I.e., if GV is checked on every tick, will GV file be opened 4000 times per hour all the time and won't a hole be created in a disk ?) Thanks in advance colleagues.
I'm not particularly familiar with the principles of data exchange and caching, so I'm not really asking that seriously:) I don't know how it works there. It seems that GVs are stored in RAM, then dumped to disk. Had my suspicions at one point. Anyway, I want to understand if it's okay to refer to Global Variables on every tick.
Zhunko
THX