hello
i am looking for some help programing a stepped macd.
i would like it to be the same basic set up that is in mc now, with this exception. i do not want the two macd values plotted as smoth ma lines, i want the values stepped. i would like the prior bars closing value to be a horizontal line with a vertical line connecting it to the next bars closing value for both of the macd values. the plot would look like two sets of stairs rising or falling with the macd values. any help will be appreciated.
thanks
zoecat
stepped macd
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
the easiest way to convert the line to steps is to change the plot type
1. right click on the indicator to bring up the Format Study window
2. change the Plot Type to Right Tick or Left Tick.
you can double the width of the step by duplicating the plots,
then you can have both Right Tick AND Left Tick to make one steps.
adding a vertical line to join the step is "possible", but requires a totally different approach... and a lot of work. (using TL_New_Self)
1. right click on the indicator to bring up the Format Study window
2. change the Plot Type to Right Tick or Left Tick.
you can double the width of the step by duplicating the plots,
then you can have both Right Tick AND Left Tick to make one steps.
adding a vertical line to join the step is "possible", but requires a totally different approach... and a lot of work. (using TL_New_Self)
Yes, that's the problem I've been having drawing vertical lines for my own studies - I had to resort to using trend lines, which is a not ideal as I end up with too many and things slow down and/or I run out of memory. So now I use plotn and delay the end point of a vertical line by one bar. It's not vertical but at least I don't have the slowness/memory issues. I wish MC did something to enhance plotn but I'm not holding my breath.adding a vertical line to join the step is "possible", but requires a totally different approach... and a lot of work. (using TL_New_Self)