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
If a sound file can be played from the Files folder, where it is pre-recorded by the Expert Advisor, then the solution of the problem will be real, if the resulting sound file will be integral.
Somebody try running the .wav from the Files folder. I wonder if it works.))
yes it works I copied the entire folder
C:\Users\San\AppData\Roaming\MetaQuotes\Terminal\3 DE8A6E768D9369994F541727D733DE8\MQL5\Files\Sounds\
yes it works I copied the entire folder
Now that, that's hope.))
double-checked the song and ran it again
https://yadi.sk/d/EGsTJGYBmDFnGgdouble-checked the song again ran
https://yadi.sk/d/EGsTJGYBmDFnGgWell, you don't always have to believe the documentation)))
I do not know, in my Expert Advisor - where there is some action, it plays
of course its own melody or sound
I can take a look, but not before tomorrow evening. If you haven't worked it out yourself by then.
and you won't :-)
why do you put curl command options in HTTP headers?
Why don't you at least read some books, look through some examples... otherwise, we'll all write you an article
so where can i get an example with output to a binary file? ))
trying to figure it out, i've minimized the syntax of the url command itself
i use it to download a wav file with the word TEST in it
then remove options
in the header now is the authorization option -u, behind which the server waits for the apikey. Seems to make sense, but something in the syntax is still wrong
code result -"Webrequest4Voice (EURCHF,D1) Error loading 'https://api.eu-gb.text-to-speech.watson.cloud.ibm.com/instances/9886a3ce-5734-455f-8f78-7a56381da686/v1/synthesize?text=TEST', code 401"
Can you give me a hint? ))
so where can we get an example with output to a binary file!? ))
trying to figure it out, i've minimized the syntax of the url command itself
download a wav file with the word TEST in it
then remove options
in the header now is the authorization option -u, behind which the server waits for the apikey. Seems to make sense, but something in the syntax is still wrong
code result -"Webrequest4Voice (EURCHF,D1) Error loading 'https://api.eu-gb.text-to-speech.watson.cloud.ibm.com/instances/9886a3ce-5734-455f-8f78-7a56381da686/v1/synthesize?text=TEST', code 401"
Can you give me a hint? ))
To translate an HTTP request from curl options to WebRequest parameters, you have to:
1. in general, look at wikipedia to see how HTTP is structured
2. check in Curl documentation to see what options mean and why they are used
3. read the WebRequest help and see examples, even in this thread a lot
4. You should write code being aware of what you've done :-) what, why and why is it used.
You are obviously expecting all 4 points to be done for you. I understand it's weekend, time is short, and you have lots of ideas. It has to be quick.
But you still have to do it yourself.