OPEN-SOURCE SCRIPT
ที่อัปเดต: JFC 21:52

JFC 21:52 — Brief Description
Concept: Pure time/price rule, no indicators.
Reference: Close at 21:20 (chart/exchange timezone).
Entry (21:52):
– LONG if price is below the 21:20 close.
– SHORT if price is above the 21:20 close.
– Equal → no trade.
Exit: Force close at 22:13.
Frequency: Max one trade per day.
Note: Use 1-minute resolution and the correct chart timezone; market must be trading at those times.
Concept: Pure time/price rule, no indicators.
Reference: Close at 21:20 (chart/exchange timezone).
Entry (21:52):
– LONG if price is below the 21:20 close.
– SHORT if price is above the 21:20 close.
– Equal → no trade.
Exit: Force close at 22:13.
Frequency: Max one trade per day.
Note: Use 1-minute resolution and the correct chart timezone; market must be trading at those times.
เอกสารเผยแพร่
JFC 21:52 — Brief DescriptionConcept: Pure time/price rule, no indicators.
Reference: Close at 21:20 (chart/exchange timezone).
Entry (21:52):
– LONG if price is below the 21:20 close.
– SHORT if price is above the 21:20 close.
– Equal → no trade.
Exit: Force close at 22:13.
Frequency: Max one trade per day.
Note: Use 1-minute resolution and the correct chart timezone; market must be trading at those times.
เอกสารเผยแพร่
JFC 21:52 — Brief DescriptionConcept: Pure time/price rule, no indicators.
Reference: Close at 21:20 (chart/exchange timezone).
Entry (21:52):
– LONG if price is below the 21:20 close.
– SHORT if price is above the 21:20 close.
– Equal → no trade.
Exit: Force close at 22:13.
Frequency: Max one trade per day.
Note: Use 1-minute resolution and the correct chart timezone; market must be trading at those times.
เอกสารเผยแพร่
JFC 21:52 — Strategy OverviewCore idea: Pure time/price rule. No pattern hunting.
Reference (Ref) price: Close at 22:30 (chart timezone).
Distance gate: At entry, the absolute distance between current price and Ref must be ≥ minDistPts (price points).
Entry (22:52)
If price below Ref → Long (only if distance gate passes).
If price above Ref → Short (only if distance gate passes).
Optional filter: Shorts only if price < EMA(emaLen) when useShortEMA is enabled. Longs are unaffected.
Risk model
slPts = your 1R (fixed stop size in price points).
Hard TP: Trade closes immediately when price reaches entry ± slPts * wr (no limit order needed; it force-closes on touch).
Stop: Before the BE trigger time → stop at entry ± slPts (1R).
After the BE trigger time (useBE2R, beHour:beMin) → stop jumps to Break-Even.
Time-based exit
Forced flat at 23:13 (chart timezone), regardless of anything else.
Inputs you can tune
minDistPts – minimum distance between Ref (22:30) and entry price.
slPts – stop size in points (defines 1R).
wr – R-multiple for the profit close (e.g., 1.8R).
useBE2R, beHour, beMin – enable & set the BE trigger time.
useShortEMA, emaLen – optional Short-only-below-EMA filter.
Notes
Times use the chart’s timezone; a 1-minute chart is safest to hit 22:30/22:52/23:13 exactly.
In backtests, enable Bar Magnifier + Recalculate on every tick if you want intrabar “on-touch” behavior to be reflected accurately.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน