Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 409
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 mean to prescribe some code in my indicator/advisor, which would immediately connect some other indicators when switching on
What kind of code?
Something tells me it's for the tester. This is solved in half a click without programming. When you create a template with all indicators you need and give it the name "Tester" or the name of advisor. Then, when you run the advisor in the tester, a chart will be opened with indicators already set.
I mean to write some code in my indicator/advisor, which would immediately connect some other indicators when switching on
What and how do I add?
Hi, Can you please advise me, I need to integrate Vinini_HMA indicator into an EA, I have managed to connect it and get data via resource and iCustom, but the testing has become very slow. Please advise how to make the indicator values are calculated in the EA itself, I need only one parameter for the last 3 candles.
Here is the code of the indicator:
I need to calculate the last 3 values that are in the bufferExtMapBuffer[i]. I am a beginner, do not judge severely. I tried to insert these code fragments into the Expert Advisor, but the values are calculated incorrectly
I really need it! Thank you! Thanks in advance! And sorry for the long message.
I end up with 3 values vect[0], vect[1], vect[2]. But I need HMA values. HMA[0] is calculated but not correct. HMA[1] and HMA[2] are zero.
I end up with 3 values vect[0], vect[1], vect[2]. But I need HMA values. HMA[0] is calculated but not correct. HMA[1] and HMA[2] are zero.
Hi, Can you please advise me, I need to integrate Vinini_HMA indicator into an EA, I have managed to connect it and get data via resource and iCustom, but the testing has become very slow. Please advise how to make the indicator values are calculated in the EA itself, I need only one parameter for the last 3 candles.
Here is the code of the indicator:
I need to calculate the last 3 values that are in the bufferExtMapBuffer[i]. I am a beginner, do not judge severely. I tried to insert these code fragments into the Expert Advisor, but the values are calculated incorrectly
I really need them! Thank you! Thanks in advance! And sorry for the long message.
For the tester, do not connect a resource - it is slow (does not apply to this particular indicator, but to all - all resources are slow in the tester).
Connect simply through iCustom() from file location in its folder (not from resource)
I think this has already been discussed on this page... Have you tried contacting the author?
Vitya very rarely appears here.
I think it was already discussed on this page... Have you tried contacting the author?
There's a slightly different issue there, they get the values from the indicator, and I wanted the values to be calculated directly in the EA. The formulas seem to be simple, but I made a mistake somewhere. I have not contacted the author, I have not. Thanks for the tip, I will try to write to him.
For the tester, don't connect a resource - it slows down (does not apply to this particular indicator, but to all - of the resources slow down in the tester).
Connect simply via iCustom() from file location in its folder (not from resource)
Thank you! Didn't know about this, I'll try it this way.
Hi. I'm making a bar chart based on the size of the candles. Help me know that the size of the first candle is the biggest of the last ten candles. The bar of the histogram should be marked somehow, by width or colour. Maybe you should also add a buffer.
п