Forum

mql4 variable number of inputs?

Hi evryone, How to code variable number of inputs on mql4? Example first we enter number of inputs: input int NumberOfInput = 5; Then the input window will show 5 lines of Input to enter value: input double data1; input double data2; input double data3; input double data4; input double data5; Thank

Why profit is not correct on mt4 backtest!

Why the profit on attachment picture is not correct on back testing? Please help me. It must be 100*0.2lot*(1850.627-1841.673) = 179.08$ Thank you