i have a very simple question. In my expert i want to call an exponential MA5 from an OsMA (having the same results like when you attach a MA to an OsMA chart and set it to previous indicator). How can i do that? I'm using functions.
The OsMA is as follows :
double OsMA()
{
return (iOsMA(NULL,0,12,26,9,PRICE_OPEN,0) );
}
What must i do for calling the exponential MA5 from the OsMA?
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.
i have a very simple question. In my expert i want to call an exponential MA5 from an OsMA (having the same results like when you attach a MA to an OsMA chart and set it to previous indicator). How can i do that? I'm using functions.
The OsMA is as follows :
double OsMA()
{
return (iOsMA(NULL,0,12,26,9,PRICE_OPEN,0) );
}
What must i do for calling the exponential MA5 from the OsMA?
Thank your for advance. :)