Experiment - page 205

 
Renat Akhtyamov #:
There will be no leak, full stop.

Time will tell.

Just don't hide the monitoring.

 

Grailers arguing over which of them is the least embarrassing leak ))

 
Andrei Trukhanovich Grailers arguing over which one of them is less disgracefully leaking ))

swindler

 
Renat Akhtyamov #:
There won't be a flush and that's the end of it.
A great theorist, but not a practitioner
 
Vladimir Baskakov #:
A great theorist but no practitioner
Where did you hide yours, philosopher?
 
Renat Akhtyamov #:
There won't be a drawdown, full stop.

If you top up when there's a slump, there definitely won't be one).

 
khorosh #:

If you top up when there's a slump, there definitely won't be one).

Yusuf's lessons don't go unnoticed, guru
 

Put the function on already and you don't have to refill.

Entering the EA menu

input int               InitialDeposit = 1000;              // Initial Deposit

further calculation of the lot from the stoploss

//+---------------------------------------------------------------------------+
//|   Функция расщета риска от процента и расстояния  (c) Boshetunmay 2021    +
//|   sl = stoploss                                                           +   
//|   risl = risk in percent                                                  +
//|   ID = InitialDeposit                                                     +         
//+---------------------------------------------------------------------------+
double LotSize(int sl,double risk,int ID)
  {
   double Free;
   if(ID > AccountFreeMargin())
      Free = AccountFreeMargin();
   else
      Free = ID;

   double LotVal  = MarketInfo(_Symbol,MODE_TICKVALUE);//стоимость 1 пункта 1 лота
   double Min_Lot = MarketInfo(_Symbol,MODE_MINLOT);
   double Max_Lot = MarketInfo(_Symbol,MODE_MAXLOT);
   double Step    = MarketInfo(_Symbol,MODE_LOTSTEP);
   if(sl<=0)
      return(Min_Lot); // исключение деления на ноль
   double Lot     = NormalizeDouble((MathFloor((Free*risk/100)/(sl*LotVal)/Step)*Step),2);
   if(Lot<Min_Lot)
      Lot=Min_Lot;
   if(Lot>Max_Lot)
      Lot=Max_Lot;
   return(Lot);
  }
//--- End --- 
 
Volodymyr Zubov #:

Put the function on already and you don't have to refill.

Entering the EA menu

then calculate the lot from the stoploss.

Apparently, you don't know what you're talking about at all.

And lot calculation is important, but not here.

 
So where's Misanya? Where's the profit we've been quietly waiting for?
Reason: