Hello, I want to ask... is it possible to write an Expert Advisor on MT4/5, so that when making a deal, it relies not only on the indicators embedded in MT, but also on data from outside (for example, from my server)?
And one more question: can an Expert Advisor be guided by indicators not only for the instrument bound to it, but also for other instruments (figuratively speaking, an Expert Advisor on the EURUSD currency pair is guided by an indicator with DXY)?
key_Ex write an Expert Advisor on MT4/5 so that it relies not only on indicators embedded in MT, but also on data from outside (for example, from my server)?
And one more question: can an Expert Advisor be guided by indicators not only for the instrument bound to it, but also for other instruments (figuratively speaking, an Expert Advisor on the EURUSD currency pair is guided by an indicator with DXY)?
Well, it only returns a value of 10. That can't be right.
I don't think there's an error. I'm just starting to program, please help me.
10 is exactly a handle, its value. This indicates that the indicator has been successfully created.
To read the values of its buffers from a successfully created indicator, you should use CopyBuffer(), in which you should specify the received indicator handle.
Hi, I'm using mt5 on Android, I'm learning trading on my own even though I'm seriously thinking of doing some training. I have a serious problem with lots 😭😭😭. I don't understand anything, I've been on the internet for 3 days trying to figure it out but nothing.
I know that 1 lot = 100,000 USD
0,1 lot= 10.000 USD
0.01 lot = 1,000 USD
My problem is that if, for example, I have a capital of 10,000 USD and I want to invest 1% of my capital, i.e. 100 USD, which lot should I choose?
Hi all! Colleagues, please, when dragging a new symbol from the "Market Watch" list into a chart window with a mouse, drawing objects from the previous symbol (e.g. levels, etc.) remain on the chart. Are these objects bound to the window without being bound to the symbol? Is it somehow curable? Maybe there is a fix for it? I don't want to create a separate profile for each symbol.
Yurka Tim #: Hi all! Colleagues, please, when dragging a new symbol from the "Market Watch" list into a chart window with a mouse, drawing objects from the previous symbol (e.g. levels, etc.) remain on the chart. Are these objects bound to the window without being bound to the symbol? Is it somehow curable? Maybe there is a fix for it? I don't want to create a separate profile for each symbol.
It's just that the EA that creates objects should delete them when deinitialising.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello, I want to ask... is it possible to write an Expert Advisor on MT4/5, so that when making a deal, it relies not only on the indicators embedded in MT, but also on data from outside (for example, from my server)?
And one more question: can an Expert Advisor be guided by indicators not only for the instrument bound to it, but also for other instruments (figuratively speaking, an Expert Advisor on the EURUSD currency pair is guided by an indicator with DXY)?
And one more question: can an Expert Advisor be guided by indicators not only for the instrument bound to it, but also for other instruments (figuratively speaking, an Expert Advisor on the EURUSD currency pair is guided by an indicator with DXY)?
Yes, it is possible to do all of the above.
Yes, all of the above can be done.
int mov1=iMA(NULL,PERIOD_H4,200,0,MODE_EMA,PRICE_CLOSE);
outputs 10
I bet on Eurodollar, why 10 is not real.
outputs 10
I bet on Eurodollar, why 10 is not real.
Returned value
Returns the handle of the specified technical indicator, in case of failure returns INVALID_HANDLE.
Return value
Returns the handle of the specified technical indicator, returns INVALID_HANDLE in case of failure .
Well, it returns a value, only 10. It can't be like that
I don't think there's an error here. I'm just starting to program, please help me.
Well, it only returns a value of 10. That can't be right.
I don't think there's an error. I'm just starting to program, please help me.
10 is exactly a handle, its value. This indicates that the indicator has been successfully created.
To read the values of its buffers from a successfully created indicator, you should use CopyBuffer(), in which you should specify the received indicator handle.
Colleagues, please, when dragging a new symbol from the "Market Watch" list into a chart window with a mouse, drawing objects from the previous symbol (e.g. levels, etc.) remain on the chart. Are these objects bound to the window without being bound to the symbol? Is it somehow curable? Maybe there is a fix for it? I don't want to create a separate profile for each symbol.
Hi all!
Colleagues, please, when dragging a new symbol from the "Market Watch" list into a chart window with a mouse, drawing objects from the previous symbol (e.g. levels, etc.) remain on the chart. Are these objects bound to the window without being bound to the symbol? Is it somehow curable? Maybe there is a fix for it? I don't want to create a separate profile for each symbol.