OPEN-SOURCE SCRIPT

Min/Max of Last 4(N) Candles

Track previous 4 candles high and low. Green line is the previous 4 candle's highest high, and Red line is the the previous 4 candle's lowest low.


If the current candle break the Green line, and close as a bullish candle, the green line will stop painting, and a red line will appear, you can try to go long and stop loss will be the red line.


If the current candle break the red line and close as a bearish candle, the red line will stop paining, and a green line will appear, you can try to go short and stop loss will be the green line.


However you should not just automatically place the buy or sell stop order at the line, because unless the trend is super strong, there could some level of consolidation and fake out.

You should use this indicator after assess ing the market condition, and your trading size and product.

If the trend is super strong, you will likely catch a really big move without hitting stop loss and with minimal drawdown.
Bands and ChannelsCandlestick analysisTrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?

Exención de responsabilidad