allanster

Growing or Waning Patterns [Alerts]

allanster Wizard Обновлено   
Example how to color patterns of 3 bodies growing or waning by percentage with or without trend. Also included option for alert triggers. The yellow triangles on the chart denote where the alert triggers will fire.

• Choose Pattern Of Filter: shows bodies growing or waning or both.

• Sample Lengths Of AvgBar: number of recent bars to use for average size.

• BigBar Is Min% Of AvgBar: the minimum percent of average the big bar must be.

• MedBar Is Max% Of BigBar: the maximum percent of big bar the medium bar can be.

• SmlBar Is Max% Of MedBar: the maximum percent of medium bar the small bar can be.

• Repeat Pattern If n Bars: the number of bars to ignore repeat patterns, 1 allows all.

• Trending: on requires the growing or waning patterns to also be trending.

• GrayBars: colors non pattern bodies gray.


NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Информация о релизе:
Revision 1

Added directional plotshapes and alerts relative to trend, there is no predictive inference implied by these and they are solely for visual conveyance of information. Updated for Pine Script v5.

Telegram: t.me/allanster • Website: www.allanster.com

If you wish to buy me a refreshing beverage :)...

LTC (preferred): LTDaAe7nPzbpBhZVT9o5f9f8M3aZSPa46Y

BTC: 13LhkeXBYrRomVAqbXcoLXHuqMk6Mf7G6N
Скрипт с открытым кодом

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

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

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

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