int masiv[1];
Print(sizeof(masiv));//вернёт 4, потому что int 4 байта, если так masiv[2]- будет 8.int Perem;
Print(sizeof(Perem));//вернёт 4, потому что int4 байта
//если записать вот такint masiv[];
Print(sizeof(masiv));вернёт 52 вне зависимости где и как объявлен массив.
//если записать вот такint masiv[][3][3];
Print(sizeof(masiv));вернёт 52.
If you pass any of these arrays into a function, there will be a 52 question why.
Is there any script for mt5 to delete all the remaining arrow graphics after trades open, otherwise it's a long time to manually delete objects one by one.
Konstantin Lebedev: Is there any script for mt5 to delete all the remaining graphical displays in the form of arrows after opening trades, because it takes a long time to manually delete objects one by one.
Konstantin Lebedev: Is there any script for mt5 to delete all remaining graphical displays in the form of arrows after opening trades, otherwise it is long to delete objects manually one by one.
Drummer doesn't understand what the question is about. In the "History" or "Trade" tab, context menu and delete all at once. You can also disable adding.
Hello. Still (slowly, what's the rush?) mastering MT5. Faced with not understanding the record. Hint or if there is an indicator with a buffer line by time please send me the link))) Thanks
for(int i=limit; i>=0; i--)
{
...
MqlDataTime tm;
TimeToStruct(time[i],tm);
if(tm.hour==18 && tm.min==30 && Period()<=PERIOD_H1)
{
//функция для создания таймлинии (вертикальная) ВСЕ ОК!//КАК ВЫГЛЯДИТ ЗАПИСЬ СОЗДАНИЯ БУФЕРНОЙ ЛИНИИ ? ТАК НЕ ПОЛУЧАТСЯ for(int j=shift; j>=0; j--)
{
CL=iClose(NULL,_Period,j);
Buff[i]=close[j]; // =CL;if(Buff[j-1]!=Buff[j])
Buff[j-1]=EMPTY_VALUE;
}
}
-nan(ind) is not a number?
not a number
sizeof() returns the size of the variable type
That's right. An array is a collection of data of the same type. If you write it like this
If you pass any of these arrays into a function, there will be a 52 question why.
Is there any script for mt5 to delete all the remaining graphical displays in the form of arrows after opening trades, because it takes a long time to manually delete objects one by one.
You don't need to do it one by one, you can delete all graphical objects at once in one go:
Is there any script for mt5 to delete all remaining graphical displays in the form of arrows after opening trades, otherwise it is long to delete objects manually one by one.
Drummer doesn't understand what the question is about. In the "History" or "Trade" tab, context menu and delete all at once. You can also disable adding.
Doing
Help please
//+------------------------------------------------------------------+
Here is the indicator code. It has no errors when compiled, but it shows nothing on the chart.
Please help.
...Here is the code for the indicator. It doesn't give any errors when compiling, but it doesn't show anything on the chart at all.
Insert the code correctly:
And don't create many topics with a simple question.