[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 70
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
It is also possible to connect automatically from a list in the navigator without having to enter a name, password or server.
Okay. And how do I know which server the terminal is currently connected to?
I wrote above. You probably don't care about the server. What matters is which account is going to be used to trade. Make a table of your accounts and check against it.
Are you talking about login?
I wrote above. You probably don't care about the server. What matters is which account is going to be used to trade. Make a table of your accounts and refer to it.
About login, password, server.The line is drawn on the points calculated by the function.
Decided to transfer it to EA (added SetIndexBuffer, etc. of this series to INIT).
I came across an error
"SetIndexBuffer function must be called from custom indicator only".
- You cannot draw lines in EAs using SetIndexBuffer?
- The only way out is to use iCustom to draw the line?
Thank you!
- You can't draw lines in EAs using SetIndexBuffer?
An EA is not an indicator. It is an Expert Advisor.
It cannot use indicator buffers.
- The only way to draw a line is to use iCustom?
No. The Expert Advisor calling iCustom does not draw a buffer. It is your indicator that you call in iCustom that draws it. The Expert Advisor doesn't care what the indicator tries to draw.
The Expert Advisor can only draw objects.
an advisor is not an indicator. It's an EA.
it does not know how to use indicator buffers.
No. The Expert Advisor, calling the iCustom, does not draw the buffer. It is your indicator that you call in iCustom that draws it. The Expert Advisor does not care what the indicator tries to draw.
The Expert Advisor can only draw objects.
Thank you very much!
Oddly enough, it is the server that matters most...
How would a simple code look like, when a buy order closes it opens a sell. And vice versa, when sell order closes, buy order opens. Something like a simple martin, I do not understand. I just started to learn mql4. Many thanks in advance.
You cannot make it that easy. Look, for example, here: https://www.mql5.com/ru/forum/113963
How would a simple code look like, when a buy order closes it opens a sell. And vice versa, when sell order closes, buy order opens. Something like a simple martin, I do not understand. I just started to learn mql4. Many thanks in advance.
What does this have to do with martin? Just a flip system...