Didn't really look at the code and it's not clear which line the error is in, but it's not like the error is here.
Try reducing the limit
The error is exactly in this loop.
for(int i = 0; i < ma_values_to_copy; i++)
{
Buffer1[i] = buffer_MA[i]+(buffer_MA[i+1]-buffer_MA[i+InpShiftCorrection])/(InpShiftCorrection/GS);// ошибка тут
}
But your suggestion has prompted me to make a small change:
for(int i = 0; i < ma_values_to_copy-InpShiftCorrection; i++)
{
Buffer1[i] = buffer_MA[i]+(buffer_MA[i+1]-buffer_MA[i+InpShiftCorrection])/(InpShiftCorrection/GS);//1.314;
}
How can I make it so that when a colour is changed in the input parameters, this colour is in"indicator_color1" ? Right now, no matter how you change it, it's the original
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.
MQL5
I can't seem to get it to work. Can someone suggest something?
Forum on trading, automated trading systems & strategy testing
Can someone please give me a hint.
Sergey Tabolin, 2019.03.07 08:14
Based on one indicator from the codebase I wrote an example of what I want. It works. But it gives an error on startup:
Can you tell me where the error is?
MQL5
I can't seem to get it to work. Can someone give me a hint?
Two buffers and the #property specifies one
Thanks for the tip...
But nothing has changed. I'm a total minus in indicators (((
Thanks for the tip...
But nothing has changed. I'm a total minus in indicators (((
Thanks for the tip...
But nothing has changed. I'm a total minus in indicators ((
Didn't really look at the code and it's not clear which line the error is in, but as if the error isn't here.
Try reducing the limit
Didn't really look at the code and it's not clear which line the error is in, but it's not like the error is here.
Try reducing the limit
The error is exactly in this loop.
But your suggestion has prompted me to make a small change:
The error is gone. Thank you )))
I have downloaded mt5. for my trading account. Can you tell me where and how to pay for the real trading? I am a NEWbie.
Switch on the computer. Boot up your browser. In the search bar type the words "open a MetaTrader 5 account".
Has this ever worked, or not?
How can I make it so that when a colour is changed in the input parameters, this colour is in"indicator_color1" ? Right now, no matter how you change it, it's the original