• ผลิตภัณฑ์
  • ชุมชน
  • ตลาด
  • โบรกเกอร์
  • เพิ่มเติม
เริ่มกันเลย
  • ชุมชน
  • /อินดิเคเตอร์และกลยุทธ์
  • /Template

Template

Default Strategy Inputs (Forex / Crypto)The code in this post contains a set of default strategy inputs I use in new projects / backtests in Tradingview. Full code commentary is available on the Backtest-Rookies website. To comply with house rules, I cannot post the direct link here. Features Trade Direction: So that you can limit the strategy for long only, short only or trade in both directions. It is important to note that when you select “Long Only”, you will still see Short signals on the chart. However, they are only used to close a position rather than reverse it. This is the default behaviour for strategies. The same applies to “Short Only”. Date Ranges: So that you can isolate backtesting to specific periods of interest such as bull or bear markets. Sessions: So you can easily get an idea of the expected results during your own session. You may also notice that performance of the strategy varies depending on which session it is deployed in. Some example stop losses: It is not an exhaustive list but it should be enough to provide some inspiration for different types of stops that you can experiment with. Happy Scripting. I hope the community finds it useful.
กลยุทธ์ Pine Script®
โดย BacktestRookies
1122
…999999

เลือกข้อมูลตลาดที่ให้บริการโดย ICE Data Services. เลือกข้อมูลอ้างอิงที่ให้บริการโดย FactSet. Copyright © 2025 FactSet Research Systems Inc.Copyright © 2025, American Bankers Association. CUSIP Database ให้บริการโดย FactSet Research Systems Inc. All rights reserved. SEC Fillings และเอกสารอื่นๆ ให้บริการโดย Quartr© 2025 TradingView, Inc.

มากกว่าแค่ผลิตภัณฑ์
  • ซูเปอร์ชาร์ต
ตัวช่วยคัดกรอง
  • หุ้น
  • ETF
  • พันธบัตร
  • เหรียญคริปโต
  • คู่ CEX
  • คู่ DEX
  • Pine
ฮีทแมพ
  • หุ้น
  • ETF
  • คริปโต
ปฏิทิน
  • ทางเศรษฐกิจ
  • ผลประกอบการ
  • เงินปันผล
ผลิตภัณฑ์เพิ่มเติม
  • เส้นแสดงอัตราผลตอบแทน
  • Options
  • กระแสข่าว
  • Pine Script®
แอป
  • แอปมือถือ
  • เดสก์ท็อป
ชุมชน
  • เครือข่ายทางสังคม
  • กำแพงแห่งรัก
  • แนะนำเพื่อน
  • กฎระเบียบการใช้งาน
  • ผู้ดูแลการใช้งาน
ไอเดีย
  • การซื้อขาย
  • การศึกษา
  • คัดสรรโดยบรรณาธิการ
Pine Script
  • อินดิเคเตอร์ & กลยุทธ์
  • Wizard
  • ฟรีแลนซ์
เครื่องมือ & การสมัครสมาชิก
  • ฟีเจอร์
  • อัตราค่าบริการ
  • ข้อมูลตลาด
การซื้อขาย
  • ภาพรวม
  • โบรกเกอร์
ข้อเสนอพิเศษ
  • ฟิวเจอร์ส CME Group
  • ฟิวเจอร์ส Eurex
  • ชุดหุ้นสหรัฐฯ
เกี่ยวกับบริษัท
  • พวกเราคือใคร
  • ภารกิจสำรวจอวกาศ
  • บล็อก
  • อาชีพ
  • เครื่องมือสำหรับสื่อ
สินค้า
  • ร้านค้า TradingView
  • ไพ่ทาโรต์สำหรับเทรดเดอร์
  • The C63 TradeTime
นโยบาย & ความปลอดภัย
  • ข้อกำหนดการใช้งาน
  • คำจำกัดสิทธิ์ความรับผิดชอบ
  • นโยบายความเป็นส่วนตัว
  • นโยบายการใช้คุกกี้
  • คำชี้แจงสิทธิ์การเข้าถึง
  • เคล็ดลับความปลอดภัย
  • โปรแกรม Bug Bounty
  • สถานะเพจ
โซลูชันสำหรับธุรกิจ
  • วิดเจ็ต
  • ไลบรารีชาร์ต
  • Lightweight Charts™
  • ชาร์ตขั้นสูง
  • แพลตฟอร์มการซื้อขาย
โอกาสในการเติบโต
  • การลงโฆษณา
  • การเชื่อมต่อกับโบรกเกอร์
  • โปรแกรมสำหรับพาร์ทเนอร์
  • โปรแกรมสำหรับการศึกษา
ชุมชน
  • เครือข่ายทางสังคม
  • กำแพงแห่งรัก
  • แนะนำเพื่อน
  • กฎระเบียบการใช้งาน
  • ผู้ดูแลการใช้งาน
ไอเดีย
  • การซื้อขาย
  • การศึกษา
  • คัดสรรโดยบรรณาธิการ
Pine Script
  • อินดิเคเตอร์ & กลยุทธ์
  • Wizard
  • ฟรีแลนซ์
โซลูชันสำหรับธุรกิจ
  • วิดเจ็ต
  • ไลบรารีชาร์ต
  • Lightweight Charts™
  • ชาร์ตขั้นสูง
  • แพลตฟอร์มการซื้อขาย
โอกาสในการเติบโต
  • การลงโฆษณา
  • การเชื่อมต่อกับโบรกเกอร์
  • โปรแกรมสำหรับพาร์ทเนอร์
  • โปรแกรมสำหรับการศึกษา
Look FirstLook First