Dear,
by using MetaTrader Editor, you can see the color for knowledge MQL4 types and functions.
Example:
by using MetaTrader Editor, you can see the color for knowledge MQL4 types and functions.
Example:
int TotalOrdersByTypeThisSymbol(int type, string symbol) { int TradesThisSymbol = 0; for (int i = 0; i < OrdersTotal(); i++) if ( OrderSelect (i, SELECT_BY_POS, MODE_TRADES) ) if ( OrderSymbol() == symbol && OrderMagicNumber() == myMagic && ( OrderType() == type ))) TradesThisSymbol++; return (TradesThisSymbol); }

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
I found this line somewhere but MetaEditor doesn't recognizes the variable RED.
so I tried to put 0 instead:
SetOrder(OP_BUY,Lots,Ask,3,0,Ask+TakeProfit*Point,0);
But again it says: 'SetOrder' function is not defined.
Did I miss a line that defines thit function or something?
Anyway I need the line that set a BUY order and the one that closes that order
thankes in advance.