calvat: wish to separate the macd zero lag into one indicator that only shows the MACD zero lag line and an indicator that only shows the signal line.
| Two windows,two indicators, two files. |
Thanks guys!
Im trying to make two files but i fail to separate the MACD line from the Signal line in the code it self. Do you know what part of the code to split up into the two files?
Thanks guys!
Im trying to make two files but i fail to separate the MACD line from the Signal line in the code it self. Do you know what part of the code to split up into the two files?
Just copy file.
In first set like this
SetIndexStyle(0, DRAW_NONE); SetIndexStyle(1, DRAW_LINE,EMPTY);
in second like
SetIndexStyle(0, DRAW_LINE,EMPTY); SetIndexStyle(1, DRAW_NONE);
Thank you eevviill !
I wasnt accurate enough in the description. But i wish the sperate the values from each other. In the method you suggested one line get hidden from the chart, but the output value is still there. I managed to get rid of the signal line. But cant figure out how to isolate and only get the Signal line as an indicator.
As you may see in the pic below, the value in the MACD only line is separated and i wish to to the same with the Signal line. Not only in the grafics.
SetIndexLabel(0, "MACD");
change on
SetIndexLabel(0, ""); or SetIndexLabel(0, NULL);
etc.
Thank you so much eevviill!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello!
I am currently exploring the possibilities of automated trading. I wish to separate the macd zero lag into one indicator that only shows the MACD zero lag line and an indicator that only shows the signal line. I tried to work on the buffers and managed to get the MACD line separate but not the signal line. Can anyone please help me with this?
The code is below: