monthly return visual from twitter

Hi, I was curious how to make this candlestick chart look the way it does in the recent twitter post showing october returns. Is there some type of script ?

Hi Jeff,

The chart was created using a formula in a Show View below a price chart, with the price chart hidden. Here’s the formula for October (obviously change the MONTHNUM() for other months).

M1 = MONTHNUM() == 10; 
M2 = CHANGE(INT_TYPE=Month); 
IF(M1 == 1,M2,0)

You can also change the Layer label to display on the chart (or use a space to for no label).

Capture