![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Show me and I'll disappear for a month. I'll take responsibility for my words, which I can't say about you. And just to believe it, even after one lie, I'm sorry...
after what one lie. There hasn't been a single lie on my part here.
And the fact that you don't believe the truth is your problem.
So we have an agreement that if I break the cycle when calculating the BB on every bar except the first, then you will disappear from the forum for a month?
And if I don't fail, what should I do? Also disappear for a month? Or for a year?
After what one lie. There wasn't one lie on my part.
And if you don't believe the truth, that's your problem.
I.e. we agreed that if I fail the cycle in calculating the BB on every bar except the first, then you will disappear from the forum for a month.
And if I don't fail, what am I supposed to do? Also disappear for a month? Or for a year?
There was a suggestion to download the demo and make sure that the channel width equals sko multiplied by 1.41. I downloaded, checked, it turned out not to be so.
Which one exactly?
...
So it's agreed that if I go out of cycle when calculating the BB on every bar except the first, then you will disappear from the forum for a month?
And if I don't fail, what should I do? Also disappear for a month? Or for a year?
What does this have to do with breaking the cycle? And now don't try to make up conditions and then sort of prove that they have been met. It's already clear to everyone what the conversation is about (naively I hope so, but I'm beginning to doubt it).
I don't need anything. This magic algorithm will be enough.
Relying on your taste). Not a sampler, of course.
Nah, this kind of drinking is beyond my tastes.
Nah, that kind of drinking is beyond my tastes.
Don't worry, you weren't invited to drink. I'll be drinking).
You don't need a channel. Enough std to match the example from the terminal
You don't need a channel. Just enough std to match the example from the terminal.
So Hennessy will be?
I will.
The example from the terminal is a bit complicated, I am attaching my indicator. It calculates exactly the same as the example from the terminal, the code is written clearly.
Here is its start function:
The task is to do the same without internal loop"for(int j=i-period+1;j<=i;j++){", similar to how MA is calculated in it.