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.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.