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.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?