Hi, i try to draw on a chart. For the first one (Period M1) it works fine. For the second one (Period M5) it failed. I think i need to find the chartid for the second chart but how i can do it? Is there a function to get the chartid by periode? Also
Hello. I want to use a indicator with 2 periods so in the ea code it works fine. Only on the tester and here at the charts i have the problem, that i see the two tabs " EURUSD , M1" and "EURUSD, M5". Only in the first is content avivable. If i click
Hi, i try to understand the logic of mt5 how to do and handle trades ( Orders, Positions and Deals in MetaTrader 5 - MQL5 Articles ) At the moment i'm really confused. If i see it correctly, there is no kind of id, wich marks the first trade to open
Hi, i want to ask if something like this is possible void my_function( string array[]){ } //Call the function and pass datas directly my_function({ "text1" , "text2" , "text3" });
Hi, I want to draw a line on the chart. It works but, i want to draw without the boxes - what i have to do for it? DrawTrendLine(chartid, "line_" + TimeCurrent (),windowid
Hello, i've the following basic question. if i define a array in global scope. double myglobalarray[]; myglobalarray[0]=987; Is it possible to pass this array to a function, work, fill and change his values at the end at global scope, without
Hello, i have the following array-Structure. myarray[level1][level2] Now i store some values myarray[0][0]=val0_1 myarray[1][0]=val1_1 myarray[3][0]...etc.
Hi, i have a little problem with the EMPTY_VALUE about this code. //Function bool my_function( int value1= EMPTY_VALUE ) { Print ( "EMPTY_VALUE is:" + EMPTY_VALUE );
Hello, i looking for a faster way to setup my array, but my tries failed. At first in global scope i do this: double prices_reset_tp[][ 2 ]; After that onINIT i do this ArrayResize (prices_reset_tp,number_array); numer_array is a input var and
Hi, only a short basic question. I create a struct. In the array i only store 1 row (1 element each), how i can access them. struct my_data_struct { double field1; int
Hello, i do my first steps in mql, so sorry for my simple question. I have a array with prices. I want to updates this array with a new price, so the oldest one must delete and the new price add to the array. The index value are represent the order
Hi, i try to understand the basic things in mql5 So at the moment i want to define a array, for that i do this double my_double_array[]={ "0" , "0" , "0" }; now i want to store and return some different kinds of datas in the first element should a