OPEN-SOURCE SCRIPT
Entry Calculator - Fixed Risk Reward Ratio

TradingView's built-in Long/Short position tool is already quite good, but there's one requirement it can't fulfill for me. When I've already determined the range of a swing trade but need to calculate the appropriate entry point based on a fixed risk-reward ratio, I can't use the built-in Long/Short tool to "lock" the risk-reward ratio (for example, if I specifically want to see where the 2R position is). This tool can help you accomplish exactly that.
Tradingview原本自带的Long/Short工具已经足够好,但是对于我来说有一个没有办法满足的需求,就是当我已经确定波段的区间,但是需要通过固定盈亏比来计算合适的入场点时,我没有办法用自带的Long/Short工具来“固定”住盈亏比(比如我就是要看2R的位置在哪里),那么这个工具就可以帮你完成这样的事情。
You simply need to input the TP and SL positions, and it will calculate the entry point location based on your desired risk-reward ratio, and it also comes with a built-in risk calculation tool. Since I frequently trade cryptocurrency perpetual contracts, I don't really care about how many contracts I need to open - I just need to calculate the total position size denominated in USDT, which is something the original Long/Short tool cannot do.
你只需要输入TP和SL位置,就可以根据你想要的 盈亏比计算入场点位置,并且还自带Risk计算的工具。由于我经常是在使用加密货币的永续合约,所以我其实不太在意我要开多少份合约,我只要计算总共的USDT计价的仓位就可以,这个也是原本的Long/Short工具做不到的。
Tradingview原本自带的Long/Short工具已经足够好,但是对于我来说有一个没有办法满足的需求,就是当我已经确定波段的区间,但是需要通过固定盈亏比来计算合适的入场点时,我没有办法用自带的Long/Short工具来“固定”住盈亏比(比如我就是要看2R的位置在哪里),那么这个工具就可以帮你完成这样的事情。
You simply need to input the TP and SL positions, and it will calculate the entry point location based on your desired risk-reward ratio, and it also comes with a built-in risk calculation tool. Since I frequently trade cryptocurrency perpetual contracts, I don't really care about how many contracts I need to open - I just need to calculate the total position size denominated in USDT, which is something the original Long/Short tool cannot do.
你只需要输入TP和SL位置,就可以根据你想要的 盈亏比计算入场点位置,并且还自带Risk计算的工具。由于我经常是在使用加密货币的永续合约,所以我其实不太在意我要开多少份合约,我只要计算总共的USDT计价的仓位就可以,这个也是原本的Long/Short工具做不到的。
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน