OPEN-SOURCE SCRIPT

Bullish and Bearish Triangle Patterns

От sandeepg0007
Bullish Triangle Detection:

A bullish triangle is identified when the highs are flat or increasing and the lows are rising, signaling an upward trend. The script uses ta.crossover for rising lows.
If a bullish triangle is detected, a green triangle (▲) is plotted above the price.
Bearish Triangle Detection:

A bearish triangle is identified when the highs are falling and the lows are falling as well, signaling a downward trend. The script uses ta.crossunder for falling highs.
If a bearish triangle is detected, a red triangle (▼) is plotted below the price.
Plotting Both Patterns:

The script displays green upward-facing triangles for bullish patterns and red downward-facing triangles for bearish patterns on the chart.
Alerts:

Alerts can be triggered for both bullish and bearish triangle patterns so that you can be notified when they occur.
Candlestick analysis

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

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

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

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