Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 1018
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
StringGetChar()
StringGetChar()
Or is it the wrong one?
to convert you need to determine which letter has this or that value and then replace these values with letters ... It may be possible through KernelDll but it's a muddy path, at least it didn't work for me, not much information and it looks like it's not quite right ... but a custom function is the only easy way out in my opinion
I've been writing to replace short names for characters, break up the strings into letters, and do the replacement.
Good afternoon. I have a small problem when using the indicator when switching to another timeframe, the terminal starts to slow down, and sometimes it hangs completely.
The indicator is the Bollinger Bands with the deviation value displayed. I don't know what exactly in the code is causing performance degradation.
Can anyone advise how such issues are solved in general, or where to start?
Good afternoon. I have a small problem when using the indicator when switching to another timeframe, the terminal starts to slow down, and sometimes it hangs completely.
The indicator is the Bollinger Bands with the deviation value displayed. I don't know what exactly in the code is causing performance degradation.
Can anyone advise how such issues are solved in general, or where to start?
Trader76 here is the function that was added: iMAOnArray. In it, you need to specify the number of elements to calculate. I specified all elements of the array; this is the only way to obtain the correct value of the standard deviation mean.
I checked it by overlaying a moving average on the standard deviation indicator. If I specify a particular number of elements, the calculated value changes.
Perhaps, the indicator is slow because of calculating the entire array, but it does not calculate it correctly in other ways.
The period of calculated average is 30.
Trader76 here is the function that was added: iMAOnArray. In it, you need to specify the number of elements to calculate. I specified all elements of the array; this is the only way to obtain the correct value of the standard deviation mean.
I checked it by overlaying a moving average on the standard deviation indicator. If I specify a particular number of elements, the calculated value changes.
Perhaps, the indicator is slow because of calculating the entire array, but it does not calculate it correctly in other ways.
The period of calculated average is 30.
This is exactly what I added, before this the indicator was not slowing down.
This is exactly what I added, before this the indicator was not slowing down.
Well, if you don't want it, fine.
I don't understand. What do you mean you don't want to?
You want the whole code? Okay.
The name is in Cyrillic, that's why it's in hieroglyphics.
I don't understand. What do you mean you don't want to?
You want the whole code? Okay. (chuckles)
The name is in Cyrillic, that's why it's in hieroglyphics.
It was easier to redo the whole thing.