Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1296
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
Good day to all. Question about WebRequest function, when I send POST request it doesn't send array of data. On the server side I get " <WSGIRequest: POST '/'> ". Below is the code:
Good day to all. Question about WebRequest function, when I send POST request it doesn't send array of data. On server side I get " <WSGIRequest: POST '/'> ". Below is the code:
So you have a GET, right? Here I am sending a json (MQL5). Everything works.
p.s. What's with the stupid "good day" expression? Here, for example, is an article on this subject. Sorry for the flood :)
In reference:
In this code, shift is taken as the NUMBER of BARs relative to the current time.The example here is:
The help specifies that iBarShift returns the bar index.
My understanding is that the number of bars and the bar index are different parameters.
I would understand it if the numbering of bars would start from the current time (current = 0).
But OnCalculate() outputs the bar index number from the beginning of the window history.
Can you please explain what I have got wrong?
The iBarShift help is written in heresy.
The function returns not bar index in OnCalculate() sense,
, but bar offset, i.e. shift.
In Inquisition times, this would have been burned at the stake:)
Found out for myself.
The help for iBarShift is full of heresy.
The function returns not bar index in OnCalculate() sense,
but bar offset, i.e. shift.
In Inquisition times, this would have been burned at the stake:)
I'm no expert in all this.... But the very first candidate for the bonfire... is YOU. Before writing "such heresy", you should have read the documentation yourself...!
P.S. And figure out what, where and how...Good health to all!
The question is simple and naive. I wrote an EA in Mql5. I want to use this algorithm to work with cryptocurrencies on the exchange, such as BitMex. I can not understand how to rewrite EA for this exchange in another language, it is better in C, because Mql5 seems to be similar to C.
Good afternoon, all. Can you please tell me if my account has been blocked. My analyst, who led me, told me to find a broker. I do not know the broker. What to do in this situation. The amount in the account was $500.
Good health to all!
The question is simple and naive. I wrote an EA in Mql5. I want to use this algorithm to work with cryptocurrencies on the exchange, such as BitMex. I cannot understand how to rewrite EA for this exchange in another language, it is better in C, because Mql5 seems to be similar to C.
You do not need to rewrite it. You may look for a broker who allows trading cryptocurrency in MQL5.
Just in case, look at MT5 / View / Symbols
This is a question for mql specialists. How do I change positions closing marks in Expert Advisors? I want to have a red arrow to the left on a Sell close and a blue arrow to the left on a Buy close. Then I would immediately see that it is not the opposite opening, but exactly the closing. I have had it in MT4 and did not know a problem. I would like to change it in MT5. Thank you in advance.
Search for or write your own function to display trades on the chart