Написать советник по TC Diamonds Trading Plan

От ak40u, 6 июня, 2015 в Архив

Автор#1

Прошу написать советник по TC Diamonds Trading Plan.
Описание ТС внизу первого поста http://www.forexpeacearmy.com/forex-forum/forex-news-gun/23015-introduction-forex-news-gun-diamonds-trading-signals.html

Дублирую тут

Спойлер

This is practically an after- spike trading method and as such it doesn't care much about actual release figure but price pattern evolvement instead. I don't trade every release type using this after- spike technique but I will always post a DTS trade plan together with FNG when it's applicable.

Diamonds Trading Signal trade plan benefits from trend continuation and its parameters help to identify a spike , entry level, stop loss and take profit . Here are the steps of a DTS trade plan:

Set up single click execution on your broker platform, and if possible, pre-determine default stop/loss and default take/profit to a given number of pips, so that when you click to execute your order, your platform will automatically set your stop/loss and take/profit at that distance from your entry price. Do not try this with brokers that don’t offer single click execution.

If your platform does not allow to pre-determine default stop/loss and take/profit, then after entering the trade, simply set the stop/loss and take/profit points manually.

Pull up either tick, 1-second, 3-second, or 5-second chart, and 15 seconds before the announcement, start paying very close attention to the price action of the currency pair we trade.

If during the first short period of time (in most trade plans less than a minute) after the report you see the price move up or down by given pips or more (you will find numbers in trade plans), then enter in the direction of the initial spike at the very first sufficient retracement (given in percentage), but only if your spread at the time of your entry is tight enough (also given). Set stop/loss take/profit according to the trade plan.

The retracement will happen within seconds. Don’t draw anything on your chart, and don’t try to get a perfect entry. As soon as you see the sufficient retracement on your chart, compared to the initial spike , click to enter without any hesitation.

If the move either up or down was too small during the first spike , then the actual number of the report did not generate sufficient interest in the market, and you simply skip the trade. If your spread at the time of desired entry is too high, then skip the trade.

If after a perdetermined period neither your stop/loss nor your take/profit points were hit, then close the trade automatically at market price of the time.


Important Note: it’s absolutely not necessary to know the number that was released for this trade plan. It’s based 100% on price action. Price action decides whether it’s worth trading.

Be patient, and do at least 20 “second wave” trades, before getting frustrated and quitting.

Once you become good at it, you will be able to win on average 7 to 8 out of 10 trades.

Keep win to loss ratio at 1:1. Tweak it only after you are consistently profitable with 1:1.

Remember, it does not matter whether you make or lose 10 pips or 100 pips on a trade. What matters is how much money you make or lose on a trade. When risking 10 pips, simply put up 10 times more lots than you would when you risk 100 pips, and at the end you will make or lose the same amount of money. Yes, spread to pips targeted ratio matters, but these news “second wave” moves have such high probability of success that they somehow make up for the very high spread to pips targeted ratio (2 to 10), which is a small miracle in itself.

For convenience I will always include these steps with specific numbers in my signals so you don't need to come back to here every time.

I think that's quite enough for now. I hope you will see the benefits of these trading techniques soon in your account statements. If you have any question just post it here - I'm lurking around.



Смысл в том, что если цена в течении N секунд прошла M пипсов, а затем был откат цены на Q процентов, то открывается позиция в направлении первоначального движения. (Если спред не более K)

Для каждой пары значение переменных N,M,Q будет свое.

Например:
GBPUSD
Если между 4:30:00 и 4:30:20(т.е. в течении 20 секунд) цена прошла вверх или вниз больше 10 пипсов, открыть позицию в направлении этого движения в момент отката цены на 50%, если откат произошел в первые 40 секунд (до 4:30:40). Спред должен быть не больше 2 пипсов. Стоп лосс = 10 пипсов. Тп = 10 пипсов.

Затем, если за 10 минут до 4:40 не достигнута цель или стоп, закрыть позицию принудительно.

Спойлер

If between 04:30:00am and 04:30:20am, so during the first 20 seconds you see GBPUSD move up or down by 10 pips or more, then enter in the direction of the initial spike at the very first 50% retracement if it doesn't take more than 40 seconds (till 04:30:40am) – and if spread is at 2 pips or less. Set stop/loss at 10 pips, and set take/profit at 10 pips immediately.

If the move either up or down was less than 10 pips during the first 20 seconds, then the actual number of the report did not generate sufficient interest in the market, and you simply skip the trade.

If by 04:40:00am, so 10 minutes after the report release, neither your stop/loss nor your take/profit points were hit, then close the trade automatically at market price of the time.
http://www.forexpeacearmy.com/forex-forum/current-forex-trading-signals/40314-forex-trading-signals-summary-monday-june-1-2015-a.html




Extern параметры советника:

Initial spike duration limit - время первоначального движения цены (20 секунд)
Initial spike price action threshold - количество пройденных пипсов (10 старых)
Triggering retracement percentage - процент отката для входа (50%)
Retracement duration limit - количество секунд сколько ждать отката (40 секунд с момент начала Initial spike duration limit)
Maximum trade hold time after release - через сколько минут закрывать позицию если цель не достигнута (10мин)
Stop loss : 10 pips
Take profit : 10 pips
Maximum spread : 2 pips
magic


ТС задумывалась для работы с новостями, поэтому можно добавить параметры Start time \ Endtime.
Например, если я сегодня жду новость в 11-30 по мск, то Starttime = 1130, а Endtime = 1200.

Изменено 6 июня, 2015 пользователем ak40u

#2

Звучит вроде вменяемо - но кто знает...

Не уверен, что реализации ТС в лоб будет достаточно без добавления в бота существенного количества опций сопровождения ордеров.

Автор#3


Звучит вроде вменяемо - но кто знает...

Не уверен, что реализации ТС в лоб будет достаточно без добавления в бота существенного количества опций сопровождения ордеров.



Ты имеешь ввиду трал и безубыток?
#4

Готовлю описание минимума сервиса, выложу в теме ловли импульсов через несколько дней.

#5

Здравствуйте, подскажите, никто не делал бота по данной теме?

#6

Кароче попробую збабахать, вроде как все просто. Посижу сутреца, полкодирую малехо.


Добавлено: 09-08-2016 04:47:27

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

Изменено 9 августа, 2016 пользователем einshtein

#7


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



пускай код через OnTimer(), и ты забудешь об алкоголе- и нарко- зависимости от тиков брокера. :d

и привязывайся к локальному времени компа(TimeLocal()), брокерский TimeCurrent() будет иногда пропускать секунду, а то и две-три.
вобще попробуй пустить в индикаторе цикл, принтами выводящий разное время, работающий через онтаймер и использующие разное время(каррент,локал, гтм) и сам всё поймешь.

бэктестированию, ясен пень, такой код как и любой аналогичный(вектор и ему подобные) не поддаются.
ну то есть в тестере грааль, на реале - сливатор.

Изменено 9 августа, 2016 пользователем dermitay

#8

В итоге не получилось?)

Для публикации сообщений создайте учётную запись или авторизуйтесь

Перейти к списку тем
Форум · 2.0.20260627.0025