technomar

Triple Digital Power

this Pine Script that identifies a bearish candle with a body ratio of at least 55% that closes under the lowest point of a preceding bullish candle (also with a body ratio of at least 55%), you can follow the steps below. The body ratio is calculated as the absolute difference between the candle's open and close prices, divided by the range of the candle (high to low). This Pine Script will include:

- Calculating the body ratio for each candle.
- Identifying bullish and bearish candles based on the body ratio.
- Checking if the closing price of a bearish candle is lower than the lowest price of the preceding bullish candle with the required body ratio.


This script identifies the bearish candle that meets the criteria and marks it with a red triangle below the bar. It also optionally marks the qualifying bullish candles with a green triangle above the bar. This can help in visual analysis of the price chart to understand the pattern's occurrence within the given market conditions.

Please note, the efficiency and accuracy of this script are dependent on the characteristics of the market and the specific timeframe you are analyzing. It's always a good idea to backtest any trading strategy or script in a controlled environment to understand its potential performance.
Скрипт с открытым кодом

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

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

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

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