If I read the link that I posted correctly, the attached JMP file is a modification of the JMP sample data Current Stock Prices.JMP
I believe there was a previous discussion (or wish list) for Hi-Lo-Close bars for GraphBuilder. I did not look it up, but copped out with an area range for Hi-Lo and used a line for Close.
The script to create this plot is attached to the data table. Note to get the histogram of the difference of MACD and its signal to be red when negative and green when positive, two columns were used. They are named Bull (green) and Bear (red) and use the same difference formula but is conditioned on whether MACD > Signal.
The JMP statistical column formula Col Moving Average() uses a weighted average and produces a result as long as a single value is non-empty versus returning empty if any of the "n" values are missing. Also in JMP, the EWMA or EMA intial value is the value itself, while these stock indicators begin with a simple moving average.
What was not clear in the MACD documentation is the weighting factor. For EMA12 it used 2/(12+1). Does that imply that EMA26 uses 2/(26+1) and the Signal for MACD does it use 2/(9+1), or was 12 used as scaling for 12 months, that is the lambda is always the same?? I used formulas so they can be adjusted if needed.
Maybe one of the super experts have a solution for red and green bars to depict the daily range, or someone has knowledge regarding the smoothing lambda for EMA26 or the Signal which is an EMA9 of MACD.