[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 236
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
The right button of the mouse click on grey colour of an indicator in the terminal, then in the menu - "change" click already left mouse, then compile in the meta editor, then reboot the terminal and live happily...:-)
Didn't help. Did it all, restarted the terminal, alas.
The source code doesn't seem to have anything to do with it, the program is mine.
For some reason it's all about the name, deleted all the text, loaded a simple nonsense that works instead, recompiled, same result.
Anyway, if no one has encountered this kind of thing, fuck it. I'll forget this name and no problem.
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
if (OrdersTotal()>0)
{ <-- this bracket is redundant.
The margin for a 1 lot order is equal:
You can figure it out from there.
And we also need to check if there are enough available funds:
Where are the values from AccountFreeMarginMode()? Which can be 0, 1, 2, 3, 4 (I think).
Here is my function to determine lot size, but I understood that I didn't take AccountFreeMarginMode()into account
Can you tell me if another for loop can be inserted into a for loop?
Give me a small example, if possible
Can you tell me if another for loop can be inserted into a for loop?
give me a small example if you can
you can
Can you tell me if another for loop can be inserted into a for loop?
give a small example if you can
you can.
Maybe you can find an Expert Advisor in the code storeroom:
I need it to update all open charts templates (which are attached to them at the time of update (important! Not at the start of the EA)) at a certain interval (eg every 15 min).
Thanks for any help in advance)
Well, I only have 4 charts, just templates are generated from excel every 10 minutes, then I manually attach them. but it's exhausting to do it manually))
Can you tell me the name of that expert, please?
Well, I only have 4 charts, just templates are generated from excel every 10 minutes, then I manually attach them. but it's exhausting to do it manually))
Can you tell me the name of that expert, please?