Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1465
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
const string name="VLine,VLine2,VLine3", // line name
I made the line name unique. In input too. Doesn't help.
const string name="VLine,VLine2,VLine3", // line name
I made the line name unique. In input too. Doesn't help.
You made the name somewhere in the wrong place, and not like that).
const string name="VLine,VLine2,VLine3", // line name
I made the line name unique. In input too. Doesn't help.
Here, run without input parameters, copy it directly like this and maybe it will become clearer.
Here, run it without input parameters, copy it directly like this and maybe it will become clearer.
Thank you very much! Just what I need!
Here are the Buy/Sell functions in the CTrade trading class
I specify a price in them, but the position is still opened by Ask/Bid.
What kind of price can I specify here?
Thank you very much! Just what I need!
unique name)
I specify a price in them, but the position is still opened by Ask/Bid.
What kind of price can I specify here?
Pay attention to other methods
Pay attention to other methods
Yes, I know about them, of course, but I need for other things.... Anyway, the point is this. I recently started trading on binance and wanted to test it. There is also a kitchen broker with a lot of cryptocurrencies, but the spread interferes. And so the quotes match pretty well with binance quotes, especially if you consider the price (bid+ask)/2.
Here I wanted to maximise the match, although of course it will be possible to neglect these discrepancies.
Yeah, I know about them, but that's not what I'm after. Anyway, the point is this. I recently started trading on binance and wanted to test it. There is also a kitchen broker with a lot of cryptocurrencies, but the spread interferes. And so the quotes match pretty well with those of binance, especially if you consider the price (bid+ask)/2.
Here I wanted to maximise the match, although of course it will be possible to neglect these discrepancies.
Perhaps you can look into creating your own chart. MQL5 allows it.
Good afternoon. When writing an Expert Advisor on Mql5 I encountered a problem. There is an array with values of candlesticks opening for the year. On each candlestick of this array I need to create an array of n-candles, say 30, to check the highs and lows. Something like a Zigzag indicator.
I wrote this code, which gives an error: "array out of range" or the values of maximum and minimum in the whole array, but not in the required 30-candle period.
Perhaps I need to create another array to check in the ArrayMaximum() and ArrayMinimum() functions, but I'm confused with nested loops and array size.
Please, give me a hint.