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

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
Why do I always get bar_time 0 and error 4051?
Hello,
I have a link: http://bhashsms.com/api/sendmsg.php?user=userid&pass=userpass&sender=senderid&phone=mobile&text=alertmessage&priority=ndnd&stype=normal
This link sends a text message to your phone if you fill in your username, password and other fields. The link works by inserting it into the browser.
I'm trying to do it like this:
But the result = -1. I read that if "...sendmsg.php?..." link has "?" sign in it, it should be "GET" request, I tried the same "POST" request but the result is negative.
Please help me to make a correct request.
Thank you.
In iTime, is the indexing not like in timeseries? Not backwards (the newest bar is zero)?
Hello,
I have a link: http://bhashsms.com/api/sendmsg.php?user=userid&pass=userpass&sender=senderid&phone=mobile&text=alertmessage&priority=ndnd&stype=normal
This link sends a text message to your phone if you fill in your username, password and other fields. The link works by inserting it into the browser.
I'm trying to do it like this:
But the result = -1. I read that if "...sendmsg.php?..." link has "?" sign in it, it should be "GET" request, I tried the same "POST" request but the result is negative.
Please help me to make a correct request.
Thank you.
I have also tried a different request:
does not work, the result is negative.
Quicker to check than to shake the forum
In any case there will be a problem if you start the test in the current month and use PERIOD_MN1. I wrote about this in post #2429.
In any case there will be a problem if you start the test in the current month and use PERIOD_MN1. I wrote about this in post #2429.
Remind me. I'll try to reproduce it.
(Just give me the link).
Remind me. I'll try to reproduce it.
(Just give me the link.)
https://www.mql5.com/ru/forum/160683/page243
Can you tell me what to do if the Market does not work in the terminal?