carlpwilliams2

'last red low / last green high' exit

carlpwilliams2 업데이트됨   
This is a good alternative to pivot points and ma lines to find long and short exit points (stop loss prices) for a trade.
When you hear traders say "set the stop loss to the recent swing", this indicator seems to do a reasonable job of finding those.

This script marks
  • the low of the most recent red candle
  • the high of the most recent green candle
in order to help identify a reasonable stop loss exit point for long and short trades.

You can also specify a distance threshold to the stop loss point.

How to use it.
  • Decide how far from the current price the exit should be (default 1.5%)
  • Use your chosen trading strategy to identify a long or short entry position
  • Add a long/short drawing to the close of the trade candle
  • Set the stop loos of your drawing to the exit line of this indicator
  • Set the take profit of your drawing using the desired risk to reward ratio

Note: A good rule is that if this indicator does not show a valid exit line, do not enter the trade.
Note: If the change of a new "last Green High" or the "last Red Low" is below 0.5%, the indicator will keep the previous values
릴리즈 노트:
Fixed an issue where the distance to exit % was not using the input.
Changed the default to 0.5
릴리즈 노트:
Changed line type
removed stuff from the cart.
릴리즈 노트:
Fix error converting the change required to switch to a new recent low/high
Also added input for that threshold
릴리즈 노트:
Removed a debug plot because I'm an idiot
릴리즈 노트:
Added the ability to show or hide long or short lines.
릴리즈 노트:
Removed an unreasonable offset
릴리즈 노트:
added a change filter for the plot to make the chart clearer
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?