You have to size it with ArrayResize() before using
I think that in this case you can't set the final value, the buffer's volume should be equal to the actual rates_total, but the volume can't be set with a variable
lazarev-d-m: I think that in this case you can't set the final value, the buffer volume should be equal to the actual rates_total, but the volume can't be set through a variable
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
We are not psychics, specify the signal, the first assumption is the signal is for mt5 and you signed up being an mt4 client
Skalping 1pips
The signal seems to be suitable for mt4.
Skalping 1pips
Yes I should, the signal has 24 subscribers, do you have enough money to make the transaction, maybe the proportions are wrong?
Can you tell me what the minimum proportions should be?
To open a trade with a volume of 0.01 lots, if you subscribe to that signal, you should have about $3,600 :)
And this is at the maximum (95%) load on the deposit.
Something like this.
To open a trade with a volume of 0.01 lots, if you subscribe to that signal, you must have about $3,600 :)
And this is at the maximum (95%) load on the deposit.
Something like this.
Can you tell me what's wrong?
In the longest line Buf[q] somehow goes outside the array, how is it, it's dimensionless, isn't it?
2013.02.20 13:12:48 Deviation 2 (EURUSD,H1) array out of range in 'Deviation 2.mq5' (61,10)
Can you tell me what's wrong?
In the longest line Buf[q] is somehow out of range, how come it's dimensionless?
2013.02.20 13:12:48 Deviation 2 (EURUSD,H1) array out of range in 'Deviation 2.mq5' (61,10)
That's why it is dimensionless.
We have to set its size with ArrayResize() before using it
That's why it's dimensionless.
You have to size it with ArrayResize() before using
An array cannot be infinite.
Having a quick look there are errors in the algorithm, e.g. here:
the index of array q becomes negative.
I think that in this case you can't set the final value, the buffer volume should be equal to the actual rates_total, but the volume can't be set through a variable