Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 232

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
Second. The command to open an order
It doesn't make any sense. What does it have to do with a market order? Maybe it is the indicator call? Then modify the indicator and call it using iCustom instead of iMACD.
Maybe, there is no need to modify anything at all, the kodobase is full of goodies.
It doesn't make any sense. What does it have to do with a market order? Maybe it is the indicator call? Then modify the indicator and call it using iCustom instead of iMACD.
Maybe I do not need to modify anything, the kodobase is full of goodies.
I tried it via iCustom but it works slowly. I tried it viaiMAOnArray but had a problem with arrays. I had a couple of days trying to bind all the arrays together. It's easier to make iMACD but that's the question
I tried iCustom, but it works slowly. TriediMAOnArray, but there's a problem with arrays. Couldn't bind everything together for a couple of days. It's easier to makeiMACD, but that's the question.
You can't, standard iMACD calculates the signal line using the SMA formula, only custom will help.
No way, the standard iMACD calculates the signal line using the SMA formula, only custom will help.
Ok, I figured out that it's impossible to do that. thanks a lot for the info
I've realised it's impossible. Thank you very much for the info.
Nothing is impossible, we just need to widen the scope a bit ))))
That's it, I realised it's not possible. thanks a lot for the info
Here is the code of the standard MACD
The line marked in pink I have added.
If I uncomment the line marked in pink and comment out the line marked in green, the MACD should be calculated using all exponential MACDs.
Here is the code for the standard MACD
The line marked in pink I added.
If I uncomment the line marked pink and comment out the line marked green, the MACD should be calculated using all exponential MACDs.
The question was how to do it in the EA. The EAautomatically calculatesusing the SMA formula
The question was how to do this in the EA. The EAautomatically calculates theSMA using the formula
I showed you how to make a custom MACD.
That is what you should use in your Expert Advisor through iCustom()
I showed you how to make a custom MACD.
That is what you should use in your Expert Advisor via iCustom()
I have a lot of data and the bush is slowing down. I've already tried it. It's affecting the results. Thanks anyway.
I have a lot of data and the bush is slowing down. I've already tried it. It's affecting the results. Thanks all the same.