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 ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?