If you want it like function, than it should be something like this.
Attaching an example indicator too. The advatage of passing a value instead of the price type is that this way you can apply tema to any value (it does not have to be a tema of a price, it can be tema of another indicator for example)
More: http://www.forex-tsd.com/metatrader-programming/554-how-code-291.html#post431706
Комментариев нет:
Отправить комментарий