Questions from Beginners MQL5 MT5 MetaTrader 5 - page 457
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
2015.10.10 14:27:30.303 Tester register MQL5.community account and use MQL5 Cloud Network to speed up optimizations.
I can't test the robot with visualization. Have I got it right, the terminal asks to use cloud calculations? How to fix it?
Здравствуйте! 2015.10.11_11:45МСК. Compiler gives 0 errors, 0
warnings. And in the strategy tester, in the visualisation window, the chart is moving, but the
EA does not open trades. I do not see any errors in the program code.
Can you tell us what is wrong? Why does the EA does not trade? I attach three
.mq5, ex5 and .log . 11:51AMSC.
One of the charts(PERIOD_H4) has an EA and draws lines on another chart (PERIOD_M1).
How can I delete lines which were drawn on another chart (PERIOD_M1) when removing an EA from a chart (PERIOD_H4)?
OK, it's not working.
One of the charts(PERIOD_H4) has an EA and draws lines on another chart (PERIOD_M1).
How can I delete lines which were drawn on another chart (PERIOD_M1) when removing an EA from a chart (PERIOD_H4)?
OK, it's not working.
Remove objects with the same prefix, through the second form of call https://www.mql5.com/ru/docs/objects/objectdeleteall
Now, everything works.
THANK YOU !!!!
Hello. I've been familiar with mql5 for a couple of days, before that I was using TsLab. Following the example I made an EA with 2 internal iMA indicators. I have 2 handles and iMA function. Everything works.
Can I ask you something)
1. How can I change the colour of internal indicator in an EA? In a standalone indicator, you specify the properties of the buffer you want and its colour, but what about in the built-in indicator?
2. How to display not only sliders, but also stop and take profit on a chart in the EA.
Hello. I've been familiar with mql5 for a couple of days, before that I was using TsLab. Following the example I made an EA with 2 internal iMA indicators. I have 2 handles and iMA function. Everything works.
Can I ask you something)
1. How can I change the colour of an indicator in an EA? In a standalone indicator, you specify the properties of the buffer you want and its colour, but what about in the built-in indicator?
2. How to display not only sliders, but also stop and take profit on a chart in a test.
a) If we meaniCustom, in this case, you get data of indicator buffers in your Expert Advisor, that is, the indicator is not displayed on the chart, and therefore the indicator colour is up to the light.
b) Exception: the colour of indicator constructions depends on indicator buffer values - in this case see par. 1.а.
Hello.
There is a custom indicator. As a result an array of values (one line) and a chart (line). Can you please tell me how to get only the values of the array of values in my EA.
I want to use the indicator for chart drawing to see what it draws. And I will continue working with values.
Hello.
There is a custom indicator. As a result an array of values (one line) and a chart (line). Can you please tell me how to get only the values of the array of values in my EA.
I want to use the indicator for chart drawing to see what it draws. And I will continue working with values.
Hello.
There is a custom indicator. As a result an array of values (one line) and a chart (line). Can you please tell me how to get only the values of the array of values in my EA.
I want to use the indicator for chart drawing to see what it draws. And I will continue working with values.
In order to see "what it draws", put this indicator with the same parameters in the same Expert Advisor window.
To get the values of the array use the function CopyBuffer.