Questions from Beginners MQL5 MT5 MetaTrader 5 - page 717
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
It might be worth showing the formula for calculating when a value of "A" is positive, because it's not clear what we're talking about
Why isn't it clear? There is the current price value "C" and the appropriate current MACD value "A". By what "dC" value should the price change on the current bar if the MACD value on this current bar changes to "dA"?
Renat, thank you, of course, for your participation.... But, the question was about something else:
There is a MACD in the indicator window, which has some "A" value calculated on the current price. What should be the formula to calculate the price value, if the current MACD value would become "-A" ?
I showed you the wiki. There are formulas there
I showed you the wiki, it has the formulas
I'm too lazy to "reinvent the wheel", but apparently I have to.
The answer to my question is in the reverse conversion of those formulas, which, as you correctly note, are written everywhere, including on the "wiki"
Lazy to "reinvent the wheel", but apparently I have to.
You are right.
Your problem is solved from the end. That is, you take the formulas for calculating the indicator and find the answer.
You are right.
Your problem is solved from the end. That is, take the formulas for calculating the indicator and find the answer.
Finally! Problem solved.
...
start()
{
........
j=j+10;
SetIndexShift(0,j);
Everything works on MT4
THANK YOU VERY MUCH!!!
Interesting.... But on the merits of the question, can anyone say something constructive?
Whatever the question, that's the answer.
What do you want the result to be? If I guessed it, just multiply the result by -1.
..... If I guessed it, just multiply the result by -1.
It's a shame that in the last 5-6 years, the forum has turned into .....
And if you didn't guess, then what ?
It is a shame that over the past 5-6 years, the forum has turned into ......
And if you don't guess, then what?
It's a shame that over the last 5-6 years, the forum has turned into .....
MACD is the difference of 2 MAs
If the result is negative, it does not mean you can predict the future price, just that one of the MAs is higher than the other at the moment.
Each of the 2 MAs is the average price over the period defined in the MACD parameters
Place 2 MAs on the chart. If you analyse which one is higher/lower, you will get the MACD
Was it difficult to understand this from the wiki?
And the forum has given a chance to those who try to figure it out for themselves.
It used to be shameful, now it is not. We are on the forex market in order to make money.
So it's okay.