learn how to earn money villagers [Episode 2] ! - page 248

 
The cat can either fall on its paws or die, but it has nine lives) and pts
 
TEXX:

https://www.youtube.com/watch?v=wsC8bUl1164


Cool!!!

Clicking "Like"!!! :-)

 
BeerGod:

And there initially the silliest approach, but if it worked, then you can already finish the nuances, the code is open and the idea too, welcome to our lab for all who wish)





I couldn't find a martin here at first glance...

What to optimize and with what step - lay out the set under optimization...

#property copyright "Scam Laboratory 2013" 
#property link      "http://www.forex4you.org/?affid=bdbda7b"
//=============== Меню ===============================================
extern string  Name="GenesisMatrix";
extern string  MoneyManagement="MoneyManagement";
extern double  Lot = 0.1;                    // Фиксированный лот
extern string  Enter="OpenPosition";
extern bool    Arrow = False;                // Учитывать стрелочку
extern double  ProfitFactor = 1.0;           // Минимальное соотношение стопа к профиту (StopLoss <= TakeProfit*ProfitFactor)
extern int     PivotDistanceBlock = 100;     // Блокировка по расстоянию до пивота
extern int     СandleSizeBlock = 150;        // Блокировка по размеру сигнальной свечи
extern string  Exit="ExitPosition";
extern bool    Stoch_5_FixProfit = False;    // Выходим при смене направления стохастика M5
extern bool    Stoch_15_FixProfit = True;    // Выходим при смене направления стохастика M15
extern bool    ReversMatrix = True;          // Выходим при смене всех четырех кубиков Genesis на противоположные
extern bool    LondonClose = True;           // Выходим при закрытии Лондонской сессии
extern int     MinTP = 10;                   // минимальный тейк профит 
extern int     MinSL = 10;                   // минимальный стоп лосс
extern string  TStop="TrailingStop";
extern bool    TSProfitOnly = True;          // Переключатель зоны, в которой трал начинает свою работу. Если True, то трал начнёт работу только после того, как профит позиции достигнет значения TStop.Buy/Sell+TrailingStep пунктов. Если False, то советник будет просто следить за тем, чтобы стоп позиции относительно текущей цены всегда был не далее, чем TStop.Buy/Sell+TrailingStep пунктов. Другими словами при True советник работает только в профитной зоне позиции, а при False и в отрицательной.
extern int     TStop.Buy  = 200;             // Размер трала в пунктах для покупок.
extern int     TStop.Sell = 200;             // Размер трала в пунктах для продаж.
extern int     TrailingStep = 200;           // Шаг трала в пунктах. Необходим для того, чтобы не мучить дилера частыми запросами.
extern int     NumberOfTry = 5;              // Количество попыток модификации ордера
extern string  TradeTime="TradeTime";
extern bool    TimeControl = True;
extern int     StartTrade = 9;               // Время по ДЦ открытие Лондона
extern int     StopTrade = 17;               // Время по ДЦ закрытие Лондона
extern string  Comments="Comments";
extern bool    TradeComments = True;         // Торговые комментарии
extern bool    EngineComments = False;       // Инженерные комментарии
extern string  Server="ServerSetting";
extern int     MaxSpread = 30;               // Выше этого спреда не открываемся
extern int     Slippage = 0;                 // Допустимое проскальзование цены
extern int     Pause = 1000;                 // пауза между запросами на сервер
extern string  Magic="MagicNumber";
extern int     MagicNumber = 32768;          // Магический номер
 

From 18 September, exps - in the branch.

Optimisation of parameters :-) after the withdrawal of the part - splitting the start account:

 
Horror......... The lots below are trying to pop up?????)))))
 

Hi all! The first optimization exercise...

Can I check my homework?

 
And this one looks beautiful)
 
Roman.:


I couldn't find a martin here at a glance...

What to optimise and at what pitch - lay out the set under optimisation...

Marty's hiding in here:

if (NumberOfPositions() == 0) Lot = StartLot; else Lot = (GetLotLastPos()*2);

And you can use anything but the magician, he'll lose on the forward...

 
Ilij:

Hi all! The first optimization exercise...

Can I check my homework?


Surely the EA has a test for opening a new bar? And where is the forward test?
 
evillive:

Marty's hiding here:

if (NumberOfPositions() == 0) Lot = StartLot; else Lot = (GetLotLastPos()*2);




Senc. I'll take a closer look...
Reason: