Download MetaTrader 5

Experts: 10 pips

To add comments, please log in or register
Add our channel to friends and follow the news!
MetaQuotes Software Corp.
Moderator
181028
MetaQuotes Software Corp. 2008.05.23 08:04 

10 pips:

Trading without indicators!!!

Author: Юрий

MQL4 Comments
16319
MQL4 Comments 2008.05.23 11:16  

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 2008.06.06 13:14  

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 2008.07.22 02:41  
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 2008.10.24 05:50  
Great code, but how to get the optimized result? Thanks.
MQL4 Comments
16319
MQL4 Comments 2008.12.31 14:45  

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