![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
mladen,
I tried to get the buffer values using the following but I get nothing.
ObjectSetText("Buffers", DoubleToStr(buffer2 , 1), font_size, font_face, font_color);
mladen,
I tried to get the buffer values using the following but I get nothing.
ObjectSetText("Buffers", DoubleToStr(buffer2 , 1), font_size, font_face, font_color);You have to use some buffer index (you can not use just the "buffer" for that purpose)
Try using buffer2[0] for current value of buffer2
So which buffer to which colour of line corresponds? Like buffer1 corresponds to LimeGreen etc.
So which buffer to which colour of line corresponds? Like buffer1 corresponds to LimeGreen etc.
ivoes
You can see that from the data window too
First buufer has the value of TMA. Second buffer has the value of upper band and third buffer has the lower band values
TMA+CG and TMA slope indicator mods
Can you provide some help modifying 2 TMA indicators?
On the TMA+CG, I'd like the colored bands to change color when the slope changes.
I've seen different TMA Slope indicators, and they typically show the current values for different time frames in print in the window of the histogram for the current timeframe. Can this indicator be changed to MTF?
Can you provide some help modifying 2 TMA indicators?
On the TMA+CG, I'd like the colored bands to change color when the slope changes.
I've seen different TMA Slope indicators, and they typically show the current values for different time frames in print in the window of the histogram for the current timeframe. Can this indicator be changed to MTF?For TMA bands it can not be done. It would require 4 more drawing buffers to have bands color change and metatrader does not allow 9 drawing buffers (that would be needed in that case)
For TMA bands it can not be done. It would require 4 more drawing buffers to have bands color change and metatrader does not allow 9 drawing buffers (that would be needed in that case)
How about if the center line (only) changes color--not the bands? Would it be possible to do that? It seems fewer buffers would be required in that instance.
How about if the center line (only) changes color--not the bands? Would it be possible to do that? It seems fewer buffers would be required in that instance.
40mitch
That indicator is using 7 buffers all in all. Adding a coloring to a line needs 2 more buffers (unlike the usual opinion, if you use only 1 additional buffer for a additional color for line drawing, what you are going to get is a repainting (not recalculating, but classical repainting) code). So we are still out of enough buffers to do that
40mitch That indicator is using 7 buffers all in all. Adding a coloring to a line needs 2 more buffers (unlike the usual opinion, if you use only 1 additional buffer for a additional color for line drawing, what you are going to get is a repainting (not recalculating, but classical repainting) code). So we are still out of enough buffers to do that
Thanks for explaining the limiting issue. Does moving to MT5 resolve that limitation?
Also, how about the other request to create a MTF version of the TMA slope indicator? I know you've written that there are versions created by others that you'd rather not touch--is it possible to make your preferred version of this indicator (is 10.2 TMA slope v.1.4B 4.30.mq4) the most recent?) a MTF version?
Thanks in advance!
Thanks for explaining the limiting issue. Does moving to MT5 resolve that limitation?
Also, how about the other request to create a MTF version of the TMA slope indicator? I know you've written that there are versions created by others that you'd rather not touch--is it possible to make your preferred version of this indicator (is 10.2 TMA slope v.1.4B 4.30.mq4) the most recent?) a MTF version?
Thanks in advance!40mitch
That indicator is already a multi time frame indicator (as far as I see). Set the select_other_tf_to_show to desired time frame and it will probably work OK