View Full Version : Торговый советник
Hi,
From attached file you can see history and orders which are now in my demo account. EA need to work the same way.
GBPUSD, only BUY orders. Without stop losses. Deposit need to cover all the way down to lowest point where market have been.
After every 12 pips need to wait new order. If order closes with 12 pip take profit, straight away wait's on the same place new order.
Exampel: If deposit is 25 000USD, you can use only 0,01 lots per trade. Other wise risk is too big.
Market price is 1,6102 take profit 1,6114
Buy stop 1,6114 take profit 1,6126
Buy stop 1,6126 take profit 1,6138
And so on.
Buy limit 1,6090 take profit 1,6102
Buy limit 1,6078 take profit 1,6090
And so on.
Можно ли осуществить подобный советник в жизнь?
Заранее благодарен!
Scriptong
21-12-2009, 21:55
Можно, конечно. Такой вид советников называется гридер. От слова "grid" - сетка.
Гридеры славятся тем, что могут за короткий срок (порядка нескольких часов) существенно (на несколько десятков процентов) увеличить депозит. Но с таким же успехом они чаще всего загоняют деозит в существенную просадку. Гридеры хорошо работают на спокойных рынках и совсем не терпят затяжные тренды.
По предложенному методу непонятно одно - зачем закрывать и тут же открывать (правда, опять же, спрэд не учтен) сделку в одном и том же направлении? Ведь мы просто дарим спрэд!
Открывая длинную сделку без стопа мы в самом лучшем случае (считаем, что депозит у нас безлимитный) рискуем потерей времени, так как следуя этому методу мы со стопроцентной вероятностью откроем одну сделку на самом пике. В результате, мы сидим с этой сделкой и ждем, когда же цена вернется к ней.
Не спорю, за это время отработают другие сделки, но от них снова какие-то останутся в "висяках". В итоге мы когда-нибудь нарвемся на такое неприятное событие, как ограничение количества одновременно открытых позиций и просто будем ждать у моря погоды.
Ну а сделать можно, практика известная. Только вот из всех известных мне тактик гридеров это самая безответственная, если не сказать хуже.
Может быть что то доработать, полагаясь на ваш опыт хотелось бы внести изменения, если таковы у вас имеются.
Заранее благодарен ...
Scriptong
22-12-2009, 18:33
Может быть что то доработать, полагаясь на ваш опыт хотелось бы внести изменения, если таковы у вас имеются.
Заранее благодарен ...
Здесь дело не в "доработать". Саму тактику гридеров я считаю ущербной. Поэтому мой опыт здесь никак не поможет.
Если вам все же очень хочется попробовать эту тактику, я возьмусь за создание советника. Думаю, до Нового Года управлюсь.
Scriptong
27-12-2009, 23:25
Итак, все получилось. Параметры советника:
Lots = 0.01 - Объем каждой позиции Step = 12 - Расстояние между смежными ордерами. Профит ордера рассчитывается таким образом, чтобы закрытие текущей позиции по профиту и открытие следующего происходило одновременно. То есть, если спрэд 3 пункта, а Step 12 пунктов, то профит будет 9 пунктов. MaxOrdersOnSide = 2 - максимальное количество отложенных ордеров выше и ниже текущей цены. Желательно не делать очень большим, чтобы не нервировать брокера и без того частыми торговыми приказам. OpenOrderSound = "ok.wav" - звук при установке ордера
MagicNumber = 4569 - магик своих ордеров эксперта
Гридер хорошо чувствует себя на флэтах и очень плохо при трендах. Даже 25 000 депозита ему не помогут.
Как я и говорил,в конечном счете любой гридер постигает такая участь (советник продержался два месяца). Может, конечно, и банально повезти (вы угадаете направление), но для этого не нужно иметь гридер. Можно просто открыть позицию и держать ее до посинения.
Спасибо!
С наступающим :)
Scriptong
29-12-2009, 14:39
Спасибо!
С наступающим :)
Пожалуйста. Вас также. :)
1. In the moment take profit is 9 pips, but I need it to be12 pips.(I think that you didn't count off the spread 3 pips)
2. Second thing. I don't wan't that lower order is closing before new one is entered. If market falls, orders leaves in. When market rising orders closing with take profit.
Now it is like this.
1,6000 take profit 1,6009
Buy stop 1,6012 take profit 1,6021
Buy stop 1,6024 take profit 1,6033
and so on.
But it need to be
1,6000 take profit 1,6012
Buy stop 1,6012 take profit 1,6024
Buy stop 1,6024 take profit 1,6036
and so on
Please check from file the picture.
Scriptong
18-01-2010, 16:26
1. In the moment take profit is 9 pips, but I need it to be12 pips.(I think that you didn't count off the spread 3 pips)
Now it is like this.
1,6000 take profit 1,6009
Buy stop 1,6012 take profit 1,6021
Buy stop 1,6024 take profit 1,6033
and so on.
But it need to be
1,6000 take profit 1,6012
Buy stop 1,6012 take profit 1,6024
Buy stop 1,6024 take profit 1,6036
and so on
Как раз спрэд мною и был учтен. В задании было указано, что предыдущий ордер должен открываться с одновременным закрытием предыдущего. Это возможно сделать только при уменьшении профита предыдущего ордера на спрэд. Иначе новый ордер будет открыт раньше, чем закрыт старый.
Я вижу, что нужно открывать новый ордер по 1.6012, но понимаете ли вы, что цена Bid в этот момент будет на три пункта ниже - 1.6009? В результате, у вас сложится ситуация, когда в рынке будет присутствовать незакрытый старый ордер и открытый новый.
2. Second thing. I don't wan't that lower order is closing before new one is entered. If market falls, orders leaves in. When market rising orders closing with take profit.
Насколько я понимаю, второй пункт является точной копией первого, по которому я уже ответил - нижний ордер не будет закрываться раньше открытия верхнего. Закрытие нижнего произойдет одновременно с открытием верхнего.
Hi Criptong,
I'm the client of this Grider. Can you please modify a little more my EA? I saw your graph what you have sent upper. It proofs of course that this version what you made first time not working. But my strategy works a little different. Actually EA need to make orders non stop. Every time when is possible to make order on one place it makes it.
Price 1,6124 take profit 1,6136
Buy stop 1,6136 take profit 1,6148
and so on. Always order comes in 3 pips earlier.
One more thing. I need new order when market moves that much when is possibility make straight away new order on the same place . Exampel:
Bullish: Buy stop order will come in 1,6124 take profit 1,6136. After that when market moves 2 pips higher we have possibility but on the same place buy limit.
Bearish: Buy stop goes in 1,6124 but after that market moves down. If market have moved down 8 pips we have possibilty but on the same place new buy stop to wait.
I have traded manually with this strategy 2 months and in this moment it works perfectly. And on this moment there haven't been even longer bull trend. If to make active trade day then minimum summary of trades will be 30 pcs(manually biggest summary of trades have been 160). It means at least 360 pips a day. Hopefully this EA helps to use every move even more. Maybe it sounds grazy but GBPUSD volativity gives to earn with this method. Other pairs are more riski or not so profitable.
Please ask straight away if something stays non clear to you. I want to test it couple months before I start to invest on this strategy.
Indrek
Sorry! Scriptong is your name! :)
Scriptong
03-02-2010, 16:05
Hi, kyber10.
Try this version, please. In the second version a spread is not subtracted. Some shallow errors are also corrected.
Thank you very much Scriptong!
Kyber10
Hi Scriptong,
Is there possibility make the same EA(12 pips take profit) but only sell? Or that kind of EA which takes from both sides always that 12 pips?
Thanks,
Kyber10
Scriptong
11-02-2010, 19:06
Hi, kyber10.
This version set only sell orders.
Thank you very much again Scriptong for made sell version. It works.
What do you think about this version which takes both sides 12 pips? Is it possible to make work like this?
Kyber10
Scriptong
15-02-2010, 10:13
No, this strategy is a GRIDER. It is known a long ago, that with their help, earning is impossible stably.
Ok, I belive you. But I don't understand how is possible to not earn with it. Do you have such program which takes both sides profit? I wanted to test it with 20 000usd and with 0,01 lot. It have to work if to not use too big lot. Even 0,01 lots will give to you 30 000usd profit in 1 year. There's no matter which way market moves. You can't lose all your money if you have trades to both sides. You can loose only swap. But this summary dont need even mantion.
If you have such program, please send it. And I will proof to you it works.
Reagrds,
Kyber10
Scriptong
15-02-2010, 15:26
Ok, I belive you. But I don't understand how is possible to not earn with it. Do you have such program which takes both sides profit? I wanted to test it with 20 000usd and with 0,01 lot. It have to work if to not use too big lot. Even 0,01 lots will give to you 30 000usd profit in 1 year. There's no matter which way market moves. You can't lose all your money if you have trades to both sides. You can loose only swap. But this summary dont need even mantion.
You right, all money you will not lose. But and will not begin (or will begin to work less than, than bank percent) to work, namely herein all sense.
If you have such program, please send it. And I will proof to you it works.
Choose any of these (http://fxtrade.ru/mqlabs/articles)
Hi Scriptong,
I noticed that if I will take away limit orders, then stays less risk. From Onlybuy version I could change it by myself. Now it works without buy limits. Only buy stops waiting.
How can I erase from Grider version Onlysell sell limit orders? I need it to work with only sell orders.
One more thing. If I want insert in to the every order stop losses. Let's say for every order about 30 pips? Is it possible?
Hopefully you understand what I mean and thank you if you can find the moment to help me. Maybe some day it will work exactly as I hoping it to work.
Regards,
Kyber10
Scriptong
23-02-2010, 17:01
Hi Scriptong,
How can I erase from Grider version Onlysell sell limit orders? I need it to work with only sell orders.
Does can you mean orders Sell Stop, but not Sell?
One more thing. If I want insert in to the every order stop losses. Let's say for every order about 30 pips? Is it possible?
Is it simple to add a stop loss level, when does EA set orders?
Sorry! I need only sell stops, no sell limits.
When EA set order automaically, there will be allready stop loss 30 pips. Is it possible?
Kyber 10
Scriptong
26-02-2010, 10:14
In a previous post did I specify for you - it is simple to set a stop loss for each order?
Hi Scriptong,
How are you?
I have proofment in Meta Trader which is downloaded from Forex.ee. If you interested then I can give you passwords(account 96317 password oaq8pxl). But I'll writing you because I still want to try orders with stop losses. Nobody has the time do make for every order stop loss manually. In 3 months there is about 4000 orders, it's just impossible to insert stop losses manually.
Maybe you can modify this "grider" like this:
Only buy stops(in this moment there is buy limits as well)
and Stop loss for every trade
Please inform, is it possible.
Thanks!
Kyber10
Hi, kyber10.
This version set only sell orders.
Hi Scriptong!
Nice to hear you at least.
Ok, here I go!
Grider EA:
I have 2 versions of them.
1.Grider Only sell.
2.Grider Only buy.
I need in both EAs stop losses and no take profits at all. Everything else can stay like this. OR, you can make one EA which works both ways in the same time.
Please ask straight away if you did not understand what I mean. This strategy will work if you make backtest.
Regards,
Kyber10
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.