I get the idea, you make the advisor.

 

I need 6 EAs to trade autonomously. The essence of them is as follows - a deal opens

My conditions are as follows - you create EAs and send them to my mailbox nozhkin-a@mail.ru (all communication through this box). After that I will send you an explanation of how to use it all.

 
Oh, those ideologues :-)


 

There is such an advisor !!! (explanations can be sent to me in person):

post 2 at https://www.mql5.com/ru/forum/108553

//+------------------------------------------------------------------+
//|                                                  VininE Game.mq4 |
//|                      Copyright © 2008, Victor Nicolaev aka Vinin |
//|                                           skype: victor.nicolaev |
//|                                            e-mail: vinin@mail.ru |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008 Victor Nicolaev"
#property link      "vinin@mail.ru"

extern double Lots = 0.1;
extern double MaximumRisk=5.0;
extern int cmd=OP_BUY;
extern int TP=200;
extern int SL=200;

extern int MagicNumber = 0;bool bstart;
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()  {
   bstart=false;
   return(0);}
int deinit() {return(0);}

//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start() {
   static int prevtime=0;
   if(iTime(Symbol(),PERIOD_D1,0) == prevtime)  return(0);
   prevtime = iTime(Symbol(),PERIOD_D1,0);
   
   if ( bstart) { int total=OrdersTotal(); if ( total>0) return(0);
      cmd= Signal();   } else { bstart=true;}
   if ( cmd>=OP_BUY) {      
      double _cmd= iif( cmd==OP_BUY,1,-1);
      double Price= iif( cmd==OP_BUY,Ask,Bid);
      double _TP= iif( TP>0, iif( cmd==OP_BUY,Bid,Ask)+_cmd* TP*Point,0);
      double _SL= iif( SL>0, iif( cmd==OP_BUY,Bid,Ask)-_cmd* SL*Point,0);
      color OpenCl= iif(_cmd>0,Blue,Red);
      Order_Open(Symbol(), cmd, Price, _TP, _SL, MagicNumber, OpenCl);
   }   return(0);
}

int Order_Open(string _Symbol, int OP_CMD, double Price, double _TP, 
                                  double _SL, int Magic, color Opencl){
   return(OrderSend(_Symbol, OP_CMD, getLots(), Price, 3, _SL, _TP,
                                                 "", Magic, 0, Opencl));
}
int Signal(){
   int total=OrdersHistoryTotal();
   for (int i= total-1; i>=0; i--) {
      if (OrderSelect( i, SELECT_BY_POS, MODE_HISTORY)){
         if (OrderSymbol()==Symbol() && OrderMagicNumber()== MagicNumber ) {
            return(MathAbs(OrderType()-1));
         }}}   return(-1);}

double iif(bool a, double b, double c){if( a) return( b);return( c);}

double getLots() {
   if ( MaximumRisk>0) {
      double minlot=MarketInfo(Symbol(),MODE_MINLOT);
      double maxlot = MarketInfo(Symbol(), MODE_MAXLOT);       
      double step=MarketInfo(Symbol(),MODE_LOTSTEP);
double lot = NormalizeDouble(AccountFreeMargin() * MaximumRisk / 100000.0/ step,
                                                                     0)* step; 
      lot=MathMax(MathMin( lot, maxlot), minlot);      
   }
   else lot= Lots;
   return( lot); 
}
 

And if you add increasing the Fibonacci lot size and taking into account the actual position of the trade taking into account requotes... What would happen?

And if only there were zero spread!)


!

And run these EAs on gold! 23 points to the theme itself.

 
nav писал(а) >>

I need 6 EAs to trade autonomously. The essence of them is the following - I open a deal of 10% of the deposit at the current price with SL and TP,

After triggering SL or TP open a deal in the opposite direction with the same SL and TP.

Parameters SL and TP of each EA:

1) SL=17, TP=51.

2) SL=20, TP=60.

3) SL=23, TP=69.

4) SL=51, TP=17.

5) SL=60, TP=20

6) SL=69, TP=23

The number is specified in points.

My condition is the following - you create Expert Advisors and send them to my mailbox nozhkin-a@mail.ru (all communication via this box). After that, I will send you an explanation of how to use it all.

It turns out everything is already there.

 
Ballistics is nervously smoking in the background.
 
rid >> :

There is such an advisor !!!

Well, that's one. And the other five? The explanations won't come until after the sixth one.

 
granit77 >> :

Well, that's one. And the other five? The explanation won't come until after the sixth.

I can text him another one.

>> we need four more.

 

You should have first asked what the IQ of the author of the thread is.

For an explanation of the thought see here, in the second post of Svinozavr: "If a customer with IQ>140 will set a task, then the performer should not be a fool to pay for knowing it.)))" So there is a chance that you guys will have to pay extra money...

 
Mathemat >> :

You should have first asked what the IQ of the author of the thread is.

For explanation of the thought see here, in the second post of Svinozavr: "If a customer with IQ>140 will give a task, then the doer should pay for getting acquainted with it)))" So there's a chance that you guys will have to pay additionally...

We'll be out of our trousers in a week.

 
Has anyone tried this strategy with Matcad on Wiener noise?
Reason: