Mike Redmer: Would be great if somebody have any idea how to change the color
-
There are many people here that can.
How To Ask Questions The Smart Way. 2004
Only ask questions with yes/no answers if you want "yes" or "no" as the answer. - Same as any colored line indicator. Look in the codebase. If you assign to one color buffer, make the other color buffer EMPTY_VALUE.
HOW CAN I hide CONNECTION lines of plots? (ttt) - MQL4 programming forum 2016.07.09For MT4 I use:
- One buffer has the value, color set to CLR_NONE so not shown on chart, (but in data window and pop up.)
- Two buffers, one color each, with SetIndexLabel(i, NULL) so they don't show in data window.
- Then you need to connect the lines on color change. downBuffer[i]=value[i]; if(downBuffer[i+1]==EMPTY_VALUE) downBuffer[i+1]=value[i].
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
Hello,
just started learning MT4 programming. Would be great if somebody have any idea how to change the color of MACD indicator whilst runtime.
If MACD above Signal Line = MACD for this bar in blue (input color MacdLong) and if MACD below Signal Line = MACD for this bar in red (input color MacdShort).
Below reduced standard MACD from library
Thank you
Mike