Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Could you please tell me how to implement levels of Moving Average indicator in the code?
Here's
I don't think so. But you can do it manually - create lines and assign value iMA+n, where n - level
if you had read the description you would know that there is an
which will draw what you need...
ежелиб Описание читал то зналбы, что есть индюк
It doesn't always help because it calculates the offset in percentages, but more often in pips.
Please tell me how to declare indicator to which symbol it should be applied, for example:
Print(iMA(NULL, 0, 14, 0, MODE_SMA, PRICE_CLOSE,0));
null is the current symbol
how to write it correctly so it outputs a value on eu-dollar, on diaries, no matter what symbol the EA is attached to.
I thought
Print(iMA(EURUSD, 0, 14, 0, MODE_SMA, PRICE_CLOSE,0));
I wonder if it's possible to do such a thing.