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 2013.12.17 14:14 
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 2013.12.17 14:17  

levels are a price offset.

Simon Gniadkowski
Moderator
18002
Simon Gniadkowski 2013.12.17 15:18  
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