กำหนดเวลาการดำเนินงาน cBot¶
คู่มือนี้แสดงวิธีใช้เอเจนต์ AI เพื่อเริ่มต้นและหยุด cBot ในเวลาที่กำหนด รอบเซสชันตลาด หรือตามเงื่อนไข — เปลี่ยนเอเจนต์ของคุณให้เป็นตัวกำหนดเวลาอัตโนมัติสำหรับอัลกอริทึมการเทรดของคุณ
หมายเหตุ
การกำหนดเวลาขึ้นอยู่กับการที่ไคลเอนต์ AI ยังคงทำงานอยู่ตลอดระยะเวลา หากคุณปิดไคลเอนต์ AI หรือตัดการเชื่อมต่อ การดำเนินงานที่กำหนดเวลาไว้จะไม่ถูกดำเนินการ สำหรับการกำหนดเวลาแบบเปิดตลอดเวลา ให้พิจารณารันเอเจนต์ AI ของคุณในสภาพแวดล้อมที่ทำงานอย่างต่อเนื่อง
เริ่มต้นและหยุดในเวลาที่กำหนด ¶
เวลาตามนาฬิกาที่กำหนด ¶
Start C:\test\day-trader.algo on account 1234567, EURUSD M15 at
9:00 AM and stop it at 4:00 PM.
เอเจนต์จะรอจนถึงเวลาที่กำหนด เริ่มต้น cBot จากนั้นหยุดเมื่อสิ้นสุดช่วงเวลา
Start my scalper bot on GBPUSD M5 at 8:30 AM London time and keep
it running until 5:00 PM.
รอบเซสชันตลาด ¶
คุณสามารถอ้างอิงเซสชันตลาดตามชื่อแทนการจำเวลาที่แน่นอน
Start C:\test\london-session.algo on account 1234567, EURUSD M15
35 minutes after the London market opens and stop it 1 hour before
the London market closes.
Run my cBot during the New York session only, every trading
day.
เอเจนต์จะแปลชื่อเซสชันเป็นเวลาตามนาฬิกาและกำหนดเวลาเริ่มต้นและหยุดตามนั้น
กำหนดเวลาสำหรับวันที่กำหนด ¶
Run C:\test\news-trader.algo on EURUSD M5 on Tuesday and Thursday
only, from 1:00 PM to 3:00 PM.
Start the cBot on Monday morning at 8:00 AM and stop it on Friday
at 4:00 PM. Let it run continuously in between.
เริ่มต้นและหยุดตามเงื่อนไข ¶
หยุดตามผลการดำเนินงาน ¶
Start C:\test\scalper.algo on account 1234567, EURUSD M15. If the
total loss exceeds $500, stop the bot immediately and notify me.
Run the cBot and monitor it. If it makes 3 consecutive losing
trades, stop it and tell me what happened.
เริ่มต้นตามเงื่อนไข ¶
Monitor EURUSD. When volatility picks up — say, the range of the
last 4 hourly candles exceeds 80 pips — start
C:\test\breakout-bot.algo on account 1234567, EURUSD H1.
รวมกฎเวลาและเงื่อนไข ¶
Start the cBot at 9:00 AM on EURUSD M15. If it has not made any
profit by 12:00 PM, stop it. Otherwise, let it run until 4:00 PM.
Run the cBot during the London session. If it hits a drawdown of
more than 3%, stop it immediately regardless of the time.
เชื่อมโยงบอทหลายตัว ¶
Start C:\test\asian-session.algo on USDJPY at 12:00 AM and stop it
at 8:00 AM. Then start C:\test\london-session.algo on EURUSD at
8:30 AM and stop it at 4:30 PM.
เอเจนต์จะรัน cBot ตัวแรกสำหรับเซสชันเอเชีย ปิดมัน จากนั้นเริ่มต้น cBot ตัวที่สองสำหรับเซสชันลอนดอน — ส่งต่อระหว่างกลยุทธ์โดยอัตโนมัติ
ตรวจสอบตารางเวลา ¶
Show me all the cBot operations you have scheduled and their
current status.
Cancel the 4:00 PM stop I scheduled earlier. Let the bot keep running until I say otherwise.