Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 832
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
Expert Advisors do not have indicator buffers and do not draw in the terminal
Read in the help what is the difference between Expert Advisors and scripts and indicators
Thank you for your reply.
Can you tell me how to implement this functionality ?
Hello! Help pass an array into a function
have a structure
I declare a couple of static arrays like this structure
Now, I want to pass a static array into a function, but it gives me an error - '[' - array required
How do I correctly pass an array into a function?
Hello! Help pass an array into a function
have a structure
I declare a couple of static arrays like this structure
Now, I want to pass a static array into a function, but it gives me an error - '[' - array required
How do I correctly pass an array into a function?
void MyFunction(pattern &array[][NUMBER_OF_PERIODS])
Thank you! super!
Thank you for your reply.
Can you tell me how to implement this functionality ?
only separately an Expert Advisor that calls an indicator via iCustom() and separately an indicator for a chart
at that the Expert Advisor, when calling the indicator, will use a new copy of the indicator, i.e. if you run the Expert Advisor on a chart and change its settings (the ones you pass to iCustom() ), the indicator will not react on the chart
the indicator, that was called by the Expert Advisor, will be displayed in the Strategy Tester at the end of testing. During testing in visual mode, you can throw the indicator onto the Strategy Tester chart....
If you want to use indicator in a different way, it is possible to do it in a different way ... maybe someone has done it
Thank you for your reply.
Can you tell me how to implement this functionality ?
Draw lines(OBJ_TREND)
Thank you for your reply.
Can you tell me how to implement this functionality ?
If you draw lines of the indicator without using the indicator at all, but only with calculations transferred from the indicator to the Expert Advisor, then only with graphical objects - trend lines. It is expensive, though. But we can limit the visibility area of bars on the chart.
Thanks for the tips.
In fact, the Indicator does the same thing.
i.e. I have calculated values, I need to connect them with lines.(OBJ_TREND)
at least one parameter needs to be changed when modifying an order, error #1 - if nothing needs to be changed after sending a request to the server
unprint what you have sent to the server, you will see it right away.
The error remains, even though I have added an additional condition to check if there is a stop or profit
Also for trailing
The error remains, although I have added an additional condition to check the presence of stop or profit
Also for trailing