Hi,
You need to write a macro to do this. If you look through the Tradersstudio manual you should have received with the product it explains how to write macros and the object model they take advantage of.
Note: Plotting a histogram or any other chart is not like plotting a normal indicator. It works differently.
Regards,
Dave