simwai

Swing Distance

simwai Обновлено   
Hello fellas,

This simple indicator helps to visualize the distance between swings. It consists of two lines, the highest and the lowest line, which show the highest and lowest value of the set lookback, respectively. Additionally, it plots labels with the distance (in %) between the highest and the lowest line when there is a change in either the highest or the lowest value.

Use Case:
This tool helps you get a feel for which trades you might want to take and which timeframe you might want to use.

Side Note: This indicator is not intended to be used as a signal emitter or filter!

Best regards,
simwai
Информация о релизе:
Changed behaviour of the Highest/Lowest change detection to recognize if the next high is higher than the high before and if the next low is lower than the low before to fix a bug.

Added two modes: "Pivot Point" and "Highest/Lowest".
The "Pivot Point" mode shows less distance measurements than the "Highest/Lowest" mode, because it only detects the top of the highest line movement and the bottom of the lowest line movement.

To update the description:
This is the calculation of the distance:
(highest close - lowest close) / close * 100
Информация о релизе:
Fixed bar_index bug

Скрипт с открытым кодом

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

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

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

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