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"//=============== Меню ===============================================externstring Name="GenesisMatrix";
externstring MoneyManagement="MoneyManagement";
externdouble Lot = 0.1; // Фиксированный лотexternstring Enter="OpenPosition";
externbool Arrow = False; // Учитывать стрелочкуexterndouble ProfitFactor = 1.0; // Минимальное соотношение стопа к профиту (StopLoss <= TakeProfit*ProfitFactor)externint PivotDistanceBlock = 100; // Блокировка по расстоянию до пивотаexternint СandleSizeBlock = 150; // Блокировка по размеру сигнальной свечиexternstring Exit="ExitPosition";
externbool Stoch_5_FixProfit = False; // Выходим при смене направления стохастика M5externbool Stoch_15_FixProfit = True; // Выходим при смене направления стохастика M15externbool ReversMatrix = True; // Выходим при смене всех четырех кубиков Genesis на противоположныеexternbool LondonClose = True; // Выходим при закрытии Лондонской сессииexternint MinTP = 10; // минимальный тейк профит externint MinSL = 10; // минимальный стоп лоссexternstring TStop="TrailingStop";
externbool TSProfitOnly = True; // Переключатель зоны, в которой трал начинает свою работу. Если True, то трал начнёт работу только после того, как профит позиции достигнет значения TStop.Buy/Sell+TrailingStep пунктов. Если False, то советник будет просто следить за тем, чтобы стоп позиции относительно текущей цены всегда был не далее, чем TStop.Buy/Sell+TrailingStep пунктов. Другими словами при True советник работает только в профитной зоне позиции, а при False и в отрицательной.externint TStop.Buy = 200; // Размер трала в пунктах для покупок.externint TStop.Sell = 200; // Размер трала в пунктах для продаж.externint TrailingStep = 200; // Шаг трала в пунктах. Необходим для того, чтобы не мучить дилера частыми запросами.externint NumberOfTry = 5; // Количество попыток модификации ордераexternstring TradeTime="TradeTime";
externbool TimeControl = True;
externint StartTrade = 9; // Время по ДЦ открытие Лондонаexternint StopTrade = 17; // Время по ДЦ закрытие Лондонаexternstring Comments="Comments";
externbool TradeComments = True; // Торговые комментарииexternbool EngineComments = False; // Инженерные комментарииexternstring Server="ServerSetting";
externint MaxSpread = 30; // Выше этого спреда не открываемсяexternint Slippage = 0; // Допустимое проскальзование ценыexternint Pause = 1000; // пауза между запросами на серверexternstring Magic="MagicNumber";
externint MagicNumber = 32768; // Магический номер
https://www.youtube.com/watch?v=wsC8bUl1164
Cool!!!
Clicking "Like"!!! :-)
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...
From 18 September, exps - in the branch.
Optimisation of parameters :-) after the withdrawal of the part - splitting the start account:
Hi all! The first optimization exercise...
Can I check my homework?
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...
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?
Marty's hiding here:
if (NumberOfPositions() == 0) Lot = StartLot; else Lot = (GetLotLastPos()*2);