Hello everyone. I'm just barely started with the idea of creating an algo with a simple but effective strategy I generally just do manually. One of the components/filters involve how far is the price from the EMA (in pips), is there an API or command I can use to achieve this?

Thanks,

Ivan