Shahriar Soltani / Publications
Forum
Changing the values of an array after it has been defined
Hello guys. Is it possible to change the values of an array after it is defined at the beginning of the program? for example I have declared an array with default values as follows: string NewsSymbol[ 7 ] = { "USDJPY" , "EURUSD" , "USDCHF" , "NZDUSD" , "AUDUSD" , "USDCAD" , "USDJPY" }; I tried
One questin for underestanding functions OrderTakeProfit() and OrderProfit()
hello to all Honestly, I don't understand the difference between OrderTakeProfit() and OrderProfit() functions. For example, if in buy positions on EURUSD and USDJPY if the entry and current prices are like this, what are the values of these two functions? lotsize = 0.2 EURUSD ٍEntry = 1.0640
is it possible to create Two dimension and two type Array ?
In MQL4 is it possible to create a two-dimensional array whose first dimension is a number and the second is a string? If the answer is yes, is there a way to sort it? Like this : Array[ 4 ][ 4 ] = {{ "USD" , 1 },{ "EUR" , 4 },{ "NZD" , 3 },{ "CAD" , 2 }}; and after sort : Array[ 4 ][ 4 ] = {{ "USD"
questions about the use of Array
Hi everyone In the expert that I want to write, I need to measure the strength of each currency based on a series of parameters and then determine the strongest and weakest currency. For example, I will create the variable dollar, euro, franc, etc., and then declare the largest one based on the