Download MetaTrader 5

Experts: 10 pips

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
185982
MetaQuotes Software Corp.  

10 pips:

Trading without indicators!!!

Author: Юрий

MQL4 Comments
16319
MQL4 Comments  

hello;

i always try to use EA. But i couldnt run it. and i didnt understand why i cant run it. not only for this article i tried many EA sample but non of them works. I open the codes of your article. there is a section and it didnt completed maybe. I wrote codes below. and please tell me what should i write for initialization fucntion? and deinitialization function. Maybe this is the reason of why i cant run EA.

 

 

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
  
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
  
//----
   return(0);

dTrader
12
dTrader  

i´m missing something here.

you have a TP=10 pips and a trailing of 50 ????

When it moves 10 it takes profit.. so what is the trailing of 50 for?

FXIA
75
FXIA  
Can someone add ability to trade multiple pair with HedgeCLoseOut feature so once account balance profit of X amount in % is reached all trades close out for the day?
MQL4 Comments
16319
MQL4 Comments  
Great code, but how to get the optimized result? Thanks.
MQL4 Comments
16319
MQL4 Comments  

Hi

I do not see a start() function. This is where all the action is. Generally you use the init() and the deinit functions for one off functionality you want to perform when the EA initialises or deinitialises respectively eg to create and clear buffers etc

To add comments, please log in or register