Download MetaTrader 5

Experts: X bug

To add comments, please log in or register
Do you often publish source codes? Find out how to do that correctly!
MetaQuotes Software Corp.
Moderator
181226
MetaQuotes Software Corp. 2010.11.03 17:04 

X bug:

Opens orders using moving average crosses.

Author: Tonny Obare

whroeder1
14518
whroeder1 2010.11.03 20:27  
  1. Will not work with ECN brokers
  2. Does not adjust between 4 and 5 digit brokers (tp, sl, and slippage)
  3. Can not be used on multiple charts (OrderSelect(0, Select_By_POS) or with other EAs (No magic number)

Tonny Obare
1022
Tonny Obare 2010.11.03 23:20  

It adjusts to 4 or 5 digit brokers i just did it in a unique way. Its not a must i use your suggested code.

WHRoeder:
  1. Will not work with ECN brokers
  2. Does not adjust between 4 and 5 digit brokers (tp, sl, and slippage)
  3. Can not be used on multiple charts (OrderSelect(0, Select_By_POS) or with other EAs (No magic number)

MQL4 Comments
16319
MQL4 Comments 2010.11.04 14:56  

would like to know if ea can be used with offline charts and Renkoblocks


regards

whroeder1
14518
whroeder1 2010.11.04 16:18  
tonny:

It adjusts to 4 or 5 digit brokers i just did it in a unique way. Its not a must i use your suggested code.

WHRoeder:
  1. Will not work with ECN brokers
  2. Does not adjust between 4 and 5 digit brokers (tp, sl, and slippage)
  3. Can not be used on multiple charts (OrderSelect(0, Select_By_POS) or with other EAs (No magic number)

extern int Slippage   =5;      // Price Slippage
...
int openbuy=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,Normal
Slippage is NOT adjusted.
Tonny Obare
1022
Tonny Obare 2010.11.04 21:27  

It can be used offline in strategy tester and only using standard ma parameters.

udoliesenfeld:

would like to know if ea can be used with offline charts and Renkoblocks


regards

MQL4 Comments
16319
MQL4 Comments 2010.11.04 22:08  

standard ma parameters ?? would you be so kind and give more explanations


regards

tonny:


It can be used offline in strategy tester and only using standard ma parameters.

udoliesenfeld:

would like to know if ea can be used with offline charts and Renkoblocks


regards



To add comments, please log in or register