The original script was posted on ProRealCode by user Nicolas.
This indicator is an attempt of scalping strategy by crossing the mean high or low weigthed price over a short "n" period. This 2 lines represent the black "trench" on screenshots attached.
When signal line (blue one) crossing the buy trigger one (dotted green one) a buy signal should occur and vice-versa for a sell signal (when crossing the dotted red one). I add an option to draw the white signal line as the close price value of the high/low ones if they are respectively above or below the trench' buy or sell lines trigger.
The yellow green and red brick lines serve as stoploss.
The indicator can be use alone with no price chart as its values are derivated from it, of course if you dont mind about candlesticks informations.
I think enter/exit trades should occur very quickly, as it were designed for scalping trading purpose. I didn't have much time to test it for a long period, so here it is as a concept indicator, despite that, it does have sense.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.