[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 494
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
how do I write to include the "and" first?
Place brackets
symbol=Symbol();
Can you tell me why the array is not filling with values? It outputs zero.
1. Insert the code with the SRC button
2. double mas[];
Can you tell me why the array is not filling with values? It outputs zero.
extern int n=15; // Number of bars
int Total; // No. of accesses to the start function
int start()
{
if (Total>=1) return; // we need 1 time
Total++;
double mas[];
for (int i=1; i<=n; i++)
{
mas[n]=iOsMA(NULL,0,9,21,5,PRICE_CLOSE,i);
Print ("OsMA = ",iOsMA(NULL,0,9,21,5,PRICE_CLOSE,i));
}
Print ("Array = ", mas[2];
Print ("Array = ", mas[10]);
return;
}
I don't know what you want, but maybe that's what you want. :
Where is the list of organizations that support automated trading on mql4 and mql5?
Logically, such a list should be on the website of the mql developer.
I don't know what you want, but maybe you need to. :
Thank you, artmedia70. That's exactly what I needed. Just getting to grips with arrays.
As for StopLoss TakeProfit, I have not yet encountered slippage on set orders. Although I only worked with two brokerage companies, maybe it exists.