
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
I am waiting for an answer to my question
If I don't get one within 10 minutes, I tear down the topic.On what grounds will the topic be taken down?! The question was asked correctly! What it is used for and how it is applied is everyone's business! Do not confuse concepts, applications and solutions
Look at the formula. All doubts will disappear. The averaging period can be negative.
It can. For that purpose, we should not take the past bars, but the future ones.
Thus we can get MA with a period of minus 20 for example, except for the last 20 bars.
Stupid, of course, but 10 minutes is definitely enough for me.
The question wasn't for you, namesake.
Practice for now. I've already started. With beer.
2 Caesar: The clock is ticking, six minutes to go.
The question wasn't for you, namesake.
Practice for now. I've already started. With beer.
2 Caesar: Time is running out, 6 minutes to go.
Stupid or out of touch?
It can. To do this, you do not need to take past bars, but future ones.
This way you can get e.g. a MA with a period of minus 20 everywhere except for the last 20 bars.
Yes, right.... If the positive period in MA is calculated as a positive result of the average price, then I would like the negative period to be calculated as a negative result of the average price, i.e. mirroring the calculation of a positive period... But where and how to correct the code?
2 Caesar: time is running out, six minutes to go.
On what grounds is the topic to be taken down?! The question was asked correctly! What it is used for and how it is applied is everyone's business! Don't confuse concepts, applications and problem solving! rather curiosity eats away
Is it difficult for you to remove the negative period restriction from the code?
but how? where to fix it?