Experts: X bug

 

X bug:

Opens orders using moving average crosses.

Author: Tonny Obare

 
  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)

 

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)

 

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


regards

 
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.
 

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

 

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