Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1786

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
Greetings. Could you please tell me how to set RSI levels for tester?
Trying to get parameters like this when debugging with real data seems to be ok, but when debugging with history there is a 4014 error (System function is not allowed to be called)
Greetings. Could you please tell me how to set RSI levels for tester?
Trying to get parameters like this when debugging with real data seems to be ok, but when debugging with history there is a 4014 error (System function not allowed to be called)
Then, in the test mode you can add two OBJ_HLINE objects. And in other modes use normal way.
Can you tell me what can be used to call another expert or indicator? OK, there is iCustom() for indicator. Is that all? Is there another way to pass something from one EA to another EA or indicator?
Then, in test mode, you can add two OBJ_HLINE objects. And in other modes use the usual way.
Specifically, is it possible to set levels?
Is it possible to set the levels exactly?
You said yourself, on real data everything works, but in the tester the levels don't show. I said, then create two lines in the indicator window when it is running in the tester. When running on real data, let everything stay as it is. And how is that not a solution to your problem, and the horizontal lines created in the oscillator are not levels?
Can you tell me what can be used to call another EA or indicator? OK, there is iCustom() for an indicator. Is this all? Is there any other way to transfer something from one EA to another?
You need to save the template with the expert and call it up withChartApplyTemplate.
You said yourself, on real data everything works, but in the tester the levels don't show up. I said, then create two lines in the indicator window when it is running in the tester. When running on real data, let everything stay as it is. And how is that not a solution to your problem, and the horizontal lines created in the oscillator are not levels?
The levels are displayed in the tester, but I cannot find how to set the required ones.
I read it the first time, thanks for the response.
What, who, and why is needed is another matter.
The tester shows the levels, but I can't find how to set the right ones.
https://www.mql5.com/ru/docs/customind/indicatorsetinteger
https://www.mql5.com/ru/docs/constants/indicatorconstants/customindicatorproperties#enum_customind_property_integer
https://www.mql5.com/ru/docs/customind/indicatorsetdouble
https://www.mql5.com/ru/docs/constants/indicatorconstants/customindicatorproperties#enum_customind_property_double
INDICATOR_LEVELS
Number of levels in the indicator window
INDICATOR_LEVELVALUE
Level value
On this resource, naming a broker is tantamount to discussion. And the lullaby does not sleep and threatens reprisals. So look for yourself...