LilHamad
Сообщите нам, если считаете, что материал размещён без разрешения.
Сообщить о материале
Обращение по товару «lilhamad.pine» отправится на рассмотрение. Укажите контакт для ответа и опишите причину.
О программе
LilHamad — индикатор TradingView, который визуализирует торговые сессии в виде боксов, уровней и линий на графике. Он поддерживает несколько сессий (Азия, Лондон, Нью-Йорк и другие) с настраиваемыми временными диапазонами, цветами и прозрачностью. Индикатор отображает информационные таблицы с чеклистами для трёх торговых подходов: CUP, простой подход и помощник входа, а также водяной знак с названием символа, датой и таймфреймом. Дополнительно предоставляет динамические прямоугольники по часам, расширение средней линии азиатской сессии, линии открытия дня/недели/месяца с отметками высоких и низких уровней, вертикальные временные метки и настраиваемые оповещения при пробое уровней.
Настройки программы
| Настройка | Описание |
|---|---|
| show_cup | Отображение списка CUP — Включает или скрывает таблицу с чеклистом условий списка CUP в правом верхнем углу графика. |
| cup_1 | Искушение ликвидностью Азии — Отмечает наличие искушения ликвидностью на уровне азиатского lows/highs. |
| cup_2 | Тайминг Лондон или Нью-Йорк — Указывает, совпадает ли тайминг с лондонской или нью-йоркской сессией. |
| cup_3 | Наличие подчинённого искушения — Отмечает наличие дополнительного искушения внутри основной структуры. |
| cup_4 | Наличие среднего искушения — Отмечает наличие среднего по масштабу искушения ликвидности. |
| cup_5 | Накопление перед искушением — Указывает, предшествовало ли искушение накоплению объёма. |
| cup_6 | Наличие смягчения — Отмечает наличие зоны смягчения (mitigation) после движения. |
| cup_7 | Цель ликвидности в обратном направлении — Указывает наличие цели ликвидности в противоположном направлении тренда. |
| cup_8 | Чёткая свеча Виктора с искушением — Отмечает возможность определить чёткую свечу Виктора, совпадающую с искушением. |
| cup_9 | Минимальное соотношение доходности к риску 1:5 — Проверяет достижение минимального соотношения доходности к риску 1:5. |
| cup_10 | Взятие highs/lows вчерашнего дня — Отмечает, были ли взяты highs или lows предыдущего торгового дня. |
| cup_11 | Взятие highs/lows на этой неделе — Отмечает, были ли взяты highs или lows текущей недели. |
| cup_12 | Знание о потенциальном изменении цикла — Указывает на осведомлённость о возможном переходе в другую фазу цикла. |
| show_simp | Отображение списка простого подхода — Включает или скрывает таблицу с чеклистом простого подхода в правом верхнем углу графика. |
| simp_1 | Определение ликвидности — накопление — Отмечает этап определения зоны ликвидности и накопления. |
| simp_2 | Искушение — Отмечает этап искушения ликвидности после накопления. |
| simp_3 | Связанный пробой структуры (rBoS) — Указывает на наличие пробоя структуры, связанного с предыдущим движением. |
| simp_4 | Смягчение зоны интереса (Mitigation POI) — Отмечает этап смягчения зоны интереса после движения. |
| simp_5 | Ожидание ловушки умных денег (SMT) — Указывает на ожидание ловушки для умных денег перед входом. |
| simp_6 | Точный тайминг — Отмечает этап точного определения тайминга входа. |
| simp_7 | Подтверждение помощника входа — Указывает на наличие подтверждения от помощника входа. |
| simp_8 | Определение цели (Take Profit) — Отмечает этап определения одной или нескольких целей по прибыли. |
| show_help | Отображение списка помощника входа — Включает или скрывает таблицу с чеклистом помощника входа в правом нижнем углу графика. |
| help_1 | Наличие накопления — Отмечает, было ли выполнено накопление перед входом. |
| help_2 | Наличие искушения для накопления — Указывает, последовало ли искушение за обнаруженным накоплением. |
| help_3 | Крупное накопление — Отмечает, что накопление является крупным, а не мелким. |
| help_4 | Определение направления искушения — Указывает на определение направления искушения после накопления. |
| help_5 | Связанный пробой структуры после искушения — Отмечает наличие пробоя структуры, следующего за искушением. |
| help_6 | Определение зоны интереса (POI) — Указывает на определение зоны интереса для последующего движения. |
| help_7 | Торговля на том же таймфрейме что накопление — Отмечает, что торговля ведётся на том же таймфрейме, где обнаружено накопление. |
| help_8 | Первый LET после искушения — Указывает, что это первый ликвидационный выход (LET) после искушения. |
| help_9 | LET является смягчением искушения — Отмечает, что ликвидационный выход выступает смягчением искушения. |
| help_10 | Поиск EDM после LET — Указывает на поиск расширения движения (EDM) после ликвидационного выхода. |
| help_11 | Чёткий откат с дисбалансом — Отмечает наличие чёткого отката с обнаруженным дисбалансом (imbalance). |
| help_12 | Цели 1:3 для EDM и 1:5 для LET — Проверяет соответствие целей по соотношению риск/доходность для EDM и LET. |
| title | Заголовок — Текст заголовка, отображаемый в верхней части графика. |
| subtitle | Подзаголовок — Текст подзаголовка, отображаемый под заголовком на графике. |
| symInfoCheck | Показать информацию о символе — Включает отображение информации о текущем символе и таймфрейме в нижней части графика. |
| c_title | Цвет заголовка — Задаёт цвет текста заголовка. |
| s_title | Размер заголовка — Задаёт размер шрифта текста заголовка. |
| c_subtitle | Цвет подзаголовка — Задаёт цвет текста подзаголовка. |
| s_subtitle | Размер подзаголовка — Задаёт размер шрифта текста подзаголовка. |
| c_symInfo | Цвет информации о символе — Задаёт цвет текста с информацией о символе и таймфрейме. |
| s_symInfo | Размер информации о символе — Задаёт размер шрифта текста с информацией о символе. |
| max_days | Лимит отрисовки сессий — Ограничивает количество сохраняемых на графике построений для каждого типа элементов. |
| tf_limit | Ограничение таймфрейма — Запрещает отображение построений на таймфреймах равных или выше указанного значения. |
| gmt_tz | Часовой пояс — Задаёт часовой пояс для расчёта времени сессий и отметок. |
| txt_color | Цвет текста — Задаёт цвет текста для всех подписей и таблиц на графике. |
| use_cutoff | Время окончания отрисовки — Включает ограничение продления линий пивотов и открытия в указанное время. |
| cutoff | Время cutoff — Задаёт сессию, до которой продлеваются линии пивотов и открытия при включённом cutoff. |
| show_kz | Показать боксы killzone — Включает или отключает отображение цветных прямоугольников killzone на графике. |
| show_kz_text | Отображение текста — Включает или отключает текстовые подписи внутри боксов killzone. |
| use_asia | Использовать Азию — Включает отображение азиатской сессии. |
| as_txt | Текст Азии — Подпись, отображаемая для азиатской сессии. |
| asia | Сессия Азии — Задаёт временной диапазон азиатской торговой сессии. |
| as_color | Цвет Азии — Задаёт цвет бокса и линий азиатской сессии. |
| use_ffan | Использовать FFan — Включает отображение сессии FFan. |
| ff_txt | Текст FFan — Подпись, отображаемая для сессии FFan. |
| ffan | Сессия FFan — Задаёт временной диапазон сессии FFan. |
| ff_color | Цвет FFan — Задаёт цвет бокса и линий сессии FFan. |
| use_london | Использовать Лондон — Включает отображение лондонской сессии. |
| lo_txt | Текст Лондона — Подпись, отображаемая для лондонской сессии. |
| london | Сессия Лондона — Задаёт временной диапазон лондонской торговой сессии. |
| lo_color | Цвет Лондона — Задаёт цвет бокса и линий лондонской сессии. |
| use_nfak | Использовать NFAK — Включает отображение сессии NFAK. |
| n_txt | Текст NFAK — Подпись, отображаемая для сессии NFAK. |
| nfak | Сессия NFAK — Задаёт временной диапазон сессии NFAK. |
| n_color | Цвет NFAK — Задаёт цвет бокса и линий сессии NFAK. |
| use_nyam | Использовать NYAM — Включает отображение сессии NYAM. |
| na_txt | Текст NYAM — Подпись, отображаемая для сессии NYAM. |
| nyam | Сессия NYAM — Задаёт временной диапазон сессии NYAM. |
| na_color | Цвет NYAM — Задаёт цвет бокса и линий сессии NYAM. |
| use_nylu | Использовать NYLU — Включает отображение сессии NYLU. |
| nl_txt | Текст NYLU — Подпись, отображаемая для сессии NYLU. |
| nylu | Сессия NYLU — Задаёт временной диапазон сессии NYLU. |
| nl_color | Цвет NYLU — Задаёт цвет бокса и линий сессии NYLU. |
| use_nypm | Использовать NYPM — Включает отображение сессии NYPM. |
| np_txt | Текст NYPM — Подпись, отображаемая для сессии NYPM. |
| nypm | Сессия NYPM — Задаёт временной диапазон сессии NYPM. |
| np_color | Цвет NYPM — Задаёт цвет бокса и линий сессии NYPM. |
| use_yo | Использовать YO — Включает отображение сессии YO (LClon). |
| yo_txt | Текст YO — Подпись, отображаемая для сессии YO. |
| yo | Сессия YO — Задаёт временной диапазон сессии YO. |
| yo_color | Цвет YO — Задаёт цвет бокса и линий сессии YO. |
| box_transparency | Прозрачность боксов — Задаёт уровень прозрачности прямоугольников killzone (0–100). |
| text_transparency | Прозрачность текста — Задаёт уровень прозрачности текста внутри боксов и подписей (0–100). |
| show_pivots | Показать пивоты — Включает отображение линий высоких и низких уровней killzone. |
| use_alerts | Оповещения о пробое пивотов — Включает отправку оповещений при пробое уровней high или low killzone. |
| show_midpoints | Показать средние точки — Включает отображение линий средних точек между high и low killzone. |
| stop_midpoints | Останавливать после смягчения — Останавливает продление линий средних точек после их смягчения. |
| show_labels | Показать подписи пивотов — Включает отображение подписей с обозначениями high и low для каждого killzone. |
| label_price | Отображение цены — Включает отображение значения цены рядом с подписями уровней. |
| label_right | Правая сторона — Размещает подписи уровней справа от графика до достижения ценой этого уровня. |
| ext_pivots | Продление пивотов — Определяет, до какого момента продлевать линии пивотов после выхода за пределы сессии. |
| ext_which | Продление из каких сессий — Выбирает, из каких сессий брать данные для продления линий пивотов. |
| ash_str | Подпись AS.H — Текст подписи верхнего уровня для азиатской killzone. |
| asl_str | Подпись AS.L — Текст подписи нижнего уровня для азиатской killzone. |
| loh_str | Подпись LO.H — Текст подписи верхнего уровня для лондонской killzone. |
| lol_str | Подпись LO.L — Текст подписи нижнего уровня для лондонской killzone. |
| nfh_str | Подпись NFAK.H — Текст подписи верхнего уровня для NFAK killzone. |
Поиск по коду файла
indicator("LilHamad", "LilHamad", true, max_labels_count = 500, max_lines_count = 500, max_boxes_count = 500)
g_cup = "CUP list conditions"
show_cup = input.bool(false, "👁️ Show CUP list", group=g_cup)
cup_1 = input.bool(false, "Did we have an inducement at the Asian high / low?", group=g_cup)
cup_2 = input.bool(false, "Is the timing London (LO) or New York (NYT)?", group=g_cup)
cup_3 = input.bool(false, "Was there a sub-inducement?", group=g_cup)
cup_4 = input.bool(false, "Was there a medium inducement?", group=g_cup)
cup_5 = input.bool(false, "Was there a buildup that led to the inducement?", group=g_cup)
cup_6 = input.bool(false, "Is there mitigation?", group=g_cup)
cup_7 = input.bool(false, "Is there a liquidity target in the opposite direction?", group=g_cup)
cup_8 = input.bool(false, "Can you identify a clear vector candle with inducement?", group=g_cup)
cup_9 = input.bool(false, "Do you have a minimum reward-to-risk of 1:5?", group=g_cup)
cup_10 = input.bool(false, "Was yesterday's high / low taken?", group=g_cup)
cup_11 = input.bool(false, "Was the weekly high / low taken?", group=g_cup)
cup_12 = input.bool(false, "Do you know which possible cycle change you are in?", group=g_cup)
g_simp = "Simplicity approach conditions"
show_simp = input.bool(false, "👁️ Show simplicity approach list", group=g_simp)
simp_1 = input.bool(false, "Liquidity identification - Buildup", group=g_simp)
simp_2 = input.bool(false, "Inducement", group=g_simp)
simp_3 = input.bool(false, "Relevant break of structure (rBoS)", group=g_simp)
simp_4 = input.bool(false, "Mitigation of point of interest (Mitigation POI)", group=g_simp)
simp_5 = input.bool(false, "Smart money trap expectation (SMT)", group=g_simp)
simp_6 = input.bool(false, "Precise timing (Timing)", group=g_simp)
simp_7 = input.bool(false, "Entry helper confirmation", group=g_simp)
simp_8 = input.bool(false, "Target identification / targets (Take Profit)", group=g_simp)
g_help = "Entry helper conditions"
show_help = input.bool(false, "👁️ Show entry helper list", group=g_help)
help_1 = input.bool(false, "Did you have a buildup?", group=g_help)
help_2 = input.bool(false, "Did you have an inducement for that buildup?", group=g_help)
help_3 = input.bool(false, "Is it a major buildup (not a minor buildup)?", group=g_help)
help_4 = input.bool(false, "Did you determine the direction of that inducement?", group=g_help)
help_5 = input.bool(false, "Is there a relevant break of structure (rBoS) after the inducement?", group=g_help)
help_6 = input.bool(false, "Did you identify your point of interest (POI)?", group=g_help)
help_7 = input.bool(false, "Are you trading on the same timeframe as the buildup?", group=g_help)
help_8 = input.bool(false, "Is it the first (LET) after the inducement?", group=g_help)
help_9 = input.bool(false, "Is the LET a mitigation of the inducement?", group=g_help)
help_10 = input.bool(false, "The LET has occurred, are you looking for EDMs?", group=g_help)
help_11 = input.bool(false, "Do you have a clear reversal with imbalance?", group=g_help)
help_12 = input.bool(false, "Is the target 1:3 for EDM and 1:5 for LET?", group=g_help)
get_txt(v, t) => v ? "✅ " + t + " " : "❌ " + t + " "
get_clr(v) => v ? color.lime : color.white
var t_top = table.new(position.top_right, columns=2, rows=13, bgcolor=color.new(#151924, 15), border_width=1, border_color=color.gray)
var t_bot = table.new(position.bottom_right, columns=1, rows=13, bgcolor=color.new(#151924, 15), border_width=1, border_color=color.gray)
if barstate.islast
table.clear(t_top, 0, 0, 1, 12)
table.clear(t_bot, 0, 0, 0, 12)
if show_simp
table.cell(t_top, 1, 0, "Simplicity approach", bgcolor=#7b1fa2, text_color=color.white, text_size=size.normal)
table.cell(t_top, 1, 1, get_txt(simp_1, "Liquidity identification - Buildup"), text_color=get_clr(simp_1), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 2, get_txt(simp_2, "Inducement"), text_color=get_clr(simp_2), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 3, get_txt(simp_3, "Relevant break of structure (rBoS)"), text_color=get_clr(simp_3), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 4, get_txt(simp_4, "Mitigation of point of interest (Mitigation POI)"), text_color=get_clr(simp_4), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 5, get_txt(simp_5, "Smart money trap expectation (SMT)"), text_color=get_clr(simp_5), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 6, get_txt(simp_6, "Precise timing (Timing)"), text_color=get_clr(simp_6), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 7, get_txt(simp_7, "Entry helper confirmation"), text_color=get_clr(simp_7), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 1, 8, get_txt(simp_8, "Target identification / targets (Take Profit)"), text_color=get_clr(simp_8), text_size=size.normal, text_halign=text.align_right)
if show_cup
table.cell(t_top, 0, 0, "CUP trading list", bgcolor=#1848cc, text_color=color.white, text_size=size.normal)
table.cell(t_top, 0, 1, get_txt(cup_1, "Did we have an inducement at the Asian high / low?"), text_color=get_clr(cup_1), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 2, get_txt(cup_2, "Is the timing London (LO) or New York (NYT)?"), text_color=get_clr(cup_2), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 3, get_txt(cup_3, "Was there a sub-inducement?"), text_color=get_clr(cup_3), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 4, get_txt(cup_4, "Was there a medium inducement?"), text_color=get_clr(cup_4), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 5, get_txt(cup_5, "Was there a buildup that led to the inducement?"), text_color=get_clr(cup_5), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 6, get_txt(cup_6, "Is there mitigation?"), text_color=get_clr(cup_6), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 7, get_txt(cup_7, "Is there a liquidity target in the opposite direction?"), text_color=get_clr(cup_7), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 8, get_txt(cup_8, "Can you identify a clear vector candle with inducement?"), text_color=get_clr(cup_8), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 9, get_txt(cup_9, "Do you have a minimum reward-to-risk of 1:5?"), text_color=get_clr(cup_9), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 10, get_txt(cup_10, "Was yesterday's high / low taken?"), text_color=get_clr(cup_10), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 11, get_txt(cup_11, "Was the weekly high / low taken?"), text_color=get_clr(cup_11), text_size=size.normal, text_halign=text.align_right)
table.cell(t_top, 0, 12, get_txt(cup_12, "Do you know which possible cycle change you are in?"), text_color=get_clr(cup_12), text_size=size.normal, text_halign=text.align_right)
if show_help
table.cell(t_bot, 0, 0, "Entry helper", bgcolor=#e65100, text_color=color.white, text_size=size.normal)
table.cell(t_bot, 0, 1, get_txt(help_1, "Did you have a buildup?"), text_color=get_clr(help_1), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 2, get_txt(help_2, "Did you have an inducement for that buildup?"), text_color=get_clr(help_2), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 3, get_txt(help_3, "Is it a major buildup (not a minor buildup)?"), text_color=get_clr(help_3), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 4, get_txt(help_4, "Did you determine the direction of that inducement?"), text_color=get_clr(help_4), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 5, get_txt(help_5, "Is there a relevant break of structure (rBoS) after the inducement?"), text_color=get_clr(help_5), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 6, get_txt(help_6, "Did you identify your point of interest (POI)?"), text_color=get_clr(help_6), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 7, get_txt(help_7, "Are you trading on the same timeframe as the buildup?"), text_color=get_clr(help_7), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 8, get_txt(help_8, "Is it the first (LET) after the inducement?"), text_color=get_clr(help_8), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 9, get_txt(help_9, "Is the LET a mitigation of the inducement?"), text_color=get_clr(help_9), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 10, get_txt(help_10, "The LET has occurred, are you looking for EDMs?"), text_color=get_clr(help_10), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 11, get_txt(help_11, "Do you have a clear reversal with imbalance?"), text_color=get_clr(help_11), text_size=size.normal, text_halign=text.align_right)
table.cell(t_bot, 0, 12, get_txt(help_12, "Is the target 1:3 for EDM and 1:5 for LET?"), text_color=get_clr(help_12), text_size=size.normal, text_halign=text.align_right)
title = input.string("𝗟𝗶𝗹𝗛𝗮𝗺𝗮𝗱", "Tittle", group = "NICK NAME")
subtitle = input.string("𝗟𝗜𝗤𝗨𝗜𝗗𝗜𝗧𝗬 | 𝗧𝗜𝗠𝗜𝗡𝗚 | 𝗣𝗥𝗘𝗖𝗜𝗦𝗜𝗢𝗡", "Subtitle", group = "text")
symInfoCheck = input.bool(title="Show Symbol Info", defval=true, group = "watermark position")
c_title = input(color.new(color.black, 0), "Title Color", group = "title settings")
s_title = input.string("large", "Title Size", options = ["tiny", "small", "normal", "large", "huge", "auto"], group = "title settings")
c_subtitle = input(color.new(color.black, 30), "Subtitle Color", group = "subtitle settings")
s_subtitle = input.string("small", "Subtitle Size", options = ["tiny", "small", "normal", "large", "huge", "auto"], group = "subtitle settings")
c_symInfo = input(color.new(color.black, 30), "Symbol Color", group = "symbol settings")
s_symInfo = input.string("normal", "Symbol Size", options = ["tiny", "small", "normal", "large", "huge", "auto"], group = "symbol settings")
if barstate.islast
var table titleTable = table.new(position.top_center, 1, 2, border_width = 0)
var table symTable = table.new(position.bottom_center, 1, 2, border_width = 0)
table.cell(titleTable, 0, 0, title, text_color = c_title, text_size = s_title)
table.cell(titleTable, 0, 1, subtitle, text_color = c_subtitle, text_size = s_subtitle)
date_str = str.tostring(dayofmonth(time)) + "/" + str.tostring(month(time)) + "/" + str.tostring(year(time))
symbol_str = syminfo.ticker + " | " + timeframe.period + (timeframe.isminutes ? "M" : "")
table.cell(symTable, 0, 0, date_str, text_color = c_symInfo, text_size = s_symInfo)
table.cell(symTable, 0, 1, symbol_str, text_color = c_symInfo, text_size = s_symInfo)
get_line_type(_style) =>
result = switch _style
'Solid' => line.style_solid
'Dotted' => line.style_dotted
'Dashed' => line.style_dashed
result
get_size(x) =>
result = switch x
'Auto' => size.auto
'Tiny' => size.tiny
'Small' => size.small
'Normal' => size.normal
'Large' => size.large
'Huge' => size.huge
get_table_pos(pos) =>
result = switch pos
"Bottom Center" => position.bottom_center
"Bottom Left" => position.bottom_left
"Bottom Right" => position.bottom_right
"Middle Center" => position.middle_center
"Middle Left" => position.middle_left
"Middle Right" => position.middle_right
"Top Center" => position.top_center
"Top Left" => position.top_left
"Top Right" => position.top_right
var g_SETTINGS = "Settings"
max_days = input.int(5, "Session Drawing Limit", 1, tooltip = "Only this many drawings will be kept on the chart, for each selected drawing type (killzone boxes, pivot lines, open lines, etc.)", group = g_SETTINGS)
tf_limit = input.timeframe("60", "Timeframe Limit", tooltip = "Drawings will not appear on timeframes greater than or equal to this", group = g_SETTINGS)
gmt_tz = input.string('GMT+2', "Timezone", options = ['America/New_York','GMT-12','GMT-11','GMT-10','GMT-9','GMT-8','GMT-7','GMT-6','GMT-5','GMT-4','GMT-3','GMT-2','GMT-1','GMT+0','GMT+1','GMT+2','GMT+3','GMT+4','GMT+5','GMT+6','GMT+7','GMT+8','GMT+9','GMT+10','GMT+11','GMT+12','GMT+13','GMT+14'], tooltip = "Note GMT is not adjusted to reflect Daylight Saving Time changes", group = g_SETTINGS)
lbl_size = get_size(input.string('Normal', "Label Size", options = ['Auto', 'Tiny', 'Small', 'Normal', 'Large', 'Huge'], tooltip = "The size of all labels", group = g_SETTINGS))
txt_color = input.color(color.black, "Text Color", tooltip = "The color of all label and table text", group = g_SETTINGS)
use_cutoff = input.bool(false, "Drawing Cutoff Time", inline = "CO", tooltip = "When enabled, all pivots and open price lines will stop extending at this time", group = g_SETTINGS)
cutoff = input.session("1800-1801", "", inline = "CO", group = g_SETTINGS)
var g_KZ = "Killzones"
show_kz = input.bool(true, "Show Killzone Boxes", inline = "KZ", group = g_KZ)
show_kz_text = input.bool(true, "Display Text", inline = "KZ", group = g_KZ)
use_asia = input.bool(true, "", inline = "ASIA", group = g_KZ)
as_txt = input.string("Asia", "", inline = "ASIA", group = g_KZ)
asia = input.session("2300-0700", "", inline = "ASIA", group = g_KZ)
as_color = input.color(#bbd9fb, "", inline = "ASIA", group = g_KZ)
use_ffan = input.bool(true, "", inline = "FFan", group = g_KZ)
ff_txt = input.string("FFan", "", inline = "FFan", group = g_KZ)
ffan = input.session("0800-0900", "", inline = "FFan", group = g_KZ)
ff_color = input.color(#b8b8b8, "", inline = "FFan", group = g_KZ)
use_london = input.bool(true, "", inline = "LONDON", group = g_KZ)
lo_txt = input.string("London", "", inline = "LONDON", group = g_KZ)
london = input.session("0900-1000", "", inline = "LONDON", group = g_KZ)
lo_color = input.color(#fccbcd, "", inline = "LONDON", group = g_KZ)
use_nfak = input.bool(true, "", inline = "NFAK", group = g_KZ)
n_txt = input.string("N FAK", "", inline = "NFAK", group = g_KZ)
nfak = input.session("1400-1500", "", inline = "NFAK", group = g_KZ)
n_color = input.color(#b2ebf2, "", inline = "NFAK", group = g_KZ)
use_nyam = input.bool(true, "", inline = "NYAM", group = g_KZ)
na_txt = input.string("NY AM", "", inline = "NYAM", group = g_KZ)
nyam = input.session("1500-1600", "", inline = "NYAM", group = g_KZ)
na_color = input.color(#b2ebf2, "", inline = "NYAM", group = g_KZ)
use_nylu = input.bool(true, "", inline = "NYLU", group = g_KZ)
nl_txt = input.string("MM1", "", inline = "NYLU", group = g_KZ)
nylu = input.session("1015-1045", "", inline = "NYLU", group = g_KZ)
nl_color = input.color(#c8e6c9, "", inline = "NYLU", group = g_KZ)
use_nypm = input.bool(true, "", inline = "NYPM", group = g_KZ)
np_txt = input.string("MM2", "", inline = "NYPM", group = g_KZ)
nypm = input.session("1215-1245", "", inline = "NYPM", group = g_KZ)
np_color = input.color(#e1bee7, "", inline = "NYPM", group = g_KZ)
use_yo = input.bool(true, "", inline = "YO", group = g_KZ)
yo_txt = input.string("LClon", "", inline = "YO", group = g_KZ)
yo = input.session("1645-1715", "", inline = "YO", group = g_KZ)
yo_color = input.color(#fccbcd, "", inline = "YO", group = g_KZ)
box_transparency = input.int(70, "Box Transparency", 0, 100, group = g_KZ)
text_transparency = input.int(50, "Text Transparency", 0, 100, group = g_KZ)
var g_LABELS = "Killzone Pivots"
show_pivots = input.bool(false, "Show Pivots", inline = "PV", group = g_LABELS)
use_alerts = input.bool(true, "Alert Broken Pivots", inline = "PV", tooltip = "The desired killzones must be enabled at the time that an alert is created, along with the show pivots option, in order for alerts to work", group = g_LABELS)
show_midpoints = input.bool(false, "Show Pivot Midpoints", inline = "mp", group = g_LABELS)
stop_midpoints = input.bool(false, "Stop Once Mitigated", inline = "mp", group = g_LABELS)
show_labels = input.bool(false, "Show Pivot Labels", inline = "LB", tooltip = "Show labels denoting each killzone's high and low. Optionally choose to show the price of each level. Right side will show labels on the right-hand side of the chart until they are reached", group = g_LABELS)
label_price = input.bool(false, "Display Price", inline = "LB", group = g_LABELS)
label_right = input.bool(false, "Right Side", inline = "LB", group = g_LABELS)
ext_pivots = input.string("Until Mitigated", "Extend Pivots...", options = ['Until Mitigated', 'Past Mitigation'], group = g_LABELS)
ext_which = input.string("Most Recent", "...From Which Sessions", options = ['Most Recent', 'All'], group = g_LABELS)
ash_str = input.string("AS.H", "Killzone 1 Labels", inline = "L_AS", group = g_LABELS)
asl_str = input.string("AS.L", "", inline = "L_AS", group = g_LABELS)
loh_str = input.string("LO.H", "Killzone 2 Labels", inline = "L_LO", group = g_LABELS)
lol_str = input.string("LO.L", "", inline = "L_LO", group = g_LABELS)
nfh_str = input.string("NFAK.H", "Killzone 3 Labels", inline = "L_NA", group = g_LABELS)
nfl_str = input.string("NFAK.L", "", inline = "L_NA", group = g_LABELS)
nah_str = input.string("NYAM.H", "Killzone 3 Labels", inline = "L_NA", group = g_LABELS)
nal_str = input.string("NYAM.L", "", inline = "L_NA", group = g_LABELS)
nlh_str = input.string("NYL.H", "Killzone 4 Labels", inline = "L_NL", group = g_LABELS)
nll_str = input.string("NYL.L", "", inline = "L_NL", group = g_LABELS)
nph_str = input.string("NYPM.H", "Killzone 5 Labels", inline = "L_NP", group = g_LABELS)
npl_str = input.string("NYPM.L", "", inline = "L_NP", group = g_LABELS)
kzp_style = get_line_type(input.string(defval = 'Solid', title = "Pivot Style", options = ['Solid', 'Dotted', 'Dashed'], inline = "KZP", group = g_LABELS))
kzp_width = input.int(1, "", inline = "KZP", group = g_LABELS)
kzm_style = get_line_type(input.string(defval = 'Dotted', title = "Midpoint Style", options = ['Solid', 'Dotted', 'Dashed'], inline = "KZM", group = g_LABELS))
kzm_width = input.int(1, "", inline = "KZM", group = g_LABELS)
var g_RNG = "Killzone Range"
show_range = input.bool(false, "Show Killzone Range", tooltip = "Show the most recent ranges of each selected killzone, from high to low", group = g_RNG)
show_range_avg = input.bool(true, "Show Average", tooltip = "Show the average range of each selected killzone", group = g_RNG)
range_avg = input.int(5, "Average Length", 0, tooltip = "This many previous sessions will be used to calculate the average. If there isn't enough data on the current chart, it will use as many sessions as possible", group = g_RNG)
range_pos = get_table_pos(input.string('Top Right', "Table Position", options = ['Bottom Center', 'Bottom Left', 'Bottom Right', 'Middle Center', 'Middle Left', 'Middle Right', 'Top Center', 'Top Left', 'Top Right'], group = g_RNG))
range_size = get_size(input.string('Normal', "Table Size", options = ['Auto', 'Tiny', 'Small', 'Normal', 'Large', 'Huge'], group = g_RNG))
var g_DWM = "Day - Week - Month"
sep_unlimited = input.bool(false, "Unlimited", tooltip = "Unlimited will show as many of the selected lines as possible. Otherwise, the session drawing limit will be used", group = g_DWM)
alert_HL = input.bool(false, "Alert High/Low Break", tooltip = "Alert when any selected highs and lows are traded through. The desired timeframe's high/low option must be enabled at the time that an alert is created", group = g_DWM)
show_d_open = input.bool(true, "D Open", inline = "DO", group = g_DWM)
dhl = input.bool(false, "High/Low", inline = "DO", tooltip = "", group = g_DWM)
ds = input.bool(false, "Separators", inline = "DO", tooltip = "Mark where a new day begins", group = g_DWM)
d_color = input.color(#2962ff, "", inline = "DO", group = g_DWM)
show_w_open = input.bool(false, "W Open", inline = "WO", group = g_DWM)
whl = input.bool(false, "High/Low", inline = "WO", tooltip = "", group = g_DWM)
ws = input.bool(false, "Separators", inline = "WO", tooltip = "Mark where a new week begins", group = g_DWM)
w_color = input.color(#089981, "", inline = "WO", group = g_DWM)
show_m_open = input.bool(false, "M Open", inline = "MO", group = g_DWM)
mhl = input.bool(false, "High/Low", inline = "MO", tooltip = "", group = g_DWM)
ms = input.bool(false, "Separators", inline = "MO", tooltip = "Mark where a new month begins", group = g_DWM)
m_color = input.color(color.red, "", inline = "MO", group = g_DWM)
htf_style = get_line_type(input.string(defval = 'Solid', title = "Style", options = ['Solid', 'Dotted', 'Dashed'], inline = "D0", group = g_DWM))
htf_width = input.int(1, "", inline = "D0", group = g_DWM)
dow_labels = input.bool(false, "Day of Week Labels", inline = "DOW", group = g_DWM)
dow_yloc = input.string('Bottom', "", options = ['Top', 'Bottom'], inline = "DOW", group = g_DWM)
dow_xloc = input.string('Midnight', "", options = ['Midnight', 'Midday'], inline = "DOW", group = g_DWM)
dow_hide_wknd = input.bool(true, "Hide Weekend Labels", group = g_DWM)
var g_OPEN = "Opening Prices"
open_unlimited = input.bool(false, "Unlimited", tooltip = "Unlimited will show as many of the selected lines as possible. Otherwise, the session drawing limit will be used", group = g_OPEN)
use_h1 = input.bool(false, "", inline = "H1", group = g_OPEN)
h1_text = input.string("True Day Open", "", inline = "H1", group = g_OPEN)
h1 = input.session("0000-0001", "", inline = "H1", group = g_OPEN)
h1_color = input.color(color.black, "", inline = "H1", group = g_OPEN)
use_h2 = input.bool(false, "", inline = "H2", group = g_OPEN)
h2_text = input.string("06:00", "", inline = "H2", group = g_OPEN)
h2 = input.session("0600-0601", "", inline = "H2", group = g_OPEN)
h2_color = input.color(color.black, "", inline = "H2", group = g_OPEN)
use_h3 = input.bool(false, "", inline = "H3", group = g_OPEN)
h3_text = input.string("10:00", "", inline = "H3", group = g_OPEN)
h3 = input.session("1000-1001", "", inline = "H3", group = g_OPEN)
h3_color = input.color(color.black, "", inline = "H3", group = g_OPEN)
use_h4 = input.bool(false, "", inline = "H4", group = g_OPEN)
h4_text = input.string("14:00", "", inline = "H4", group = g_OPEN)
h4 = input.session("1400-1401", "", inline = "H4", group = g_OPEN)
h4_color = input.color(color.black, "", inline = "H4", group = g_OPEN)
use_h5 = input.bool(false, "", inline = "H5", group = g_OPEN)
h5_text = input.string("00:00", "", inline = "H5", group = g_OPEN)
h5 = input.session("0000-0001", "", inline = "H5", group = g_OPEN)
h5_color = input.color(color.black, "", inline = "H5", group = g_OPEN)
use_h6 = input.bool(false, "", inline = "H6", group = g_OPEN)
h6_text = input.string("00:00", "", inline = "H6", group = g_OPEN)
h6 = input.session("0000-0001", "", inline = "H6", group = g_OPEN)
h6_color = input.color(color.black, "", inline = "H6", group = g_OPEN)
use_h7 = input.bool(false, "", inline = "H7", group = g_OPEN)
h7_text = input.string("00:00", "", inline = "H7", group = g_OPEN)
h7 = input.session("0000-0001", "", inline = "H7", group = g_OPEN)
h7_color = input.color(color.black, "", inline = "H7", group = g_OPEN)
use_h8 = input.bool(false, "", inline = "H8", group = g_OPEN)
h8_text = input.string("00:00", "", inline = "H8", group = g_OPEN)
h8 = input.session("0000-0001", "", inline = "H8", group = g_OPEN)
h8_color = input.color(color.black, "", inline = "H8", group = g_OPEN)
hz_style = get_line_type(input.string(defval = 'Dotted', title = "Style", options = ['Solid', 'Dotted', 'Dashed'], inline = "H0", group = g_OPEN))
hz_width = input.int(1, "", inline = "H0", group = g_OPEN)
var g_VERTICAL = "Timestamps"
v_unlimited = input.bool(false, "Unlimited", tooltip = "Unlimited will show as many of the selected lines as possible. Otherwise, the session drawing limit will be used", group = g_VERTICAL)
use_v1 = input.bool(false, "", inline = "V1", group = g_VERTICAL)
v1 = input.session("1645-1646", "", inline = "V1", group = g_VERTICAL)
v1_color = input.color(#000000, "", inline = "V1", group = g_VERTICAL)
use_v2 = input.bool(false, "", inline = "V2", group = g_VERTICAL)
v2 = input.session("1715-1716", "", inline = "V2", group = g_VERTICAL)
v2_color = input.color(#000000, "", inline = "V2", group = g_VERTICAL)
use_v3 = input.bool(false, "", inline = "V3", group = g_VERTICAL)
v3 = input.session("1000-1001", "", inline = "V3", group = g_VERTICAL)
v3_color = input.color(color.black, "", inline = "V3", group = g_VERTICAL)
use_v4 = input.bool(false, "", inline = "V4", group = g_VERTICAL)
v4 = input.session("1200-1201", "", inline = "V4", group = g_VERTICAL)
v4_color = input.color(color.black, "", inline = "V4", group = g_VERTICAL)
vl_style = get_line_type(input.string(defval = 'Dotted', title = "Style", options = ['Solid', 'Dotted', 'Dashed'], inline = "V0", group = g_VERTICAL))
vl_width = input.int(1, "", inline = "V0", group = g_VERTICAL)
type kz
string _title
box[] _box
line[] _hi_line
line[] _md_line
line[] _lo_line
label[] _hi_label
label[] _lo_label
bool[] _hi_valid
bool[] _md_valid
bool[] _lo_valid
float[] _range_store
float _range_current
type hz
line[] LN
label[] LB
booПоказано первые 50% кода (символов: 42911)
Открыть по тарифу
Купите тариф с пакетом открытий или войдите, если тариф уже есть. Открытый файл останется в вашем кабинете навсегда.
Разовая покупка файла
На этой странице откроется полный исходный код файла вместо ознакомительного фрагмента.
Зачем нужен email? После подтверждения оплаты файл сохранится в кабинете на этот email. Если аккаунта ещё нет, мы создадим его и пришлём ссылку для задания пароля. Если аккаунт уже есть, покупка добавится в него. Укажите адрес, к которому у вас есть доступ.
Чтобы оформить заказ, введите email и перейдите к оплате.