check tutorials about that, there is example how to work with this kind of indicators
https://fxdreema.com/forum/category/4/Tutorials
tutorial 07