First you need to create your own indicator. There are plenty in the codebase as an examples if you miss a part on where to start. So your indicator will use different timeframe and this is how you are going to retrieve data with api. Your goal is to obtain a container, and use its method load to provide the depth of your history. Once you have new data in cache you can use it in your own calculation or feed it to already exist stochastic wrapper. This is it, now you can plot higher tf line. If you are still confused, use a skype to ask for a help.
PTMC is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers