You correctly wrote that the problem should be solved recursively. There is a given number of elements. As long as the element is not the last, the function enters itself with a reduced mass value by the value of all the increments in the previous iterations. On the last element, simply calculate the last residual and print.
Do you have any ideas on how to call "Notepad" from MT4?
I'm tired of storing data in .txt and opening it by hand (with mouse). I would like to open Notepad file ..МТ4\experts\files\data.txt after completing computations
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.
what am I missing in the function that the button is not visible ?
This is a function in a DLL:
when the function is called from the script - everything goes perfectly.
The chart at the top shows the text "String", the function itself returns the correct button width number 100.
But the button is not visible.
-------------
ZS
Found the problem - forgot to do UpdateWindow .
Thank you all :)
how to disable news in MT5 that is displayed on the chart????
know besthere
Do you have any ideas on how to call "Notepad" from MT4?
I'm tired of storing data in .txt and opening it by hand (with mouse). I would like to open Notepad file ..МТ4\experts\files\data.txt after completing computations
thanks
how do you change plus to minus by condition?
it looks like from the realm of fiction, if plus or minus had a value of int integer type, you could set int pl = +;)))
maybe there's an option.......
how do I change the plus from the minus in the condition?
select S=1 or S=-1. then multiply the required value by S
for example like this: