ReLor2 / Profile
Friends
Requests
Add friends via their profile or user search and you will be able to see if they are online
Outgoing
ReLor2
Added topic Find ChartID by periode
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
ReLor2
Added topic Second period in tester not showing
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
ReLor2
Added topic Compare ENUMs
Hi, i try to understand why the following if-statement not works. void OnTradeTransaction ( const MqlTradeTransaction &trans
ReLor2
Added topic Find related orders and positions
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
ReLor2
Added topic Pass array values directly on function call?
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" });
ReLor2
Added topic Possible to use 2 different structures in 1 array?
Hello, is it possible to use two structures in 1 array? Something link that? struct
ReLor2
Added topic Modify, edit or change a structure
Hello, i try to find a answear if it is possible to change a defined structure, later maybe to add a new element to the struct? Is it possible? struct
ReLor2
Added topic Draw Linke without boxes
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
ReLor2
Added topic Basic question about passing and handling global vars to a function
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
ReLor2
Added topic How to remove first element from multidimensional array and add new at the end
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.
ReLor2
Added topic Problem with EMPTY_VALUE
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 );
ReLor2
Added topic fill multidimensional array
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
ReLor2
Added topic Simple Access to structure element
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
ReLor2
Added topic easiest way to remove first element and at one element at the end
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
ReLor2
Added topic Use/return a integer value from a double array
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
: