[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 101
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I have only one month of stories on M15 and it's not downloading anymore. Tell me where I can get more stories, how to download more?
Press F2 to help you
Press F2 to help you
>> thank you very much.)
Good afternoon.
Could you please tell me how to terminate the indicator from the program code?
Something like:
int start()
{
...............
if(key == 2)
{
// terminate the indicator and remove it from the graph (exit; ?????????)
}
...............
return(0);
}
The MT4 tester "simulates" the spread that was on the instrument at the time the START button was pressed.
Throughout this test.
During the next test the spread may be different. And then the result of the test with the same parameters will be slightly different from the previous test.
There is no other way...
..Can you please tell me how to terminate the indicator from the program code?
Curious, what is the practical point of this?
Who can sign the diploma on Mechanical Trading Systems... in the reviewer's column?
It is desirable to have a degree, and need to reviewer to work officially in this field. Will need an extract from the personnel department at the place of work.
I can pay, but not very much, look at the nickname and you'll understand everything =)
I myself will drive up where you say. City of Moscow.
Thanks in advance!
Could you please tell how to implement in MQL functions or arrays with numbers in their names (like Func_1, Func_2, Func_3...) into a loop, using a variable instead of a number?
No. mql does not support reflection.
You can make a function to call the "index" functions with switch, for example.
https://docs.mql4.com/ru/basis/operators/switch