OPEN-SOURCE SCRIPT
CM RSI

Description
This indicator plots ladder-style buy signals based on RSI oversold “cycles.”
BUY1 triggers after RSI closes ≤ Oversold for at least two consecutive candles.
Additional buys (BUY2, BUY3, …) can only occur after RSI re-arms by closing back above the oversold level, then returning oversold for two+ closes, and price is at least X% below the last entry price.
The “last entry” reference updates after every buy, allowing unlimited rebuys with a dynamic step-down.
Notes
Signals are generated on closed bars only (non-repainting behavior).
You can optionally set a Start Time to ignore earlier history and avoid off-screen state.
Choose whether the % drop check uses Close or Low depending on how strict you want confirmation.
Inputs
RSI length/source, oversold level, rebuy drop %, price check source, entry storage source, start time/baseline options, and display controls.
This indicator plots ladder-style buy signals based on RSI oversold “cycles.”
BUY1 triggers after RSI closes ≤ Oversold for at least two consecutive candles.
Additional buys (BUY2, BUY3, …) can only occur after RSI re-arms by closing back above the oversold level, then returning oversold for two+ closes, and price is at least X% below the last entry price.
The “last entry” reference updates after every buy, allowing unlimited rebuys with a dynamic step-down.
Notes
Signals are generated on closed bars only (non-repainting behavior).
You can optionally set a Start Time to ignore earlier history and avoid off-screen state.
Choose whether the % drop check uses Close or Low depending on how strict you want confirmation.
Inputs
RSI length/source, oversold level, rebuy drop %, price check source, entry storage source, start time/baseline options, and display controls.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน