Советник fishing

cmillion

Гуру форума
Вы дали с реального, но это не значит, что выложенная сова в этом сообщении не имеет ограничений на реал. Вполне адекватный вопрос я задал. Спасибо.

Вы не спрашивали про ограничения. Вы спросили "работает ли она на реале"? Я дал полный ответ - ДА. Более подробно Вам пояснит сам советник как только Вы его установите на реал. Если будете участвовать в его разработке, то можете бесплатно получить ключ. Для получения ключа другим способом обращайтесь в личку.
 

Tujh371

Почетный гражданин
cmillion, Сорри шо не в тему. Есть ли у тебя сова, чтобы "тащила" лимитные отложки по МА за ценой?
 

cmillion

Гуру форума
cmillion, Сорри шо не в тему. Есть ли у тебя сова, чтобы "тащила" лимитные отложки по МА за ценой?

У меня все есть! Если чего то нет, то могу написать. Обращайтесь в личку или посмотрите в моей ветке "несколько скриптов для упрощения торговли"
 

Forex-club7

Почетный гражданин
Вы не спрашивали про ограничения.
Кроме ограничения по времени может быть ограничение для торговли на реале. Это тоже ограничение.

Если будете участвовать в его разработке, то можете бесплатно получить ключ. Для получения ключа другим способом обращайтесь в личку.
Какой ключ? Вы же пишете, что нет ограничений. ???

Если будете участвовать в его разработке
Можно попробовать.
 

cmillion

Гуру форума
Добавил коррекцию цвета и перепроверки введенных значений уровней торговли.
Снимок.PNG
 

Вложения

  • cm fishing 100217.ex4
    311,3 КБ · Просмотры: 144

mntiwana

Местный знаток
Добавил коррекцию цвета и перепроверки введенных значений уровней торговли.
Посмотреть вложение 265899

Thanks for your upgrading
Do you mind altering with English version,for us English speaking traders.
i means parameters with English names and explanations in English
(151116 and 100217) all both
===============
Благодарим Вас за модернизацию
Вы не возражаете изменения с английской версии, для нас английские торговцы говорящих.
я означает параметры с английскими названиями и пояснениями на английском
(151116 и 100217), все как
 

Вложения

  • parameters.png
    parameters.png
    238,2 КБ · Просмотры: 146

cmillion

Гуру форума
Thanks for your upgrading
Do you mind altering with English version,for us English speaking traders.
i means parameters with English names and explanations in English
(151116 and 100217) all both
===============
Благодарим Вас за модернизацию
Вы не возражаете изменения с английской версии, для нас английские торговцы говорящих.
я означает параметры с английскими названиями и пояснениями на английском
(151116 и 100217), все как


input tt Metod = 1;//method of trading
extern string -----------------1вариант----------------- = "the opening through the step";
input trend trendflate = tr1; //type of trade
extern bool AutoTrend = false; //auto trend detection and switching of the reverse
extern bool buy = true; //allow buy
extern bool sell = true; //allow sell
extern bool Autobuy = false; //Auto buy
extern bool Autosell = false; //Auto sell
extern int StepB = 50; //Buy orders
extern int StepS = 50; //step Sell orders
LevelOrders int sinput = 0; //not to put opposite any closer from the last position
//prevents the installation of the opposite is closer to 100 points.
//For example opened a sell at the price of 1.1000 level, then the EA prohibits a buy earlier than the line of 1.1100.
//the function applies only to the last placed order.
extern string ------------------------------------------ = "";
extern int PeriodI =8; //indicator period
extern int ShiftI =5; //shift of the indicator
input tf TFI =0; //timeframe of the indicator

extern string -----------------2вариант----------------- = "network";
extern int OrdersBuyStop = 5; //number of orders BuyStop network
extern int OrdersSellStop = 5; //number of orders in the network SellStop
extern int OrdersBuyLimit = 5; //number of orders in the network BuyLimit
extern int OrdersSellLimit = 5; //number of orders in the network SellLimit
extern string _="";
extern int FirstLevelStop = 5; //distance from the price to the first Stop order ( if 0 then open with the level of StopLevel )
extern int FirstLevelLimit = 5; //distance from the price to the first Limit order ( if 0 then open with the level of StopLevel )
extern int StepBuyStop = 10; //step of orders BuyStop network
extern int StepSellStop = 10; //order step network SellStop
extern int StepBuyLimit = 10; //step orders BuyLimit network
extern int StepSellLimit = 10; //order step network SellLimit
extern int DeleteLevel = 500; //size of internal corridor which remove all
extern bool DeletePriOtrkPoz = true;//delete the network even if there is a market
extern string -----------------3вариант----------------- = "palucca";
extern int MinStepStopOrdes = 5; //place pending orders not close from open position
input TF_TralCandle tf=240; //timeframe candles which trail stop orders

/* news trading
Set the distance from the price in the chart there are 2 lines, then you set the time in seconds after which the Advisor moves these lines for the price.
As soon as the price crosses the line, the EA opens a position (at this point the opposing line stops scrolling).
Also, you can set the step between orders if the price continues to go, the EA opens another position, i.e., creates a network with the trend...
Then all is closed, either in profit or trailing stop or any other method that exists in the EA. If unable to close the price turned around and opened orders in the opposite direction, connects the overlap.
You can help the Advisor by moving the line with your hands.
*/
extern string -----------------4вариант----------------- = "NEWS";
extern int LevelPrice = 10; //distance from the price in points
extern int LevelTime = 30; //timeout in seconds

extern string ---------------secretively------------- = "";
extern bool close=true;//vkusiti the closing by profit
extern double CloseProfitB = 50; //profit trailing buy
extern double otkatB = 20; //close buy after rollback
extern double CloseProfitS = 50; //profit trailing sell
extern double otkatS = 20; //close sell after the rollback
extern double CloseProfitA = 50; //trailing on the total profit
extern double otkatA = 20; //close after rollback
extern string -----------------breakeven------------------- = "";
extern bool NoLoss = true; //use break-even
extern int NoLossB = 20, //transfer to breakeven buy, if 0, then no translation to breakeven
MinProfitNoLossB = 5; //minimum profit when translated bezubytok
extern int NoLossS = 20, //transfer to breakeven sell, if 0, then no translation to breakeven
MinProfitNoLossS = 5; //minimum profit when translated bezubytok
extern string ----------------trailing stop------------------- = "";
Tral extern bool = true; //use trailing stop
extern int TrailingStopB = 20, //trailing stop buy, if 0, no trailing
TrailingStartB = 60, //start trailing buy
TrailingStepB = 10; //trailing step buy
extern int TrailingStopS = 20, //TrailingStop Sell, if 0, no trailing
TrailingStartS = 60, //start trailing Sell
TrailingStepS = 10; //trailing step Sell
extern string ---------------zakratougolna------------------- = "";
extern bool CloseFar = true; //use closure far
extern int BnumberFar = 5; //number close buy
extern int SnumberFar = 5; //number close sell
extern double StartFarTralB = 100; //profit trailing buy
extern double CloseFarTralB = 50; //rollback profit buy
extern double StartFarTralS = 100; //profit trailing sell
extern double CloseFarTralS = 50; //rollback profit sell
extern bool OnlyBS = false; //close only together if pressed (buy and sell)
extern int MinLossFarB = 10; //minimal loss far buy to close it (paragraph)
extern int MinLossFarS = 10; //minimal loss sell far to close it (paragraph)
extern bool AutoFarnumber = false; //automatic number close
extern bool kn_due_B = true; //due to buy
extern bool kn_due_S = true; //due to sell

extern string --------------------volumes----------------- = "";
extern double LotB = 0.01; //volume of Buy orders
extern double LotS = 0.01; //volume of Sell orders
extern int OrdersBMax = 100; //maksimalnoi the number of positions at the purchase
extern int OrdersSMax = 100; //maksimalnoi the number of items for sale
extern double OrdersBMaxlot = 5; //maximum total size of items to purchase
extern double OrdersSMaxlot = 5; //maximum total size of items on sale
extern string ---------------sacridiadarque-------- = "";
extern double LossCloseA = 0.00; //close all positions when the drawdown (set in the Deposit currency) (0-off)
extern double LossCloseB = 0.00; //closing buy positions when the drawdown (set in the Deposit currency) (0-off)
extern double LossCloseS = 0.00; //closing sell positions when the drawdown (set in the Deposit currency) (0-off)
extern double EquityClose = 0.00; //closing Equity (defined in the Deposit currency)(0-off)
extern string -----------------levels------------ = "";
Price extern bool = true; //use levels
extern double PriceB1 = 0; //buy only above (0 - off)
extern double PriceB2 = 0; //buy only below (0 - off)
extern color colorbuy = LightCyan; //color of area purchases
extern double PriceS1 = 0; //sell just above (0 - off)
extern double PriceS2 = 0; //sell only below (0 - off)
extern color colorsell = MistyRose; //color of area sales
extern string ----------------------------- = "";
sinput bool messagebox = true; //ask the question to the close positions button
ShowLineOrders sinput bool = false; //show the line of orders when showing history

//extern int LevelBlocRevers = 100; //don't put the opposite is closer than X pips from the last market order of the 0-off
//This does work so Let's set the value to 100 points.
//Then, when opening any order prohibits the installation the opposite is closer to 100 points.
//For example opened a sell at the price of 1.1000 level, then the EA stops in the market to buy earlier than put on the line of 1.1100,

extern int slippage = 5; //slippage
extern int Magic = -1; //magic number of the orders, if -1 it will pick up everything
extern string Key = "135512026155766120"; //key to work on a real account
 

mntiwana

Местный знаток
input tt Metod = 1;//method of trading
extern string -----------------1вариант----------------- = "the opening through the step";
.............................................................
extern int slippage = 5; //slippage
extern int Magic = -1; //magic number of the orders, if -1 it will pick up everything
extern string Key = "135512026155766120"; //key to work on a real account

Dear cmillion
You are real kind and favoring man,appreciations :)
thanks for your quick response
regards
=============
Дорогой cmillion
Вы реальный вид и пользу человеку, :) заслуги
Спасибо за ваш быстрый ответ
С уважением
 

cmillion

Гуру форума
А есть описание новых параметров в разделе "перекрытие"?

В этом режиме советник находит самые убыточные дальние/ближние позиции и старается их закрыть за счет прибыли других открытых позиций. Перекрытие происходит встречно, так что в этом случае мы еще и часть спреда выигрываем.
Buy Sell – выбираем какие именно позиции пытаемся закрывать
В поле убыток указываем минимальный убыток в пунктах для того чтобы позиция с меньшим убытком не бралась в расчет.
} данная кнопка нужна для того, чтобы закрывать сразу самый дальний/ближний buy вместе с самым дальним/ближним sell. Т.е. когда она нажата убыток считаем сразу от двух направлений и закрываем с учетом этого.
Кол-во – сколько убыточных позиций закрывать
Старт – с какой прибыли в валюте депозита стартует трал
Откат – при каком снижении прибыли в валюте закрываем позиции
Дальние – выбираем для поиска самые дальние убыточные
Ближние – выбираем для поиска самые ближние убыточные
Можно выбирать какими именно позициями «за счет buy» или «за счет sell» перекрывать убытки. Если нажаты сразу оба направления, то используем всю прибыль от текущих прибыльных позиций.

Пример:
установлены следующие параметры перекрытия:
кол-во дальних = 1 старт трала 100 usd и откат 50 usd.
Как только прибыль всех прибыльных ордеров (buy и sell) достигнет суммы превышающей на 100 usd убыток дальнего buy или sell так будет включен трал по прибыли.
Допустим дальний buy (самый верхний) имеет убыток - 30 usd и при этом есть несколько позиций с суммарным профитом 130,01 usd, в этот момент советник включает трал прибыли (так как в сумме -30+130 получается 100, т.е. старт трала). Если цена сразу откатится таким образом, что в сумме все эти позиции будут менее 50usd (100-50 откат) все прибыльные позиции будут закрыты вместе с убыточной дальней. Если же цена пошла в сторону прибыли и достигла такого размера, что к убытку дальнего buy можно приплюсовать убыток второго с верху buy (второго дальнего) и при этом она составит более 100 usd, то советник под контроль берет уже оба дальних buy. И на откате профита на 50 usd будут закрыты все прибыльные и эти два дальних убыточных. Точно так же по sell позициям.
 

Mamsya

Элитный участник
А может еще добавить функцию разруливателя? Чтобы за счет прибыли встречных ордеров уменьшался лот просевших ордеров.
 

Mamsya

Элитный участник
Просто не получается настроить перекрытия так (или у меня всего лишь кривые руки) чтобы дальние просевшие ордера закрывались встречными...они у меня висят, а советник работает в обоих направлениях, периодически добавляя к провисшим еще ордера(
 

extreme911

Интересующийся
У меня мои тесты заканчиваются как и ожидалось от сеточника - качергой.
Такчто, думаю надо больше заботиться о закрытии убытка больше чем о закрытии прибыли. Есть какие идеи по этому поводу?
 

Вложения

  • Capture.JPG
    Capture.JPG
    77,5 КБ · Просмотры: 93

cmillion

Гуру форума
У меня мои тесты заканчиваются как и ожидалось от сеточника - качергой.
Такчто, думаю надо больше заботиться о закрытии убытка больше чем о закрытии прибыли. Есть какие идеи по этому поводу?

Разберитесь с настройками перекрытия и учитывайте, что советником нужно управлять в процессе торговли. Тест с фиксированными настройками Вы никогда не сможете получить. Рынок меняется, нужно и параметры менять.
 

extreme911

Интересующийся
Разберитесь с настройками перекрытия и учитывайте, что советником нужно управлять в процессе торговли. Тест с фиксированными настройками Вы никогда не сможете получить. Рынок меняется, нужно и параметры менять.

У меня советник в режиме Open Step Orders открывает ордера только в одну сторону и пока все их не закроет, в другую стороно не открывает.

Так и должно быть? 56 позиций в селл. 0 Бай. И пока профит не дойдет до выставленной суммы будет тока в селл открывать?
 

Вложения

  • Capture111.JPG
    Capture111.JPG
    118,9 КБ · Просмотры: 188
Верх