Smollet

Ouside Bar First high/low Detector

Indicator wenting to the lower time frame(if compare with current chart time frame) and seek what happened first, the low of previouse bar was updated first or the high of previouse bar.
In some trading strategies need to know exactly sequence of actions for outside bars to program the logic for testing on deep history.
If first was updated the high of previouse bar indicator will draw green diamond above the outside bar. If first was updated the low of previouse bar then indicator will draw red diamon below the ouside bar.
In cases where both side diamonds is plotted it meant the current Lower time frame resolution is not enough to clear figure out what was first Low of High, need choose lower resolution.
I did not found ready to use examples and made my own.
I hope it will be usefull for you.
Best Regards.
Скрипт с открытым кодом

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

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?