Best way to get the data from the Moving Average Indicator using Levels?

 
I am trying to use the iMA function to return data back to an EA I am writing. However, in the Moving Average indicator, I am using Levels to paint lines on the chart. I want to get the data from the Moving Average using Levels. What exactly are Levels? It is not a bar offset, because you can specify negative values such as -200. Any help would be greatly appreciated.
 

levels are a price offset.

 
contacttodd:
I am trying to use the iMA function to return data back to an EA I am writing. However, in the Moving Average indicator, I am using Levels to paint lines on the chart. I want to get the data from the Moving Average using Levels. What exactly are Levels? It is not a bar offset, because you can specify negative values such as -200. Any help would be greatly appreciated.
Read this: https://www.mql5.com/en/forum/146588