Questions from Beginners MQL5 MT5 MetaTrader 5 - page 922

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
Simply add another CArrayObj array to the CArrayObj: Add() array
Doesn't work that way. parameter conversion not allowed
By the way, if it matters. My object to be added to the array is a class inherited from CArrayObj.
Well, it swears at the last line - parameter conversion not allowed.Dear forum members help please!!!
I want to assign a price step to a variable:
int V=SymbolInfoInteger(Symb,SYMBOL_POINT);
error: 'SymbolInfoInteger' - no one of the overloads can be applied to the function call
What is my error again?
int V=(int)SymbolInfoInteger(Symb,SYMBOL_POINT);
So try it.
Dear Members of the Forum!
Please advise!!!
The MetaTrader 5 window shows the Bid& Ask values, which (as far as I understand) determine the win/loss.
However, when I try to use minute quotes of the history to test my strategy, these quotes do not contain the Bid and Ask values, but give the values " OPEN", "HIGH" "LOW", "CLOSE", "TICKVOL","VOL", "SPREAD". It is not quite clear how to take Bid and Ask from these values, as well as how to calculate the spread.
Everything is absolutely clear. Describe in more detail what exactly is meant by "when I try to use minute history quotes"? What exactly are you doing or want to do?
Dear forum members help please!!!
I want to assign a variable to the price step:
int V=SymbolInfoInteger(Symb,SYMBOL_POINT);
error: 'SymbolInfoInteger' - no one of the overloads can be applied to the function call
What's my mistake again?
SymbolInfoInteger help:
1. Directly returns the value of the property.
2. Returns true or false depending on success of the function. If successful, the value of the property is placed in the destination variable passed by reference by the last parameter.
That is OR long OR bool.
Dear forum members help please!!!
I want to assign a price step to a variable:
int V=SymbolInfoInteger(Symb,SYMBOL_POINT);
error: 'SymbolInfoInteger' - no one of the overloads can be applied to the function call
What's my error again?
Point is a value of type double. When received as int it will have a zero value.
SymbolInfoInteger Help:
1. Directly returns the value of the property.
2. Returns true or false depending on success of the function. If successful, the value of the property is placed in the destination variable passed by reference by the last parameter.
That is OR long OR bool.
Got it, thanks)
I just started, I don't know how to write in this language yet. But the problem is - if in a new window, the graph appears. But I can't display it in the current one... What is my error? Considering that I myself could not write it and I can't find examples here. All the more, it's clearly not through a function like SetChartData(point1,point2); it just happens by itself...
And the variable seems to be set(indicator_chart_window), but still it doesn't work....
Absolutely everything is available. Describe in more detail what exactly is meant by "when I try to use minute history quotes"? What exactly are you doing or want to do?
In order to download history quotes load MetaTrader 5, click on the icon with dollar symbol: "Symbol List Display" (or you can press Ctrl U). The "Symbols" window will appear. On the "SPECIFICATION" tab find the desired currency pair, e.g. GBPCHF. In the tab "BARs" set minute quotations (M1) and dates of the beginning and the end of the required period. After clicking on the "REQUEST" button, a csv file will be downloaded, which can be used to test strategies with the Metatrader or with your own programs.
Using EXCEL you can view the content of this file, where the first line reveals the information in the file, i.e. "date, time" and then" OPEN", "HIGH" "LOW", "CLOSE", "TICKVOL", "VOL", "SPREAD"
I know exactly what this data means, but how to make BIT and ASK from this data, which MetaTrader 5 uses?