Bruce
With the settings 7,40,1 the MACD line will be the same as the Signal line.
In the attached efs I have chosen to paint the Signal line as it is the last one to be returned (hence plotted on top). If you change settings and would rather have the MACD line painted substitute the ,2 in Lines 66 and 68 with ,1.
All parameters can be modified using Edit Studies (default lengths are 7, 40, 1).
Alex
Bruce
Actually the magenta centerline is the MACD Histogram which is plotting at 0 because the difference between MACD and Signal is 0 (due to the length of the Signal being set to 1).
Irrespective if you want to make it thicker go to the preMain() section and change the setBarThickness(1,0) which is the default used by the Histogram plot. The first number is the value for the thickness and the second indicates which plot it relates to.
Alex
Comment