Download MetaTrader 5

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

To add comments, please log in or register
Todd
6
Todd  
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.
Ian Venner
2584
Ian Venner  

levels are a price offset.

Simon Gniadkowski
Moderator
18035
Simon Gniadkowski  
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
To add comments, please log in or register