Tarea técnica
Ищу программиста с опытом работы MQL4
Имеется индикатор на TradingView, который ищет Harmonic Patterns и отправляет 3 вида сигналов:
- О нахождении нового паттерна (выставление лимитного ордера)
- Обновление точки входа/стоп лосс у лимит ордеров, которые еще не вошли в позицию
- Отмена лимит ордеров, которые еще не вошли позицию (при инвалидации сигнала)
Паттерны ищутся как для Лонг, так и Шорт. Открыто может быть несколько лонг и несколько шорт ордеров под разными паттернами (смотреть скриншот)
К примеру:
Нашелся Лонг паттерн AB=CD , индикатор отправляет название паттерна (AB=CD), направление (Лонг), рекомендуемая точка входа (1.08434), стоп лосс (1.08394), ТП1 (1.0851) и ТП2 (1.08649) - посредством вебхука программа принимает сигнал и отправляет лимитный ордер
Через 30 минут нашелся еще один Лонг паттерн Symmetrical Triangle , выполняются те же самые действия
Через 45 минут приходит сигнал об инвалидации паттерна AB=CD (цена ушла сильно в другую сторону), отправляется соответствующий сигнал и здесь уже программа видит, что действительно имеются лимитный ордер с таким паттерном и успешно удаляет ордер
То есть может быть несколько абсолютно независящих друг от друга как Лонг так и Шорт позиций с разными паттернами. С одним и тем же паттерном может быть открыт только один Лонг и один Шорт ордер. В индикаторе имеется соответствующая настройка (смотреть скриншот)
Пример алертов которые отсылает индикатор (их можно модифицировать как угодно, удалять ненужные слова и тд):
Найден новый паттерн для Лонг: {{ticker}}, {{timeframe}}, {{time}}, {{pattern}}, New Pattern, Long, Close: {{close}}, Recommended: Entry: {{entry}}, T1: {{target1}}, T2: {{target2}}, SL: {{stoploss}}
Обновление позиций/целей для кокретного паттерна: {{ticker}}, {{timeframe}}, {{time}}, {{pattern}}, Updated, Long, Close: {{close}}, Recommended: Entry: {{entry}}, T1: {{target1}}, T2: {{target2}}, SL: {{stoploss}}
Конкретный паттерн больше невалиден: {{ticker}}, {{timeframe}}, {{time}}, {{pattern}}, Invalidated, Long, Close: {{close}}