CLP CloseIfProfitorLoss. การควบคุมกำไรรวมหรือขาดทุนรวมพร้อมฟังก์ชัน Trailing Profit.

SafetyLOCK PRO ปกป้องตำแหน่งของคุณด้วยการล็อกโดยเปิดคำสั่งรอดำเนินการฝั่งตรงข้าม ล็อกเฮดจ์ (Hedge)
EAPADPRO LIBRARY – เพิ่มแผงของเราไปยังที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor – EA) ของคุณ
SafetyLOCK PRO ปกป้องตำแหน่งของคุณด้วยการล็อกโดยเปิดคำสั่งรอดำเนินการฝั่งตรงข้าม ล็อกเฮดจ์ (Hedge)
EAPADPRO LIBRARY – เพิ่มแผงของเราไปยังที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor – EA) ของคุณ

CLP CloseIfProfitorLoss. การควบคุมกำไรรวมหรือขาดทุนรวมพร้อมฟังก์ชัน Trailing Profit. Video Thumbnail

  • หน้าหลัก
  • เอกสารประกอบ
  • การตั้งค่า
  • คำถามที่พบบ่อย
  • ประวัติการเปลี่ยนแปลง
  • รีวิว
  • ความคิดเห็น
  • Extra

เกี่ยวกับ CLP CloseIfProfitorLoss

ที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor) (EA) นี้นำเสนอคุณสมบัติขั้นสูงสำหรับการจัดการและการปิดสถานะ (positions) ใน MetaTrader โดยเฉพาะเมื่อถึงระดับกำไร (profit) หรือขาดทุน (loss) รวมที่กำหนดไว้ล่วงหน้า

เมื่อเปิดใช้งานฟังก์ชันการเลื่อนระดับกำไร (trailing profit) EA จะปรับระดับหยุด (stop levels) แบบไดนามิกเพื่อรักษากำไรที่เพิ่มขึ้น

คุณสมบัติหลัก:

  • ปิดสถานะทั้งหมดเมื่อถึงกำไรหรือขาดทุนรวม
    ปิดสถานะที่เปิดอยู่ทั้งหมดโดยอัตโนมัติเมื่อถึงระดับกำไรหรือขาดทุนรวมที่กำหนด ปกป้องเงินทุน (capital) ของคุณและล็อกผลลัพธ์
  • การเลื่อนระดับกำไร
    ปรับระดับกำไรแบบไดนามิกเพื่อรักษากำไรที่เพิ่มขึ้นเมื่อตลาดเคลื่อนไหวไปในทิศทางที่คุณต้องการ EA มีคุณสมบัติการเลื่อนระดับกำไรที่ปรับระดับกำไรโดยอัตโนมัติเมื่อกำไรทั้งหมดของคุณเพิ่มขึ้น
  • การปิดตามสกุลเงินของเงินฝาก
    ตั้งค่า EA ให้ปิดสถานะเมื่อถึงระดับกำไรหรือขาดทุนที่กำหนดไว้ล่วงหน้าในสกุลเงินของเงินฝาก (deposit currency) เพื่อให้มั่นใจในการควบคุมที่แม่นยำ
  • การปิดตามเปอร์เซ็นต์ของยอดคงเหลือในบัญชี
    ปิดสถานะโดยอัตโนมัติเมื่อถึงเปอร์เซ็นต์ของยอดคงเหลือในบัญชี (percentage of the account balance) ที่กำหนด ไม่ว่าจะเป็นกำไรหรือขาดทุน
  • การปิดตาม Pips
    กำหนดเกณฑ์เพื่อปิดสถานะตามจำนวน pips ที่ได้หรือเสียไป ช่วยให้สามารถปรับเปลี่ยนกลยุทธ์การซื้อขายของคุณได้อย่างเหมาะสม
  • ตัวกรองการจัดการสถานะ
    • ทุกสัญลักษณ์หรือสัญลักษณ์ปัจจุบัน: จัดการคู่สกุลเงินทั้งหมดหรือจำกัดการดำเนินการเฉพาะสัญลักษณ์ปัจจุบัน (current symbol) เท่านั้น
    • การจัดการแยกสำหรับทิศทาง BUY และ SELL: จัดการและปิดสถานะซื้อ (BUY) และสถานะขาย (SELL) อย่างอิสระ เพิ่มการควบคุมทิศทางการซื้อขายได้มากขึ้น
    • คำสั่งแยก (Separate Order) การหยุดขาดทุนเสมือนและการทำกำไรเสมือน: ใช้ระดับเสมือน (virtual levels) เพื่อซ่อนกลยุทธ์ของคุณจากโบรกเกอร์ (broker) พร้อมทั้งเพิ่มความแม่นยำในการซื้อขาย ซึ่งช่วยให้กลยุทธ์ของคุณถูกซ่อนไว้จากโบรกเกอร์
  • ผู้จัดการความเสี่ยง (Risk Manager) และผู้คุ้มครองอิควิตี้ (Equity Protector)
    คุณสมบัติในตัวเพื่อป้องกันการขาดทุนที่มากเกินไปและปกป้องเงินทุนของคุณในช่วงสภาวะตลาดผันผวน
  • การตั้งค่าที่ยืดหยุ่นและการปรับแต่ง
    พารามิเตอร์ที่ปรับแต่งได้อย่างเต็มที่เพื่อให้เข้ากับกลยุทธ์การซื้อขายและความชอบเฉพาะตัวของคุณ

CloseIfProfitorLoss CLP ทำงานอย่างไร?

ภาพรวม CLP CloseIfProfitorLoss

คุณสมบัติและการควบคุม CloseIfProfitorLoss

ฟังก์ชันหลักของ CLP CloseIfProfitorLoss

แท็บ CLP – ปิดตามกำไรรวมและขาดทุนรวมพร้อม Trailing Profit!!!

CLP GIF CloseIfProfitorLoss

CLP CloseIfProfitorLoss ปิดตาม Total Profit

CloseIfProfitorLoss ปิดตาม Total Loss

CloseIfProfitorLoss ปิดพร้อม Trailing Profit

CloseIfProfitorLoss ปิดทุกสัญลักษณ์

CloseIfProfitorLoss Trailing Profit

Virtual Trade Pad VirtualTradePad

CLP

CloseIfProfitorLoss Virtual StopLoss

การควบคุม CloseIfProfitorLoss

ผู้คนเ ขียนถึง CLP CloseIfProfitorLoss ว่าอย่างไรบ้าง

  • Atila R Akdeniz
    Excellent Tool, very useful to do operations on the termial. All of Vladislav's products are of excellent quality, and he provides very good support. With the current prices it's a good time to buy all his products.
    Atila R Akdeniz
    ⭐⭐⭐⭐⭐
  • Vadim V.
    Hi, I bought Profit or Loss Pad 1 month ago and run it on MT5 and it worked OK. I found the EA very helpful and bug fee in work that helps me to scalp not looking when I need to get out. EA that good tool. 5 stars to Vlad.
    Vadim V.
    ⭐⭐⭐⭐⭐
  • Agnaldo Prata
    Awsome tool, it makes risk management a lot easyer, thanks to the developer, good job.
    Agnaldo Prata
    ⭐⭐⭐⭐⭐
  • Terek
    купил сразу как нужен был equity trail, потому что все продукты от данного производителя высшего качества. будем посмотреть. функционал вроде не плохой. но сразу бросается в глаза притормаживающее отображение профита на панели, нельзя ли его ускорить как то? еще не нашел функцию отключения кнопки автоторговли после закрытия, но это не так важно. главное что бы equity trail работал.
    Terek
    ⭐⭐⭐⭐⭐
  • Gregory Knobloch
    Awesome Products from this vendor
    Gregory Knobloch
    ⭐⭐⭐⭐⭐
  • thrzk01
    It's excellent toll for multi entry trading management(brake even T/P with profit you want in Long/Short Separately).
    thrzk01
    ⭐⭐⭐⭐⭐
  • Been using this ea for a long time and works perfectly, hoping vlad can add a breakeven functions to this ea to make a even more solid ea for everyone. Thanks and lookng forward to your next update. Thank you AA+++
    Fxpro Trader Technical
    ⭐⭐⭐⭐⭐
  • Max
    Amazing product, works very well and neat, what I was looking for and also have other his other products like full trade pad, good producer, many detailed functions buttons on chart and also in settings!
    Max
    ⭐⭐⭐⭐⭐
  • Stan Baftalovskiy
    Отличный продукт, мне понравился!
    Stan Baftalovskiy
    ⭐⭐⭐⭐⭐
  • emat
    Very good product.
    emat
    ⭐⭐⭐⭐⭐
  • rvstrade
    exactly what I needed. great tool. recommended. A+ product and seller.
    rvstrade
    ⭐⭐⭐⭐⭐

คุณสามารถดาวน์โหลด CLP CloseIfProfitorLoss ได้ฟรี

เริ่มต้นฟรี!

คุณสามารถดาวน์โหลดและติดตั้งโปรแกรมของเราได้ฟรี!

และคุณสามารถทดสอบบนบัญชีทดลอง (Demo account) ของคุณได้โดยไม่จำกัดเวลา!
และคุณยังสามารถทดสอบโปรแกรมของเราได้ฟรีบนบัญชีจริง (Real account) โดยใช้สัญลักษณ์ USDJPY!

คุณสามารถซื้อ CLP CloseIfProfitorLoss เวอร์ชันเต็มได้

clp

MetaTrader

ระยะเวลาใช้งาน

บัญชีเทรด

คอมพิวเตอร์ / การเปิดใช้งาน

ฟังก์ชัน

การสนับสนุน

เวอร์ชัน MT4 เต็ม


สำหรับ MetaTrader 4

40 $

MT 4

ตลอดชีพ

ไม่จำกัด

10

เต็มรูปแบบ

24/7

เวอร์ชัน MT5 เต็ม


สำหรับ MetaTrader 5

40 $

MT 5

ตลอดชีพ

ไม่จำกัด

10

เต็มรูปแบบ

24/7

เช่าเป็นเวลา 3 เดือน


สำหรับ MetaTrader 4

30 $

MT 4

3 เดือน

ไม่จำกัด

10

เต็มรูปแบบ

24/7

เช่าเป็นเวลา 3 เดือน


สำหรับ MetaTrader 5

30 $

MT 5

3 เดือน

ไม่จำกัด

10

เต็มรูปแบบ

24/7


ก่อนทำการสั่งซื้อ เราขอแนะนำอย่างยิ่งให้ตรวจสอบคำแนะนำและส่วนคำถามที่พบบ่อย (FAQ) ของเราเพื่อให้แน่ใจว่าจะได้รับประสบการณ์ที่ราบรื่น

ลิงก์

ลิงก์ที่เป็นประโยชน์


วิธีการซื้อ วิธีการติดตั้ง ตัวทดสอบกลยุทธ์ VPS MetaQuotes ไฟล์ล็อก MT4 ไฟล์ล็อก MT5

สารบัญ (คลิกเพื่อแสดง)

List

คำอธิบาย

การปิดสถานะ (Position) ใน MetaTrader 4/5 สำหรับ กำไร (Profit)/ขาดทุน (Loss) ทั้งหมด พร้อมการติดตามกำไร (Profit Trailing)

คุณสมบัติและการควบคุมของ CLP CloseIfProfitorLoss
คุณสมบัติและการควบคุม

แผงควบคุมที่สะดวกสำหรับการจัดการโปรแกรมเทรดอัตโนมัติ (Expert Advisor)

โปรแกรมเทรดอัตโนมัติ (EA) นี้มาพร้อมกับแผงควบคุมที่สะดวกอย่างยิ่งซึ่งช่วยให้การจัดการการซื้อขายและสถานะง่ายขึ้น มีคุณสมบัติขั้นสูงหลายประการเพื่อให้แน่ใจว่ามีการควบคุมกลยุทธ์การซื้อขายของคุณอย่างเหมาะสมที่สุด

คุณสมบัติหลัก:

นอกเหนือจากการปิดสถานะที่ระดับกำไรที่กำหนดไว้ EA ยังสามารถใช้ฟังก์ชันการติดตามผลกำไร (Trailing Function) ซึ่งช่วยให้ได้กำไรมากยิ่งขึ้นโดยการปรับระดับหยุดขาดทุน (Stop-Loss Levels) เมื่อตลาดเคลื่อนไหวไปในทิศทางที่คุณต้องการอย่างต่อเนื่อง

ปิดสถานะทั้งหมดที่กำไรหรือขาดทุนรวม
ปิดสถานะที่เปิดอยู่ทั้งหมดโดยอัตโนมัติเมื่อถึงระดับกำไรหรือขาดทุนรวมที่กำหนด ซึ่งจะช่วยปกป้องเงินทุนของคุณและล็อคผลลัพธ์

การจัดการคำสั่งซื้อขายแยกกัน (Separate Order):

คุณสามารถเปิดใช้งานคุณสมบัติ การจัดการคำสั่งซื้อขายแยกกัน เพื่อจัดการและปิดสถานะโดยอิสระตามพารามิเตอร์เฉพาะ เช่น หยุดขาดทุน (Stop-Loss) และ ทำกำไร (Take-Profit)

การคำนวณแยกสำหรับสถานะ BUY และ SELL (Separate BUY SELL):

ด้วยตัวเลือก การคำนวณแยกสำหรับ BUY และ SELL EA จะคำนวณและปิดสถานะ BUY และ SELL แยกกัน ทำให้สามารถควบคุมแต่ละด้านของตลาดได้อย่างแม่นยำ

ทุกสัญลักษณ์หรือสัญลักษณ์ปัจจุบัน:

คุณสามารถเลือกใช้การคำนวณและฟังก์ชันการปิดของ EA กับ ทุกสัญลักษณ์ (All Symbols) ในเทอร์มินัล หรือจำกัดเฉพาะ สัญลักษณ์ปัจจุบัน (Current Symbol) เท่านั้น ซึ่งให้ความยืดหยุ่นในคู่สกุลเงินซื้อขายต่างๆ

การติดตามกำไร:

EA มีฟังก์ชัน การติดตามกำไร ที่ปรับ ระดับหยุด (Stop Levels) แบบไดนามิกเมื่อกำไรเพิ่มขึ้น ช่วยให้คุณสามารถล็อคผลกำไรได้มากขึ้นจากการเคลื่อนไหวของตลาดที่เป็นใจ

การปิดตามเกณฑ์ต่างๆ:

EA สามารถปิดสถานะตามพารามิเตอร์ต่างๆ:

  • สกุลเงินของบัญชี (Deposit Currency): ปิดการซื้อขายเมื่อถึงกำไรหรือขาดทุนที่กำหนดในสกุลเงินหลักของบัญชี
  • จุด (Points/Pips): ปิดการซื้อขายเมื่อได้หรือเสียจุด (Points) หรือ pips (Pips) ตามจำนวนที่กำหนด
  • เปอร์เซ็นต์ (Percentage): คุณสามารถตั้งค่าให้ EA ปิดการซื้อขายเมื่อเปอร์เซ็นต์ของยอดเงินในบัญชี (Account Balance) ที่กำหนดบรรลุผล ไม่ว่าจะเป็นกำไรหรือขาดทุน

การลดลงของเงินทุน (Drawdown): ปิดการซื้อขายโดยอัตโนมัติเมื่อบัญชีประสบกับระดับการลดลงของเงินทุนที่ระบุเพื่อจัดการความเสี่ยง

ตั้งค่าการขาดทุนและกำไรรวม:

คุณสามารถกำหนดค่า EA ให้ปิดสถานะโดยอัตโนมัติเมื่อขาดทุนหรือกำไรรวมถึงค่าที่ตั้งไว้ล่วงหน้า:

การขาดทุนรวม: EA จะปิดสถานะทั้งหมดเมื่อขาดทุนรวมเกินจำนวนที่ระบุในหน่วยดอลลาร์, จุด (pips), หรือเป็นเปอร์เซ็นต์ของยอดเงินในบัญชี

กำไรรวม: EA จะปิดสถานะเมื่อกำไรรวมถึงระดับที่ตั้งไว้ โดยอิงตามเกณฑ์ที่คล้ายกัน (ดอลลาร์, จุด, หรือ เปอร์เซ็นต์)

การใช้งานสากล:

โปรแกรมเทรดอัตโนมัตินี้สามารถใช้ได้กับทุกบัญชี และเข้ากันได้กับโปรแกรมเทรดอัตโนมัติอื่น ๆ หรือการซื้อขายด้วยตนเอง (Manual Trading) มันทำงานโดยการตรวจสอบยอดดุลรวมของรายการซื้อขาย (Deals) (สถานะ) สำหรับคู่สกุลเงินเฉพาะหรือทุกคู่สกุลเงิน

เมื่อยอดดุลรวมถึงค่าที่ระบุในการตั้งค่า EA จะปิดรายการซื้อขาย (สถานะ) ทั้งหมด และลบคำสั่งซื้อขายที่รอดำเนินการ (Pending Orders) ใด ๆ

การติดตามกำไรเพื่อผลกำไรที่มากขึ้น:

EA นี้ เป็นแท็บจาก VIRTUALTRADEPAD

แผงควบคุมจะปิดตามกำไร หรือ ขาดทุน ทั่วไปในหน่วยดอลลาร์, pips, และ % ของยอดคงเหลือ (Balance)

แผงควบคุมนี้สามารถใช้เป็นการหยุดขาดทุนเสมือน (Virtual Stop Loss) หรือ การทำกำไรเสมือน (Virtual Take Profit) ได้

นอกจากนี้ยังมี ปุ่มฉุกเฉิน – ปิดทั้งหมด (คุณสามารถเปิดใช้งานปุ่มนี้ได้ในการตั้งค่าอินพุต)

เพิ่มความสามารถในการติดตามกำไรแล้ว

หากคุณเห็นไฟแสดงสถานะสีแดง แสดงว่าฟังก์ชันนั้นปิดอยู่และไม่ทำงาน

หากคุณเห็นไฟแสดงสถานะสีเขียว แสดงว่าฟังก์ชันนั้นเปิดอยู่และทำงานอยู่

ไฟแสดงสถานะการติดตามกำไร

การควบคุม:

  1. All Symbols – ใช้การปิดกับทุกสัญลักษณ์
    • ยูทิลิตี้จะตรวจสอบและปิดสัญลักษณ์การซื้อขาย (คู่สกุลเงิน (Currency Pairs)) ทั้งหมดที่เปิดอยู่ในเทอร์มินัล
    • การปิดทุกสัญลักษณ์ที่เปิดในเทอร์มินัล MetaTrader
  2. XXXXXX เท่านั้น – ใช้การปิดเฉพาะกับคู่สกุลเงินปัจจุบันที่ติดตั้งโปรแกรมเทรดอัตโนมัติไว้
    • ยูทิลิตี้จะตรวจสอบและปิดเฉพาะสถานะที่เปิดบนคู่สกุลเงินปัจจุบัน โดยใช้สัญลักษณ์การซื้อขายที่ติดตั้งยูทิลิตี้ของเราไว้
    • การปิดเฉพาะสัญลักษณ์ EURUSD ใน MetaTrader
  3. Separate BuySell – ใช้การปิดแยกสำหรับสถานะ BUY ทั้งหมดและสถานะ SELL ทั้งหมดแยกกันสำหรับแต่ละทิศทาง
    • ซึ่งหมายความว่ายูทิลิตี้ของเราจะตรวจสอบและปิดชุดของสถานะ BUY และชุดของสถานะ SELL
    • กำไร/ขาดทุนรวมของสถานะ BUY ทั้งหมด และ กำไร/ขาดทุนรวมของสถานะ SELL ทั้งหมด
    • หากคุณปิดคุณสมบัตินี้ ยูทิลิตี้ของเราจะตรวจสอบและปิดสถานะ BUY และ SELL ทั้งหมดพร้อมกันเฉพาะเมื่อถึงกำไรหรือขาดทุนรวมเท่านั้น
    • การปิดสถานะ BUY และ SELL แยกจากกันใน MetaTrader
  4. Separate DEALs – ใช้การปิดแยกสำหรับแต่ละรายการซื้อขาย/สถานะแยกกัน
    • ยูทิลิตี้จะตรวจสอบและปิดแต่ละสถานะแยกกัน
    • แต่ละสถานะจะถูกปิดที่กำไรหรือขาดทุนที่ตั้งไว้แยกกัน
    • แต่ละสถานะจะถูกประมวลผลแยกจากกัน
    • การปิดแต่ละรายการซื้อขายแยกกันใน MetaTrader
  5. Profit $ – เปิด/ปิดการปิดที่กำไรรวมเป็นดอลลาร์หรือสกุลเงินของบัญชี
  6. Profit p – เปิด/ปิดการปิดที่กำไรรวมเป็นจุด
  7. Profit % – เปิด/ปิดการปิดที่กำไรรวมเป็นเปอร์เซ็นต์ของยอดคงเหลือปัจจุบัน
  8. Trail $ – ระยะห่างจาก Profit $ ซึ่งเป็นจุดเริ่มต้นของการติดตามกำไร
  9. Trail p – ระยะห่างจาก Profit p ซึ่งเป็นจุดเริ่มต้นของการติดตามกำไร
  10. Trail % – ระยะห่างจาก Profit % ซึ่งเป็นจุดเริ่มต้นของการติดตามกำไร
  11. Loss $ – เปิด/ปิดการปิดที่ขาดทุนรวมเป็นดอลลาร์หรือสกุลเงินของบัญชี
  12. Loss p – เปิด/ปิดการปิดที่ขาดทุนรวมเป็นจุด
  13. Loss % – เปิด/ปิดการปิดที่ขาดทุนรวมเป็นเปอร์เซ็นต์ของยอดคงเหลือปัจจุบัน
  14. Close if Profit or Loss ON – ฟังก์ชันการปิดที่กำไรหรือขาดทุนรวม เปิดอยู่
    • กดปุ่ม ON เพื่อเริ่มฟังก์ชัน
  15. Close if Profit or Loss OFF – ฟังก์ชันการปิดที่กำไรหรือขาดทุนรวม ปิดอยู่

ลักษณะสำคัญ

  1. แผงควบคุมทำงานบนสัญลักษณ์ที่ตั้งค่าไว้ (สัญลักษณ์ปัจจุบัน) หรือพิจารณากำไรหรือขาดทุนรวมสำหรับทุกสัญลักษณ์
  2. แผงควบคุมสามารถใช้เป็นการหยุดขาดทุนเสมือนหรือการทำกำไรเสมือนได้
    • ในการทำเช่นนี้ ให้ตั้งค่ากำไรและขาดทุน และทำเครื่องหมายที่ การจัดการคำสั่งซื้อขายแยกกัน
    • EA จะปิดสถานะแยกจากกันตามค่ากำไรและขาดทุนที่ตั้งไว้ในหน่วยจุด, ดอลลาร์, และเปอร์เซ็นต์
  3. ในแผงควบคุม คุณสามารถเลือกประเภทของการปิด: สำหรับกำไรเป็นดอลลาร์, เป็นpips, หรือ% ของยอดคงเหลือ, เช่นเดียวกับสำหรับขาดทุนเป็นดอลลาร์, เป็นpips, หรือ% ของยอดคงเหลือ
  4. นอกจากนี้ยังมีปุ่มชื่อ “CLOSE ALL” ซึ่งจะปิดสถานะของสัญลักษณ์หรือทุกสถานะ (ขึ้นอยู่กับการเลือก) ทันที
  5. บนแผงควบคุมโดยตรง จะแสดงข้อมูลเกี่ยวกับเงื่อนไขปัจจุบันของสถานะของคุณสำหรับวิธีการปิดที่เลือก
  6. กำไรสามารถตั้งค่าได้สูงกว่า 0 เท่านั้น
    • หากคุณตั้งค่าเป็น 0 – ช่องข้อมูลจะกะพริบเป็นสีแดง
    • ซึ่งหมายความว่าค่าที่ตั้งไว้มีข้อผิดพลาด และช่องข้อมูลนี้จะไม่ทำงานกับโปรแกรมเทรดอัตโนมัติ
    • หากคุณตั้งค่าด้วยเครื่องหมายลบ EA จะย้ายช่องข้อมูลไปยังค่าบวกโดยอัตโนมัติ (เช่น -100 = 100)
  7. ขาดทุนสามารถตั้งค่าได้ต่ำกว่า 0 เท่านั้น
    • หากคุณตั้งค่าเป็น 0 ช่องข้อมูลจะกะพริบเป็นสีแดง
    • ซึ่งหมายความว่าค่าที่ตั้งไว้มีข้อผิดพลาด และช่องข้อมูลนี้จะไม่ทำงานกับโปรแกรมเทรดอัตโนมัติ
    • หากคุณตั้งค่าด้วยเครื่องหมายบวก EA จะย้ายช่องข้อมูลไปยังค่าลบโดยอัตโนมัติ (เช่น 100 = -100)

เงื่อนไขการใช้งาน

  1. วางแผงควบคุมบนคู่สกุลเงินของคุณ
  2. ขึ้นอยู่กับว่าคุณต้องการปิดสถานะอย่างไร (สำหรับทุกสัญลักษณ์ หรือ สัญลักษณ์ปัจจุบัน) โปรดเลือกตัวเลือกที่เกี่ยวข้องบนแผงควบคุมเอง
  3. เพื่อให้ช่องทำเครื่องหมายสำหรับเลือกประเภทการปิดใช้งานได้ คุณต้องป้อนค่าพารามิเตอร์ที่ไม่ใช่ 0 โดยมีค่าบวกสำหรับกำไรและค่าลบสำหรับขาดทุน เช่น -100
  4. ทำเครื่องหมายในช่องของหน่วยที่คุณต้องการใช้เมื่อปิด (กำไร / ขาดทุน เป็น จุด / ดอลลาร์ / เปอร์เซ็นต์)
  5. เปิดใช้งาน ปุ่ม Close if Profit or Loss; ควรเปลี่ยนเป็นสีน้ำเงิน (เขียว)
    • ซึ่งหมายความว่า EA ทำงานอยู่
  6. ทันทีที่กำไรหรือขาดทุนของสถานะของคุณข้ามเครื่องหมายของระดับที่ตั้งไว้ รายการซื้อขายจะถูกปิด
  7. ปุ่มฉุกเฉิน CLOSE ALL ออกแบบมาเพื่อปิดทุกสถานะทันที

ปิดเมื่อกำไรรวม

Close on Total Profit Video Thumbnail

คุณสมบัติ ปิดสถานะทั้งหมดเมื่อกำไรรวม ถูกออกแบบมาเพื่อปิดสถานะการซื้อขายโดยอัตโนมัติเมื่อถึงระดับกำไรที่ระบุ ทำให้สามารถควบคุมผลลัพธ์การซื้อขายของคุณได้อย่างแม่นยำ

ฟังก์ชันนี้รองรับเกณฑ์กำไรหลายแบบ ช่วยให้ผู้ค้าสามารถกำหนดเกณฑ์ในรูปของค่า สกุลเงิน, จุด, หรือ เปอร์เซ็นต์ ของยอดคงเหลือ

  • ในการตั้งค่าฟังก์ชัน ปิดสถานะทั้งหมดเมื่อกำไรรวม ให้โหลด Expert Advisor ลงในแผนภูมิที่คุณต้องการใน MetaTrader และเปิดใช้งาน
  • กำหนดค่าพารามิเตอร์หลัก: เปิดใช้งาน Profit $Profit p, หรือ Profit %, และป้อนค่าเป้าหมายของคุณสำหรับการปิดตามกำไรรวมเป็นดอลลาร์, จุด, หรือเปอร์เซ็นต์ของยอดคงเหลือ
  • สลับ Close if Profit or Loss ON เพื่อเปิดใช้งานฟังก์ชัน
  • และเลือกว่าจะใช้กับ All Symbols หรือเฉพาะสัญลักษณ์ปัจจุบัน ([XXXXXX] Only)
  • เพื่อการควบคุมที่มากขึ้น ให้เปิดใช้งาน Separate BuySell เพื่อตรวจสอบและปิดสถานะ BUY และ SELL โดยอิสระ หรือ Separate DEALs เพื่อประมวลผลและปิดแต่ละสถานะแยกกัน
  • เมื่อตั้งค่าแล้ว ให้กดปุ่ม ON เพื่อเริ่มการตรวจสอบ และ EA จะปิดสถานะโดยอัตโนมัติเมื่อถึงเกณฑ์ที่คุณกำหนดไว้ล่วงหน้า

ตัวอย่างเช่น

สถานการณ์: ปิดสถานะเมื่อกำไรรวมถึง $50 ในทุกสัญลักษณ์

  • เปิดใช้งาน Profit $ โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 50 ในช่อง Profit $
  • ตั้งค่า All Symbols เพื่อตรวจสอบและปิดสถานะในทุกคู่สกุลเงิน
  • ตรวจสอบให้แน่ใจว่า Separate BuySell และ Separate DEALs ปิดอยู่ หากคุณต้องการการตรวจสอบรวมสำหรับทั้งสถานะ BUY และ SELL
  • ปุ่ม ON
การตั้งค่า CLP เพื่อปิดสถานะเมื่อกำไรรวมถึง $50 ในทุกสัญลักษณ์

สถานการณ์: ปิดสถานะบนสัญลักษณ์ปัจจุบันเมื่อกำไรเกิน 10 pips

  • เปิดใช้งาน Profit p โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 10 ในช่อง Profit p
  • ตั้งค่า [XXXXXX] Only เพื่อจำกัดการตรวจสอบเฉพาะสัญลักษณ์ปัจจุบัน
  • เปิดใช้งาน Separate DEALs หากคุณต้องการให้แต่ละสถานะปิดแยกกัน
  • ปุ่ม ON
การตั้งค่า CLP เพื่อปิดสถานะบนสัญลักษณ์ปัจจุบันเมื่อกำไรเกิน 10 pips

สถานการณ์: ปิดสถานะ BUY และ SELL โดยอิสระเมื่อกำไรของแต่ละรายการถึง 5% ของยอดคงเหลือ

  • เปิดใช้งาน Profit % โดยทำเครื่องหมายในช่อง
  • ป้อน 5 ในช่อง Profit %
  • เปิดใช้งาน Separate BuySell เพื่อตรวจสอบและปิดสถานะสำหรับกลุ่ม BUY และ SELL แยกกัน
  • ปุ่ม ON
การตั้งค่า CLP เพื่อปิดสถานะ BUY และ SELL แยกกันเมื่อกำไรถึง 5% ของยอดคงเหลือ

ปิดเมื่อขาดทุนรวม

Close on Total Loss Video Thumbnail

คุณสมบัติ ปิดเมื่อขาดทุนรวม ถูกออกแบบมาเพื่อปิดสถานะการซื้อขายโดยอัตโนมัติเมื่อถึง ระดับขาดทุนที่ระบุ เพื่อให้แน่ใจว่าบัญชีการซื้อขายของคุณได้รับการปกป้องจากการลดลงของเงินทุนที่มากเกินไป

ฟังก์ชันนี้รองรับเกณฑ์การขาดทุนหลายแบบ ช่วยให้ผู้ค้าสามารถกำหนดเกณฑ์ในรูปของค่า สกุลเงิน, จุด, หรือ เปอร์เซ็นต์ ของยอดคงเหลือ

  • ในการตั้งค่าฟังก์ชัน ปิดเมื่อขาดทุนรวม ให้โหลด Expert Advisor ลงในแผนภูมิที่คุณต้องการใน MetaTrader และเปิดใช้งาน
  • กำหนดค่าพารามิเตอร์หลัก: เปิดใช้งาน Loss $Loss p, หรือ Loss %, และป้อนค่าเป้าหมายของคุณสำหรับการปิดตามการขาดทุนรวมเป็นดอลลาร์, จุด, หรือเปอร์เซ็นต์ของยอดคงเหลือ
  • สลับ Close if Profit or Loss ON เพื่อเปิดใช้งานฟังก์ชัน
  • เลือกว่าจะใช้กับ All Symbols หรือเฉพาะสัญลักษณ์ปัจจุบัน ([XXXXXX] Only)
  • เพื่อการควบคุมที่มากขึ้น ให้เปิดใช้งาน Separate BuySell เพื่อตรวจสอบและปิดสถานะ BUY และ SELL โดยอิสระ หรือ Separate DEALs เพื่อประมวลผลและปิดแต่ละสถานะแยกกัน
  • เมื่อตั้งค่าแล้ว ให้กดปุ่ม ON เพื่อเริ่มการตรวจสอบ และ EA จะปิดสถานะโดยอัตโนมัติเมื่อถึงเกณฑ์การขาดทุนที่คุณกำหนดไว้ล่วงหน้า

ตัวอย่างเช่น:

สถานการณ์: ปิดสถานะเมื่อขาดทุนรวมถึง $100 ในทุกสัญลักษณ์

  • เปิดใช้งาน Loss $ โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 100 ในช่อง Loss $
  • ตั้งค่า All Symbols เพื่อตรวจสอบและปิดสถานะในทุกคู่สกุลเงิน
  • ตรวจสอบให้แน่ใจว่า Separate BuySell และ Separate DEALs ปิดอยู่ หากคุณต้องการการตรวจสอบรวมสำหรับทั้งสถานะ BUY และ SELL
  • เมื่อตั้งค่าแล้ว ให้กดปุ่ม ON เพื่อเริ่มการตรวจสอบ และ EA จะปิดสถานะโดยอัตโนมัติเมื่อถึงเกณฑ์การขาดทุนที่คุณกำหนดไว้ล่วงหน้า
การตั้งค่า CLP เพื่อปิดสถานะเมื่อขาดทุนรวมถึง $100 ในทุกสัญลักษณ์

สถานการณ์: ปิดสถานะบนสัญลักษณ์ปัจจุบันเมื่อขาดทุนเกิน 300 pips

  • เปิดใช้งาน Loss p โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 300 ในช่อง Loss p
  • ตั้งค่า [XXXXXX] Only เพื่อจำกัดการตรวจสอบเฉพาะสัญลักษณ์ปัจจุบัน
  • เปิดใช้งาน Separate DEALs หากคุณต้องการให้แต่ละสถานะปิดแยกกัน
  • เมื่อตั้งค่าแล้ว ให้กดปุ่ม ON เพื่อเริ่มการตรวจสอบ และ EA จะปิดสถานะโดยอัตโนมัติเมื่อถึงเกณฑ์การขาดทุนที่คุณกำหนดไว้ล่วงหน้า
การตั้งค่า CLP เพื่อปิดสถานะบนสัญลักษณ์ปัจจุบันเมื่อขาดทุนเกิน 300 pips

สถานการณ์: ปิดสถานะ BUY และ SELL โดยอิสระเมื่อขาดทุนของแต่ละรายการถึง 1% ของยอดคงเหลือ

  • เปิดใช้งาน Loss % โดยทำเครื่องหมายในช่อง
  • ป้อน 1 ในช่อง Loss %
  • เปิดใช้งาน Separate BuySell เพื่อตรวจสอบและปิดสถานะสำหรับกลุ่ม BUY และ SELL แยกกัน
  • เมื่อตั้งค่าแล้ว ให้กดปุ่ม ON เพื่อเริ่มการตรวจสอบ และ EA จะปิดสถานะโดยอัตโนมัติเมื่อถึงเกณฑ์การขาดทุนที่คุณกำหนดไว้ล่วงหน้า
การตั้งค่า CLP เพื่อปิดสถานะ BUY และ SELL แยกกันเมื่อขาดทุนถึง 1% ของยอดคงเหลือ

การติดตามกำไร

Close on Total Loss Video Thumbnail

คุณสมบัติ การติดตามกำไร ช่วยให้กลยุทธ์การซื้อขายของคุณปรับและรักษากำไรโดยอัตโนมัติเมื่อตลาดเคลื่อนไหวไปในทิศทางที่คุณต้องการ

แทนที่จะปิดสถานะที่ระดับกำไรคงที่ ฟังก์ชันนี้เปิดใช้งานกลไกการติดตามแบบไดนามิกที่ล็อคกำไรโดยการปรับเกณฑ์การปิดตามระยะห่างการติดตามที่ระบุ

เมื่อฟังก์ชัน การติดตามกำไร ถูกเปิดใช้งาน EA จะตรวจสอบกำไรรวมของคุณอย่างต่อเนื่อง

เมื่อกำไรถึงค่าที่กำหนดไว้ล่วงหน้า EA จะเปิดใช้งานกลไกการติดตาม โดยปรับเกณฑ์กำไรให้ตามหลังกำไรปัจจุบันตามระยะห่างที่ระบุ

สิ่งนี้ช่วยให้มั่นใจได้ว่ากำไรของคุณได้รับการปกป้องและเพิ่มสูงสุดเมื่อตลาดมีการเปลี่ยนแปลง

คุณสมบัตินี้มีความหลากหลายและทำงานได้อย่างราบรื่นกับการกำหนดค่าการปิดทุกประเภท รวมถึง ทุกสัญลักษณ์สัญลักษณ์ปัจจุบัน, และ Separate BuySell

  • ในการตั้งค่าฟังก์ชัน การติดตามกำไร ให้โหลด Expert Advisor ลงในแผนภูมิที่คุณต้องการใน MetaTrader และเปิดใช้งาน
  • เปิดใช้งานคุณสมบัติการติดตามโดยทำเครื่องหมายในช่องที่เกี่ยวข้องสำหรับ Profit Trailing
  • ป้อนค่า Profit $ ที่คุณต้องการในช่องที่กำหนดเพื่อตั้งเป้าหมายกำไรเริ่มต้น
  • ระบุระยะห่าง Trail $ ซึ่งกำหนดว่ากลไกการติดตามจะตามหลังกำไรปัจจุบันไกลแค่ไหน
  • เลือกว่าการติดตามควรใช้กับ ทุกสัญลักษณ์,  สัญลักษณ์ปัจจุบันเท่านั้น, หรือใช้ Separate BuySell สำหรับการจัดการสถานะ BUY และ SELL โดยอิสระ
  • เมื่อกำหนดค่าแล้ว ให้กดปุ่ม ON เพื่อเปิดใช้งานฟังก์ชันการติดตามกำไร

ตอนนี้ EA จะตรวจสอบและปรับเกณฑ์การปิดโดยอัตโนมัติตามการตั้งค่าของคุณ

ตัวอย่างเช่น:

สถานการณ์: การติดตามกำไรเปิดใช้งานที่ $10 ด้วยระยะห่างการติดตาม $5

  • เปิดใช้งาน Profit Trailing โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 10 ในช่อง Profit $ เพื่อตั้งเป้าหมายกำไรเริ่มต้น
  • ตั้งค่า Trail $ เป็น 5 เพื่อกำหนดระยะห่างการติดตาม
  • เลือก All Symbols เพื่อใช้การติดตามกำไรกับทุกคู่สกุลเงินที่เปิดอยู่
  • กดปุ่ม ON เพื่อเริ่มฟังก์ชันการติดตามกำไร
    • เมื่อกำไรรวมถึง $10 EA จะเปิดใช้งานการติดตามและปรับเกณฑ์กำไรให้ตามหลังกำไรปัจจุบัน $5
  • หากกำไรยังคงเพิ่มขึ้น เกณฑ์การติดตามจะเคลื่อนที่ตามไปด้วย หากกำไรลดลงและต่ำกว่าระยะห่างการติดตาม EA จะปิดทุกสถานะโดยอัตโนมัติ
การตั้งค่า CLP Trailing Profit เปิดใช้งานที่ $10 และระยะติดตาม $5

สถานการณ์: การติดตามกำไรเปิดใช้งานที่ 50 pips ด้วยระยะห่างการติดตาม 20 pips

  • เปิดใช้งาน Profit p โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อน 50 ในช่อง Profit p เพื่อตั้งเป้าหมายกำไรเริ่มต้นเป็น pips
  • ตั้งค่า Trail p เป็น 20 เพื่อกำหนดระยะห่างการติดตามเป็น pips
  • เลือก All Symbols เพื่อใช้การติดตามกำไรกับทุกคู่สกุลเงินที่เปิดอยู่
  • กดปุ่ม ON เพื่อเริ่มฟังก์ชันการติดตามกำไร
    • เมื่อกำไรรวมถึง 50 pips EA จะเปิดใช้งานการติดตามและปรับเกณฑ์กำไรให้ตามหลังกำไรปัจจุบัน 20 pips
  • หากกำไรยังคงเพิ่มขึ้น เกณฑ์การติดตามจะเคลื่อนที่ตามไปด้วย หากกำไรลดลงและต่ำกว่าระยะห่างการติดตาม EA จะปิดทุกสถานะโดยอัตโนมัติ
การตั้งค่า CLP Trailing Profit เปิดใช้งานที่ 50 pips และระยะติดตาม 20 pips

สถานการณ์: การติดตามกำไรเปิดใช้งานที่ 5% ของเงินฝาก ด้วยระยะห่างการติดตาม 2%

  • เปิดใช้งาน Profit % โดยทำเครื่องหมายในช่อง
  • ป้อน 5 ในช่อง Profit % เพื่อตั้งเป้าหมายกำไรเริ่มต้นเป็นเปอร์เซ็นต์ของยอดคงเหลือปัจจุบัน
  • ตั้งค่า Trail % เป็น 2 เพื่อกำหนดระยะห่างการติดตามเป็นเปอร์เซ็นต์ของยอดคงเหลือปัจจุบัน
  • เลือก All Symbols เพื่อใช้การติดตามกำไรกับทุกคู่สกุลเงินที่เปิดอยู่
  • กดปุ่ม ON เพื่อเริ่มฟังก์ชันการติดตามกำไร
    • เมื่อกำไรรวมถึง 5% ของเงินฝาก EA จะเปิดใช้งานการติดตามและปรับเกณฑ์กำไรให้ตามหลังกำไรปัจจุบัน 2%
  • หากกำไรยังคงเพิ่มขึ้น เกณฑ์การติดตามจะเคลื่อนที่ตามไปด้วย หากกำไรลดลงและต่ำกว่าระยะห่างการติดตาม EA จะปิดทุกสถานะโดยอัตโนมัติ
การตั้งค่า CLP Trailing Profit เปิดใช้งานที่ 5% ของเงินฝาก และระยะติดตาม 2%

สถานการณ์: การติดตามกำไรบนสัญลักษณ์ปัจจุบันด้วย Separate DEALs

  • เปิดใช้งาน Profit Trailing โดยทำเครื่องหมายในช่องที่เกี่ยวข้อง
  • ป้อนค่า Profit $ ที่คุณต้องการในช่อง Profit $ (เช่น 15)
  • ตั้งค่า Trail $ เป็น 3 เพื่อกำหนดระยะห่างการติดตาม
  • เลือก [XXXXXX] Only เพื่อจำกัดการติดตามกำไรเฉพาะคู่สกุลเงินปัจจุบัน
  • เปิดใช้งาน Separate DEALs เพื่อให้แน่ใจว่าแต่ละสถานะจะติดตามและปิดแยกกันตามกำไรและระยะห่างการติดตามที่กำหนด
  • กดปุ่ม ON เพื่อเริ่มฟังก์ชันการติดตามกำไร แต่ละสถานะบนสัญลักษณ์ปัจจุบันจะติดตามกำไรของตนเองโดยอิสระ โดยจะปิดเฉพาะเมื่อเงื่อนไขระยะห่างการติดตามเป็นไปตามที่กำหนด

หากกำไรยังคงเพิ่มขึ้น เกณฑ์การติดตามจะเคลื่อนที่ตามไปด้วย หากกำไรลดลงและต่ำกว่าระยะห่างการติดตาม EA จะปิดทุกสถานะโดยอัตโนมัติ

การตั้งค่า CLP Trailing Profit บนสัญลักษณ์ปัจจุบันด้วย Separate DEALs

ตัวเลือกนี้ใช้ได้กับการปิดทุกประเภท: ทุกสัญลักษณ์, สัญลักษณ์ปัจจุบัน, ทิศทาง BUY แยก, และ SELL แต่ละคำสั่งซื้อขายจะแยกจากกัน

ความแตกต่างระหว่าง TrailingStop Positions และ Trailing Profit CLP:

Trailing Stop คือการปรับเปลี่ยน stop-loss จริงไปยัง ระดับคุ้มทุน (Breakeven Level) และดึง stop loss เข้าไปในโซนกำไรสำหรับแต่ละสถานะ

นี่คือ trailing stop มาตรฐานสำหรับแต่ละสถานะแยกกัน

  1. ขั้นตอนแรกในการทำงานของ Trailing Stop คือการตั้งค่า stop loss เป็น breakeven
  2. ขั้นตอนที่สองของการทำงานของ Trailing Stop คือการปรับเปลี่ยน stop loss เพื่อเพิ่มกำไรที่แน่นอน

TrailingStop สามารถตั้งค่าเป็น จุด เท่านั้น!

Trailing Profitนี่คือการปรับเปลี่ยนระดับ stop loss เสมือน สำหรับสถานะ (ทั้งหมด หรือแยกกัน ขึ้นอยู่กับการเลือก) ในโซนกำไร

Trailing Profit ทำงานบนแท็บ CLP และช่วยให้คุณสามารถปิดชุดของสถานะตามกำไรรวม โดยการตั้งค่าและกำหนดระดับต่ำสุดของกำไรรวม

ทำให้สามารถเพิ่มระดับการปิดสำหรับกำไรรวมได้

TrailingProfit สามารถตั้งค่าเป็น จุด, สกุลเงินของบัญชี, และเปอร์เซ็นต์ของยอดคงเหลือปัจจุบัน

หน้าจอแผงควบคุมกำไรหรือขาดทุน CLP

เมื่อตั้งค่าเป็น Profit = 10 และสำหรับ Trailing Profit = 5 เส้นการติดตามกำไรจะถูกตั้งไว้ที่ $5

โปรแกรมเทรดอัตโนมัติ เมื่อผ่านเครื่องหมาย $10 จะเปิดฟังก์ชันการติดตามกำไร และจะติดตามเครื่องหมายการปิดตามหลังกำไร

ในบันทึก จะแสดงบันทึกของสถานะกำไรปัจจุบัน

 10:20:20 Exp - CloseifProfitorLoss  EURUSD, H1: Trailing is ON tralprofit = 12.00000000
10:20:20 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 12.00000000
10:20:20 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 13.00000000
10:20:20 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 13.50000000
10:20:21 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 13.50000000
10:20:23 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 13.50000000
10:20:23 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 14.00000000
10:20:24 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 14.50000000
10:20:24 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 14.50000000
10:20:29 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 15.00000000
10:20:31 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 16.00000000
10:20:32 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 17.50000000
10:20:36 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 18.50000000
10:20:37 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 21.50000000
10:20:37 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 24.00000000
10:20:37 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 24.00000000
10:20:39 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 26.50000000
10:20:39 Exp - CloseifProfitorLoss  EURUSD, H1: Level Profit up tralprofit = 28.00000000 

หลังจากกำไรรวมลดลงต่ำกว่าระดับที่กำหนดล่าสุด – TrailingProfit โปรแกรมเทรดอัตโนมัติจะบังคับปิดธุรกรรมทั้งหมด:

 10:20:42 Exp - CloseifProfitorLoss  EURUSD, H1: Close position _close = 23.00000000 tralprofit = 23.00000000
10:20:43 Exp - CloseifProfitorLoss  EURUSD, H1: close # 212724663 buy 0.10 EURUSD at 1.34049 at the price of 1.34095
10:20:44 Exp - CloseifProfitorLoss  EURUSD, H1: close # 212724661 buy 0.10 EURUSD at 1.34049 at the price of 1.34094
10:20:45 Exp - CloseifProfitorLoss  EURUSD, H1: close # 212724660 buy 0.10 EURUSD at 1.34049 at the price of 1.34095
10:20:45 Exp - CloseifProfitorLoss  EURUSD, H1: close # 212724658 buy 0.10 EURUSD at 1.34049 at the price of 1.34095
10:20:46 Exp - CloseifProfitorLoss  EURUSD, H1: close # 212724657 buy 0.10 EURUSD at 1.34049 at the price of 1.34094 

ตัวอย่างการใช้งานที่นำเสนอในรูปภาพและวิดีโอ

ตัวอย่างการใช้งาน CLP CloseIfProfitorLoss ใน MetaTrader

ตัวอย่างการติดตามกำไรเป็นเปอร์เซ็นต์:

CLP_TralOptionsStep คือขั้นตอนการเปลี่ยนแปลงการติดตาม หากคุณปิดเป็นเปอร์เซ็นต์ พารามิเตอร์นี้จะระบุเป็นเปอร์เซ็นต์ เช่น = 0.01 แล้ว 0.01%
Profit% คือระดับกำไรที่จะปิดกำไรหรือเริ่มการติดตาม เช่น 2%
TrailingProfit คือระยะห่างจากกำไรถึงการกำหนดการติดตาม ระบุในค่าที่คุณจะปิด

ตัวอย่างเช่น เป็นเปอร์เซ็นต์ = 1 ซึ่งหมายความว่าเมื่อกำไรถึง 2% ระดับกำไรจะถูกกำหนดไว้ที่ตำแหน่ง 1% (2 – 1 = 1)

หากกำไรคือ 2.01% ระดับการติดตามจะถูกกำหนดไว้ที่ 1.01% และต่อไปเรื่อยๆ

หากกำไรลดลงต่ำกว่า 1.01% ทุกสถานะจะปิด

การตั้งค่า Trailing Profit เป็นเปอร์เซ็นต์ใน CLP MetaTrader

ตัวอย่างการติดตามกำไรรวมในสกุลเงินของบัญชีและแยกตามทิศทาง BUY/SELL:

CLP_TralOptionsStep – ขั้นตอนการเปลี่ยนแปลงการติดตาม หากคุณปิดเป็นดอลลาร์ (หรือสกุลเงินอื่น) พารามิเตอร์นี้จะระบุเป็นดอลลาร์ (หรือสกุลเงินอื่น) เช่น 1 แล้ว $1 (หรือสกุลเงินอื่น)
Profit $ คือระดับกำไรที่จะปิดกำไรหรือเริ่มการติดตาม — เช่น $5 (หรือสกุลเงินอื่น)
TrailingProfit คือระยะห่างจากกำไรถึงการกำหนดการติดตาม ระบุในค่าที่คุณจะปิด

ตัวอย่างเช่น เป็นดอลลาร์ (หรือสกุลเงินอื่น) = 1 ซึ่งหมายความว่าเมื่อกำไร BUY หรือ SELL ถึง $5 (หรือสกุลเงินอื่น) ระดับกำไรจะถูกกำหนดไว้ที่ตำแหน่ง $4 (หรือสกุลเงินอื่น) (5 – 1 = 4)

หากกำไร BUY คือ $6 (หรือสกุลเงินอื่น) ระดับการติดตามจะถูกกำหนดไว้ที่ $5 (หรือสกุลเงินอื่น) และต่อไปเรื่อยๆ หากกำไรลดลงต่ำกว่า $5 (หรือสกุลเงินอื่น) ทุกสถานะจะปิด

หาก SELL ขาดทุน สิ่งนี้จะไม่ส่งผลกระทบต่อการปิด BUY เพราะเราได้เปิดใช้งานตัวเลือกการตรวจสอบแยกตามประเภท (BUY และ SELL)

การตั้งค่า Trailing Profit ในสกุลเงินบัญชีและทิศทาง BUY/SELL แยกกัน

โหมด Virtual Stop Loss/Take Profit บน CLP (Separate DEALs)

Virtual Stop Loss/Take Profit Video Thumbnail

คุณสามารถเปิดใช้งาน Virtual Stop Loss และ Take Profit รวมถึง Virtual Trailing Profit บนแท็บ CLP

ในกรณีนี้ ทุกสถานะจะถูกตรวจสอบและปิดแยกจากกัน!

คุณสามารถย้ายระดับเหล่านี้ได้โดยการเปลี่ยนค่าบนแผงควบคุม CLP เท่านั้น!

คุณสามารถตั้งค่า virtual stop loss/take profit เป็น จุด, สกุลเงินของบัญชี, และ เปอร์เซ็นต์!

แท็บ CLP มีไว้สำหรับการปิดตามกำไรและขาดทุนรวม

สถานะจะถูกปิดหลังจากถึงกำไรที่ตั้งไว้ (Virtual Take Profit) และหลังจากขาดทุน (Virtual Stop Loss)

ทำไมต้อง Virtual? เพราะ Real Stop Loss และ Take Profit ถูกตั้งค่าบนเซิร์ฟเวอร์ตามราคา (Stop Loss และ Take Profit)

Virtual Stop Loss และ Take Profit เกี่ยวข้องกับการตั้งค่าระดับเสมือนและการจัดเก็บข้อมูลทั้งหมดในตัวแปร (อ็อบเจกต์, เส้น, ฯลฯ)

เมื่อตั้งค่า Separate Deals แต่ละรายการซื้อขาย/สถานะแยกกันจะมีระดับการปิดเสมือนของตัวเอง (กำไร/ขาดทุน เป็นสกุลเงินของบัญชี, pips, เปอร์เซ็นต์)

แต่ละสถานะจะถูกปิดที่ระดับกำไรหรือขาดทุนที่ตั้งไว้ของตนเองแบบเสมือน นั่นคือไม่มีการตั้งค่า stop-loss และ take-profit จริง

คำสั่งปิดสถานะจะถูกสร้างขึ้นเมื่อระดับเหล่านี้ถูกเปิดใช้งาน (Price Crossover)

นั่นคือเหตุผลที่โหมดนี้เรียกว่า Virtual Stops!

ในการเปิดใช้งานโหมด Virtual Take Profit/Stop Loss:

  1. ไปที่แท็บ CLP
  2. เลือกช่องทำเครื่องหมาย Separate Deals
  3. ตั้งค่า Virtual TakeProfit ในช่อง: Profit $/Profit p/Profit %
  4. ตั้งค่า Virtual StopLoss ในช่อง: Loss $/Loss p/Loss %
  5. ตั้งค่า Virtual Trailing Stop ในช่อง: Trail $/Trail p/Trail %
  6. เปิดใช้งานและเปิดใช้งาน CLP ON
การตั้งค่าโหมด Virtual Stop Loss/Take Profit และ Trailing Stop บน CLP MetaTrader

การแสดงเส้นการปิดสถานะในอนาคต

เพิ่มเติม:

นอกจากนี้ Expert Advisor ยังแสดงเส้นราคาปิดโดยประมาณสำหรับกำไรหรือขาดทุนรวม

พารามิเตอร์ Show_Future_BE_TP_SL – การแสดงเส้นการปิดสถานะในอนาคตสำหรับกำไรหรือขาดทุนรวม

ข้อควรระวัง: ทำงานเฉพาะกับสัญลักษณ์ปัจจุบันและเมื่อปิดโหมด Separate Orders เท่านั้น

เส้นจะแสดงแยกกันสำหรับสถานะ Buy และ Sell หรือเส้นร่วม

หากไม่แสดงเส้น แสดงว่าสถานะสร้างล็อค ซึ่งไม่สามารถปิดด้วยกำไรหรือขาดทุนรวมได้

หมายเหตุ: ข้อมูลเส้นและราคาอาจไม่แม่นยำบนสเปรดลอยตัว

จำไว้! SELL ปิดด้วย ASK และ BUY ปิดด้วย BID

การแสดงเส้นการปิดสถานะในอนาคตบน CLP MetaTrader

การทำงานของการปิดตามกำไรและขาดทุนรวมบน เซิร์ฟเวอร์ VPS (VPS Server) จาก MetaQuotes

การตั้งค่าแท็บ CLP ไปยังพารามิเตอร์ภายนอกของ Trade Pad
VPS_CLP_Activation=false; // VPS_CLP_Activation → การเปิดใช้งาน CLP สำหรับ VPS

เนื่องจาก MetaQuotes ห้าม การส่งตัวแปรส่วนกลางไปยังเซิร์ฟเวอร์ VPS จาก MQL (MetaQuotes Language) ปุ่ม ช่องทำเครื่องหมาย ช่องแก้ไข และส่วนควบคุมทั้งหมดบนแผง Trade Pad จะไม่ทำงานบน VPS จาก MQL (MetaQuotes) อีกต่อไป

คุณสามารถปรับแต่งฟังก์ชันการปิดตามกำไรหรือขาดทุนรวมได้จากการตั้งค่าภายนอกของยูทิลิตี้:

ข้อควรสนใจ! หากพารามิเตอร์ VPS_CLP_Activation เปิดใช้งาน (true) การตั้งค่าทั้งหมดสำหรับฟังก์ชันนี้จะทำงานจากตัวแปรภายนอก!
อ็อบเจกต์บนแท็บ CLP จะไม่ทำงาน!

การตั้งค่าการเปิดใช้งาน VPS CLP ใน MetaTrader

ตัวอย่างการทำงานที่สอดคล้องกันของโปรแกรมเทรดอัตโนมัติ

ตัวอย่างการทำงานที่สอดคล้องกันของโปรแกรมเทรดอัตโนมัติ CLP 1
ตัวอย่างการทำงานที่สอดคล้องกันของโปรแกรมเทรดอัตโนมัติ CLP 2
ตัวอย่างการทำงานที่สอดคล้องกันของโปรแกรมเทรดอัตโนมัติ CLP 3
ตัวอย่างการทำงานที่สอดคล้องกันของโปรแกรมเทรดอัตโนมัติ CLP 4

ตัวแปรภายนอกและการตั้งค่า CLP CloseIfProfitorLoss

ชื่อคำอธิบาย

Sounds
          เปิด/ปิดการแจ้งเตือนด้วยเสียงเมื่อเปิด ปิด หรือแก้ไขสถานะและคำสั่ง (orders)


          คุณสามารถเปิดการแจ้งเตือนสำหรับการเปิด ปิด หรือข้อผิดพลาดบนโทรศัพท์ของคุณ หรือเปิดใช้งานการแจ้งเตือนด้วยเสียงในส่วนการแจ้งเตือน
          คุณยังสามารถเปลี่ยนชื่อไฟล์เสียงในรูปแบบ WAV โดยไม่ต้องระบุส่วนขยายของไฟล์ (เฉพาะชื่อ)        
HintShow            เปิด/ปิดคำแนะนำเครื่องมือเมื่อวางเมาส์เหนือปุ่ม        
Language           การเลือกภาษาสเปน, โปรตุเกส (บราซิล), เยอรมัน, จีน, ญี่ปุ่น;


          โดยค่าเริ่มต้น ภาษาของคำแนะนำจะถูกกำหนดโดยอัตโนมัติตามภาษาของเทอร์มินัลของคุณ 
          คุณยังสามารถเลือกภาษาที่คุณต้องการได้;


          การแปลดำเนินการโดยใช้ Google Translator, MQL และเว็บไซต์ Terminal!


          คำบางคำถูกตัดให้สั้นลงเพื่อประหยัดพื้นที่ (ความยาวสูงสุดของบรรทัดสำหรับคำแนะนำเครื่องมือคือ 255 ตัวอักษร)
          หากคุณพบข้อผิดพลาดในการแปล โปรดเขียนถึงเรา:            ติดต่อเรา        
ButtonLanguageใช้พารามิเตอร์ ButtonLanguage เพื่อเลือกภาษาของข้อความบนปุ่มและภาษาหลักของแผงควบคุม (ข้อมูลบนแท็บ)


ภาษาที่ใช้ได้: อังกฤษ, โปรตุเกส, สเปน, เยอรมัน, ฝรั่งเศส, อิตาลี, ตุรกี


หมายเหตุ: พารามิเตอร์นี้มีผลเฉพาะกับข้อความของปุ่มและแท็บเท่านั้น 
ข้อความของคำแนะนำเครื่องมือสามารถเลือกได้โดยใช้พารามิเตอร์ Language!
int MagicNumber = 777           หมายเลขมายากล (MagicNumber) สำหรับสถานะและคำสั่งซื้อขายจะถูกตั้งค่าเมื่อเปิด
          ใช้เพื่อระบุสถานะและคำสั่งซื้อขายสำหรับ EA ของฉันหรือของผู้อื่น


          – ไม่มีหมายเลขมายากล 


          MultiMagic:
          พารามิเตอร์ MagicNumber ได้รับการอัปเดต: ตัวเลขแรกแสดงหมายเลขมายากลสำหรับการเปิดและแก้ไขสถานะ 
          คุณยังสามารถระบุหมายเลขมายากลหลายหมายเลขได้ 


          เช่น:
          — MagicNumber = 777  UseAllMagicFromAllAccount = true
          ที่ปรึกษาผู้เชี่ยวชาญจะตรวจสอบสถานะทั้งหมดสำหรับสัญลักษณ์ปัจจุบันทั่วทั้งบัญชี (account);


          — MagicNumber = 777  UseAllMagicFromAllAccount = false
          ที่ปรึกษาผู้เชี่ยวชาญจะตรวจสอบสถานะที่มีหมายเลขมายากล 777 สำหรับสัญลักษณ์ปัจจุบันทั่วทั้งบัญชี;


          — MagicNumber = 777,888  UseAllMagicFromAllAccount = false
          ที่ปรึกษาผู้เชี่ยวชาญจะติดตามสถานะที่มีหมายเลขมายากล 777 และ 888 (เปิดสถานะด้วยหมายเลขมายากล 777) สำหรับสัญลักษณ์ปัจจุบันทั่วทั้งบัญชี;


          — MagicNumber = 777,888,999  UseAllMagicFromAllAccount = false
          ที่ปรึกษาผู้เชี่ยวชาญจะติดตามสถานะที่มีหมายเลขมายากล 777, 888 และ 999 (เปิดสถานะด้วยหมายเลขมายากล 777) สำหรับสัญลักษณ์ปัจจุบันทั่วทั้งบัญชี;        
bool UseAllMagicFromAllAccount = true           อนุญาตให้พิจารณาสถานะทั้งหมดที่เปิดในเทอร์มินัลสำหรับคู่สกุลเงินนี้


          ตัวอย่าง:
          UseAllMagicFromAllAccount = true
          สถานะทั้งหมดที่มีหมายเลขมายากลใดๆ จะถูกพิจารณาเมื่อเปิด ปิด แก้ไข หรือคำนวณข้อมูล


          UseAllMagicFromAllAccount = false
          ที่ปรึกษาผู้เชี่ยวชาญจะพิจารณาเฉพาะการซื้อขาย (deals) ที่มี MagicNumber เท่านั้น        
  
Show_Future_BE_TP_SLShow_Future_BE_TP_SL – แสดงระดับจุดคุ้มทุน (break-even) และระดับกำไร/ขาดทุนบนกราฟ (chart) ปัจจุบัน


ระดับราคาของเส้นคำนวณจากค่าที่ป้อนในช่องกำไรและขาดทุน โดยวัดเป็นจุด (Points), ดอลลาร์ หรือเปอร์เซ็นต์
หมายเหตุ: ใช้ได้เฉพาะกับสัญลักษณ์ปัจจุบันและเมื่อโหมด Separate Orders ปิดอยู่เท่านั้น
เส้นจะแสดงที่จุดที่ฟังก์ชัน “ปิดเมื่อมีกำไรหรือขาดทุน” ถูกเรียกใช้งาน




เส้นจะแสดงแยกสำหรับสถานะซื้อและขาย หรือเป็นเส้นค่าเฉลี่ย
หากไม่แสดงเส้น แสดงว่าสถานะถูกล็อกและไม่สามารถปิดตามกำไรหรือขาดทุนทั้งหมดได้
หมายเหตุ: ข้อมูลเส้นและราคาอาจไม่ถูกต้องบนสเปรดชีตแบบลอยตัว
โปรดจำไว้ว่า: สถานะขายจะปิดด้วยราคา ASK และสถานะซื้อจะปิดด้วยราคา BID 
สิ่งสำคัญคือต้องทราบว่าราคาของหนึ่งจุดสามารถเปลี่ยนแปลงได้ตามราคาของคู่สกุลเงินอื่น


ตัวอย่างเช่น: หากมูลค่า 1 จุดสำหรับคู่สกุลเงิน EURJPY และสกุลเงินฝากเป็นดอลลาร์ การเปลี่ยนแปลงของอัตรา USDJPY จะส่งผลต่อมัน
มูลค่าของ 1 จุด = 0.01 JPY 
หากบัญชีของคุณเป็นดอลลาร์หรือรูเบิล มูลค่าของสัญลักษณ์จะเปลี่ยนแปลงตลอดเวลา
ซึ่งหมายความว่าเส้นกำไรหรือขาดทุนในอนาคตสามารถผันผวนได้
ไม่สามารถคาดการณ์ระดับการปิดที่แน่นอนได้ ระดับของกำไรหรือขาดทุนในอนาคตอาจได้รับอิทธิพลจากค่าคอมมิชชั่น (commission) และสวอป (swap)
รวมถึงระหว่างการปิดด้วย
double CLP_TralOptionsStep = 0           CLP_TralOptionsStep – ขั้นตอนสำหรับการปรับระดับกำไรเมื่อเลื่อนระดับกำไรตามหน่วยมาตรฐาน (จุด, สกุลเงินฝาก, เปอร์เซ็นต์)


          เมื่อฟังก์ชัน Trailing Profit ทำงาน ที่ปรึกษาผู้เชี่ยวชาญจะอัปเดตระดับกำไรตามแต่ละหน่วย (จุด, ดอลลาร์, เปอร์เซ็นต์)


          ตัวอย่าง:
          CLP_TralOptionsStep = 1
          ระดับกำไรจะถูกปรับทุก 1 หน่วย (จุด, ดอลลาร์, เปอร์เซ็นต์)
          CLP_TralOptionsStep = 15
          ระดับกำไรจะถูกปรับทุก 15 หน่วย (จุด, ดอลลาร์, เปอร์เซ็นต์)        
bool CLP_DeleteStopOrders = false           CLP_DeleteStopOrders – ลบคำสั่งที่รอดำเนินการ (pending orders) เมื่อ “ปิดเมื่อกำไรหรือขาดทุนรวม”        
bool Use_Lots_in_CLP_Points = false           Use_Lots_in_CLP_Points – เมื่อคำนวณจุดกำไรหรือขาดทุน ที่ปรึกษาผู้เชี่ยวชาญจะพิจารณาขนาดล็อต (lot) (ปริมาณ) ของสถานะเหล่านี้ด้วย 
          ตัวเลือกนี้มีประโยชน์เมื่อซื้อขายในบัญชีเฮดจ์ (hedge account) ที่มีขนาดล็อตแตกต่างกัน


          ตัวอย่าง:
          เปิดสถานะขาย (SELL) 2 สถานะสำหรับ EURUSD:
          ขาย 0.01 ด้วยกำไร 20 จุด และ $0.2
          ขาย 0.02 ด้วยขาดทุน -12 จุด และ -$0.24


          – เมื่อ Use_Lots_in_CLP_Points = false ที่ปรึกษาผู้เชี่ยวชาญจะคำนวณจุด “สุทธิ”
          ในกรณีนี้ กำไรจะเป็น -$0.04 หรือ 8 จุด
          ดังที่เราเห็น สถานะ (การซื้อขาย) ทำกำไรเป็นจุด แต่ขาดทุนเป็นดอลลาร์


          – เมื่อ Use_Lots_in_CLP_Points = true ที่ปรึกษาผู้เชี่ยวชาญจะคำนวณจุดโดยพิจารณาจากล็อต
          ในกรณีนี้ กำไรจะเป็น -$0.04 หรือ -4 จุด




          เมื่อคำนวณกำไรเป็นจุดและเปิดใช้งานตัวเลือก “รวมล็อตในการคำนวณกำไร”
          EA จะระบุล็อตขั้นต่ำจากสถานะที่แสดงและคำนวณจุดตามล็อตนี้
          เช่น:
          สถานะขั้นต่ำ 0.01, 1 จุด “สุทธิ” = 1 จุด,
          หากเปิดสถานะด้วยล็อต 0.02 ดังนั้น 1 จุดสุทธิ = 2 จุด รวมล็อต
          หากเปิดสถานะด้วยล็อต 0.05 ดังนั้น 1 จุดสุทธิ = 5 จุด รวมล็อต        
Use_Commission_in_CLPUse_Commission_in_CLP – เปิดใช้งานการคำนวณค่าคอมมิชชั่นเมื่อปิดสถานะ


True – ค่าคอมมิชชั่นจะรวมอยู่ในการคำนวณ
False – ค่าคอมมิชชั่นจะไม่รวมอยู่ในการคำนวณ


หมายเหตุ: ค่าคอมมิชชั่นจะคำนวณจากการซื้อขายที่เปิดอยู่แล้วคูณด้วย 2 (ค่าคอมมิชชั่นจะถูกเรียกเก็บเมื่อปิดการซื้อขายด้วย)
นี่เป็นวิธีการคำนวณค่าคอมมิชชั่นมาตรฐาน!
ใน MetaTrader 5 ไม่สามารถดึงประเภทการคำนวณค่าคอมมิชชั่นจาก EA (Expert Advisor) ได้!
หากคุณไม่ต้องการให้ EA คำนวณค่าคอมมิชชั่นโดยอัตโนมัติ คุณสามารถปิดใช้งานคุณสมบัตินี้ได้!


หมายเหตุ: ฟังก์ชันนี้มีผลเฉพาะกับการคำนวณในแท็บ CLP เท่านั้น 
แท็บอื่นๆ ทั้งหมดทำงานในโหมดมาตรฐาน โดยคำนึงถึงค่าคอมมิชชั่น
bool AutoCorrect_LevelCLP = true           AutoCorrect_LevelCLP – แก้ไขค่าที่ป้อนสำหรับระดับ CLP โดยอัตโนมัติ
          ในช่องขาดทุน คุณสามารถป้อนเฉพาะค่าลบเท่านั้น
          หากผู้ใช้ป้อน +10 ระบบจะตั้งค่าเป็น -10 โดยอัตโนมัติ
          ในช่องกำไร คุณสามารถป้อนเฉพาะค่าบวกเท่านั้น
          หากผู้ใช้ป้อน -10 ระบบจะตั้งค่าเป็น +10 โดยอัตโนมัติ
          ใน CLP_TralOptions สามารถป้อนเฉพาะค่าบวกเท่านั้น
          มิฉะนั้น ที่ปรึกษาผู้เชี่ยวชาญจะส่งคืนข้อผิดพลาด

          ถ้า AutoCorrect_LevelCLP = false
          คุณสามารถตั้งค่าให้การเลื่อนระดับกำไรเริ่มต้นจากโซนติดลบได้
          https://expforex.com/th/closeifprofitorloss/#faq        
bool CPL_Alert = false           ส่งข้อความเกี่ยวกับกำไร/ขาดทุนบนกราฟของเทอร์มินัล (terminal chart)        
bool CPL_Mail = false           ส่งข้อความเกี่ยวกับกำไร/ขาดทุนทาง Email
          วิธีตั้งค่าเทอร์มินัลเพื่อส่งอีเมล        
bool CPL_Push = false           ส่งข้อความเกี่ยวกับกำไร/ขาดทุนผ่านการแจ้งเตือนแบบพุช (Push Notifications)
          วิธีตั้งค่าเทอร์มินัลเพื่อส่งการแจ้งเตือนแบบพุช        
CPL_CloseAllCharts_per_CloseAllDealsCPL_CloseAllCharts_per_CloseAllDeals – ปิดกราฟ/กราฟอื่นๆ ก่อนปิดสถานะ


— พารามิเตอร์นี้ช่วยแก้ไขปัญหาที่แผงควบคุมของเราเริ่มปิดสถานะเมื่อถึงกำไรหรือขาดทุนทั้งหมด ในขณะที่ Expert Advisors อื่นๆ เริ่มเปิดสถานะใหม่พร้อมกัน 


— พารามิเตอร์ CPL_CloseAllCharts_per_CloseAllDeals จะปิดเฉพาะกราฟที่มี Expert Advisors อื่นติดตั้งอยู่ (ไม่รวม VirtualTradePad) เฉพาะสำหรับ MT5


— พารามิเตอร์ CPL_CloseAllCharts_per_CloseAllDeals จะปิดกราฟทั้งหมด (เมื่อเปิดใช้งาน All Symbols) หรือเฉพาะกราฟที่มีสัญลักษณ์ตรงกับสัญลักษณ์ VirtualTradePad


— พารามิเตอร์ CPL_CloseAllCharts_per_CloseAllDeals จะบันทึกเทมเพลต (template) กราฟก่อนปิด! 
สามารถดาวน์โหลดเทมเพลตได้ในภายหลัง รูปแบบชื่อเทมเพลต: VTP_Symbol_Period_ExpertName (เฉพาะสำหรับ MT5)


สำคัญ:
— ใน MT5: เฉพาะกราฟที่ติดตั้ง Expert Advisor เท่านั้นที่จะถูกปิด
— ใน MT4: ไม่มีวิธีระบุชื่อของ Expert Advisor ดังนั้นกราฟทั้งหมดจึงถูกปิด

เมื่อเปิดใช้งานฟังก์ชันนี้ (CPL_CloseAllCharts_per_CloseAllDeals = true) VirtualTradePad จะบันทึกเทมเพลตของกราฟทั้งหมดก่อน ปิดกราฟทั้งหมด จากนั้นจึงปิดสถานะทั้งหมด

https://www.youtube.com/embed/AVSjDDitclE
bool CPL_CloseTerminalAfterClose = false           CPL_CloseTerminalAfterClose – เทอร์มินัลจะปิดหลังจากปิดสถานะทั้งหมดแล้ว        
CPL_AUTOOFF_AfterClose           CPL_AUTOOFF_AfterClose – ปิดปุ่ม “ปิดเมื่อกำไรหรือขาดทุนรวม” โดยอัตโนมัติหลังจากปิดสถานะทั้งหมดแล้ว
          การปิดอัตโนมัติจะเกิดขึ้นเฉพาะเมื่อปิดสถานะทั้งหมดเท่านั้น
          หมายเลขมายากลที่ระบุใน Expert Advisor และสัญลักษณ์สำหรับการปิดจะถูกนำมาพิจารณาด้วย
          หากคุณเลือกที่จะปิดเพียงสกุลเงินเดียว เมื่อเปิดใช้งานพารามิเตอร์ CPL_AUTOOFF_AfterClose EA จะรอจนกว่าสถานะทั้งหมดสำหรับสกุลเงินนั้นจะถูกปิดก่อนที่จะปิดปุ่ม        
ClosingCurrentTicketOnly           ClosingCurrentTicketOnly – ปิดเฉพาะรายการทิกเก็ต (tickets) ปัจจุบันเท่านั้น


          ตัวเลือกนี้ช่วยหลีกเลี่ยงปัญหาที่โปรแกรมเริ่มปิดสถานะตามกำไรทั้งหมด ในขณะที่ Expert Advisor อื่นกำลังเปิดสถานะใหม่พร้อมกัน
          ClosingCurrentTicketOnly = true จากนั้น หากตรงตามเงื่อนไขกำไรทั้งหมด โปรแกรม VirtualTradePad จะปิดเฉพาะรายการสถานะปัจจุบันเท่านั้น 


          หากมีการเพิ่มทิกเก็ตใหม่ในรายการสถานะ โปรแกรม VirtualTradePad จะไม่สนใจทิกเก็ตเหล่านั้น
          ClosingCurrentTicketOnly = false จากนั้น หากตรงตามเงื่อนไขกำไรทั้งหมด โปรแกรม VirtualTradePad จะปิดสถานะทั้งหมด แม้ว่า Expert Advisor อื่นจะเปิดสถานะใหม่ก็ตาม        
ClosebyFIFOClosebyFIFO – ปิดสถานะตามกฎ FIFO (เข้าก่อนออกก่อน) (FIFO (First In, First Out));
เมื่อปิดสถานะ จะใช้กฎ FIFO (เปิดก่อน ปิดก่อน)
สถานะจะถูกปิดตามลำดับที่เปิด
หมายเหตุ: กฎนี้ควรใช้เฉพาะเมื่อทำงานกับทุกสัญลักษณ์และปิดสถานะทั้งหมดพร้อมกันเท่านั้น
หมายเหตุ: โหมดนี้ห้ามใช้ฟังก์ชันต่างๆ เช่น Separate Deals
ShowCloseAllButtonShowCloseAllButton – แสดงปุ่ม “ปิดทั้งหมด” บนแผงควบคุม
ปุ่มนี้ช่วยให้คุณปิดธุรกรรมทั้งหมดได้ทันที
หลังจากกดปุ่ม สถานะและคำสั่งซื้อขายทั้งหมดจะถูกปิด
หมายเหตุ: ลักษณะการทำงานขึ้นอยู่กับพารามิเตอร์ All Symbols หรือ Current Symbol Only
ปุ่มปิดทั้งหมดบนแผงควบคุมการซื้อขายฟอเร็กซ์
  


e05vps=”================= VPS MQL5 CLP options
VPS_CLP_Activation=false;//VPS_CLP_Activation → CLP activation for VPS
VPS_CLP_AllSymbols=false;
VPS_CLP_CurrentSymbol=false;
VPS_CLP_SeparateBUYSELL=false;
VPS_CLP_SeparateDEALS=false;
e060=”===================================”;
VPS_CLP_Profit_Currency=false;
VPS_CLP_Profit_Currency_amount=0;
VPS_CLP_Profit_Pips=false;
VPS_CLP_Profit_Pips_amount=0;
VPS_CLP_Profit_Percent=false;
VPS_CLP_Profit_Percent_amount=0;
e061=”===================================”;
VPS_CLP_Trailing_Profit_Currency=false;
VPS_CLP_Trailing_Profit_Currency_amount=0;
VPS_CLP_Trailing_Profit_Pips=false;
VPS_CLP_Trailing_Profit_Pips_amount=0;
VPS_CLP_Trailing_Profit_Percent=false;
VPS_CLP_Trailing_Profit_Percent_amount=0;
e062=”===================================”;
VPS_CLP_Loss_Currency=false;
VPS_CLP_Loss_Currency_amount=0;
VPS_CLP_Loss_Pips=false;
VPS_CLP_Loss_Pips_amount=0;
VPS_CLP_Loss_Percent=false;
VPS_CLP_Loss_Percent_amount=0;
การตั้งค่าแท็บ CLP สำหรับพารามิเตอร์ภายนอกของ Trade Pad

เนื่องจาก MetaQuotes ห้ามส่งตัวแปรส่วนกลางไปยังเซิร์ฟเวอร์ VPS (เซิร์ฟเวอร์ส่วนตัวเสมือน) จาก MQL (MetaQuotes) ปุ่ม ช่องทำเครื่องหมาย ช่องแก้ไข และส่วนควบคุมทั้งหมดบนแผง Trade Pad จึงไม่ทำงานบน VPS ผ่าน MQL อีกต่อไป

คุณสามารถปรับแต่งฟังก์ชัน “ปิดเมื่อกำไรหรือขาดทุนรวม” ผ่านการตั้งค่าภายนอกของยูทิลิตี้:

หมายเหตุ: หากเปิดใช้งานพารามิเตอร์ VPS_CLP_Activation (true) การตั้งค่าทั้งหมดสำหรับฟังก์ชันนี้จะได้รับการจัดการผ่านตัวแปรภายนอก!
ออบเจ็กต์บนแท็บ CLP จะไม่ทำงาน!
int MAGIC_FONTSIZE = 12           ขนาดข้อความบนกราฟเมื่อใช้ MagicTarget รวมถึง Show_Future_BE_TP_SL และ Show_Future_Line        
color MAGIC_ORDER = clrYellow           สีของเส้นกลาง ราคาเปิดของสถานะ และคำสั่งซื้อขายบนกราฟ        
color MAGIC_STOPLOSS = clrRed           สีของเส้น Stop Loss บนกราฟ        
color MAGIC_TAKEPROFIT = clrGreen           สีของเส้น Take Profit บนกราฟ        
color NULLColor1 = clrGray           สีที่ใช้สำหรับข้อความข้อมูลในแผงควบคุม        
color PLUS_Color = clrLime           สีที่แสดงค่าบวกในข้อมูลแผงควบคุม        
color MINUS_Color = clrOrangeRed           สีที่แสดงค่าลบในข้อมูลแผงควบคุม        
color TEXTColor4 = clrAqua           สีข้อความที่ใช้ในข้อมูลแผงควบคุม        
  
Limiting LimitFor = 3           เพิ่ม Risk Manager: ขีดจำกัดสำหรับขาดทุน/กำไร ล็อต และจำนวนสถานะ


          หากคุณตัดสินใจที่จะจำกัดการขาดทุนตามหมายเลขมายากลปัจจุบัน คุณสามารถกำหนดค่านี้ได้ในบล็อกใหม่


          หมายเหตุ: บล็อกนี้ไม่ได้ปิดการซื้อขาย! มันเพียงแค่ส่งการแจ้งเตือน!
          หลังจาก LimitFor ถัดไป พารามิเตอร์นี้จะถูกรีเซ็ตเป็น 0


          คุณยังสามารถเปิดใช้งานการส่งข้อความทางอีเมลและโทรศัพท์เมื่อถึงขีดจำกัดผ่าน NotificationMailSend


          หมายเหตุ: บล็อกนี้ป้องกันเฉพาะการเปิดสถานะจากแผง VirtualTradePad ของเราเท่านั้น และไม่สามารถมีอิทธิพลหรือบล็อก Expert Advisors อื่นๆ ได้!


          บล็อก Limiting ได้รับการอัปเดตและปรับปรุงแล้ว!
          บล็อกการตั้งค่านี้ช่วยให้ผู้ใช้สามารถจำกัดกำไร/ขาดทุน ล็อต จำนวนการซื้อขาย/สถานะสำหรับช่วงเวลาที่กำหนด
          ผู้จัดการความเสี่ยงจะตรวจสอบการซื้อขายของคุณและแจ้งให้คุณทราบเมื่อเกินขีดจำกัดเวลาตามสถานะปัจจุบัน/วันนี้/สัปดาห์/เดือน/ตลอดเวลา
          เป็นไปได้ที่จะปิดใช้งานการทำงานของปุ่ม BUY / SELL / LOCK / REVERSE / BUY STOP / BUYLIMIT / SELL STOP / SELLLIMIT หากเกินขีดจำกัด


          ปิดใช้งานความสามารถในการเปิดการซื้อขาย/สถานะบนคู่สกุลเงินปัจจุบันหากค่าปัจจุบันเกินขีดจำกัดของคุณ
          การตั้งค่า::
          CurrentOpenDeals – พิจารณาการซื้อขาย/สถานะที่เปิดอยู่ในปัจจุบัน
          ClosedDeals – พิจารณาการซื้อขาย/สถานะที่ปิดแล้วในช่วงเวลา:
          LimitFor – ช่วงเวลาที่ตรวจสอบการซื้อขาย/สถานะที่ปิดแล้วในประวัติ
          LimitForLosses – ขีดจำกัดการขาดทุนที่ EA จะส่งข้อความ (ต้องระบุเป็นค่าลบ)
          LimitForProfits – ขีดจำกัดกำไรที่ EA จะส่งข้อความ
          LimitForLotsDeals – ขีดจำกัดล็อตสำหรับการซื้อขาย/สถานะที่ EA จะส่งข้อความ
          LimitForCountDeals – จำนวนการซื้อขาย/สถานะที่ EA จะส่งข้อความ
          NotificationMailSend – ส่งข้อความทางโทรศัพท์ (PUSH) และอีเมลหากเกินขีดจำกัด
          ProhibitOpeningNewDealsOrders  – ปิดใช้งานการทำงานของปุ่ม BUY / SELL / LOCK / REVERSE / BUYSTOP / BUYLIMIT / SELLSTOP / SELLLIMIT หากเกินขีดจำกัด


          ตัวเลือก::
          DAY – พิจารณากำไรและขาดทุนสำหรับวันปัจจุบัน
          WEEK – พิจารณากำไรและขาดทุนสำหรับสัปดาห์ปัจจุบัน
          MONTH – พิจารณากำไรและขาดทุนสำหรับเดือนปัจจุบัน
          ALLTIME – พิจารณากำไรและขาดทุนตลอดเวลา




          ตัวอย่าง::
          คุณต้องการให้ Expert Advisor ส่งอีเมลถึงคุณและแสดงการแจ้งเตือนบนหน้าจอเมื่อการขาดทุนทั้งหมดสำหรับการซื้อขายที่เปิดและปิดภายใน LimitFor เกิน -$100:
          การตั้งค่าของคุณจะเป็นดังนี้: LimitFor = 0; LimitForLosses = -100; LimitForProfits = 0;
          หลังจากถึงการขาดทุน -$100 ในประวัติของวัน EA จะแสดงการแจ้งเตือนบนหน้าจอและส่งอีเมล        
LimitForLosses           มูลค่าการขาดทุน        
LimitForProfits           มูลค่ากำไร        
NotificationMailSend           คุณยังสามารถเปิดใช้งานการส่งข้อความทางอีเมลและโทรศัพท์เมื่อถึงขีดจำกัดผ่าน NotificationMailSend
          วิธีตั้งค่าเทอร์มินัลเพื่อส่งอีเมล        
filling TypeFilling = Auto           TypeFilling – ประเภทการเติมเต็มสำหรับสถานะและคำสั่ง 
          ใช้สำหรับเทอร์มินัล MT5 
          ในโหมด AUTO ที่ปรึกษาผู้เชี่ยวชาญจะกำหนดประเภทการเติมเต็มโดยอัตโนมัติ 
          อย่างไรก็ตาม ในบางสถานการณ์ คุณอาจต้องตั้งค่าประเภทการเติมเต็มด้วยตนเอง 


          หากคุณพบข้อผิดพลาดเมื่อเปิดสถานะ เช่น 10030 TRADE_RETCODE_INVALID_FILL, Unsupported execution type แสดงว่าคำสั่งที่เหลือมีประเภทการเติมเต็มที่ไม่รองรับ 
          ตั้งค่าประเภทการเติมเต็มตามกฎของโบรกเกอร์ของคุณ


          ตัวอย่าง: 
          FillOrKill
          นโยบายการดำเนินการนี้หมายความว่าคำสั่งสามารถดำเนินการได้ในจำนวนที่ระบุเท่านั้น หากในขณะนั้นตลาดไม่มีตราสารทางการเงิน (financial instrument) ในปริมาณที่เพียงพอ คำสั่งจะไม่ถูกดำเนินการ ปริมาณที่ต้องการสามารถประกอบด้วยข้อเสนอหลายรายการที่มีอยู่ในตลาดในขณะนั้น 




          ImmediateOrCancel
          หมายถึงการยอมรับที่จะดำเนินการคำสั่งในปริมาณสูงสุดที่มีอยู่ในตลาดภายในขีดจำกัดที่ระบุ หากไม่สามารถดำเนินการได้เต็มจำนวน คำสั่งจะถูกดำเนินการในปริมาณที่สามารถเข้าถึงได้ และปริมาณคำสั่งที่ยังไม่ได้ดำเนินการจะถูกยกเลิก 




          Return (เป็นประเภทการเติมเต็ม)
          โหมดนี้ใช้สำหรับคำสั่งตลาด คำสั่งจำกัดราคา (limit orders) และคำสั่งหยุดจำกัดราคา (stop-limit orders) และใช้เฉพาะในโหมด “การดำเนินการตามราคาตลาด (market execution)” และ “การดำเนินการแบบตลาดหุ้น (stock execution)” เท่านั้น ในกรณีที่มีการดำเนินการบางส่วน คำสั่งตลาดหรือคำสั่งจำกัดราคาที่มีปริมาณคงเหลือจะไม่ถูกยกเลิก แต่จะยังคงดำเนินการต่อไป 
          สำหรับคำสั่งหยุดจำกัดราคา คำสั่งจำกัดราคาที่สอดคล้องกันพร้อมประเภทการดำเนินการ Return จะถูกสร้างขึ้นเมื่อเปิดใช้งาน        

คำถามที่พบบ่อยเกี่ยวกับ CLP CloseIfProfitorLoss

คำถามที่พบบ่อยทั่วไปของเรา

คำตอบสำหรับคำถามที่พบบ่อยที่สุด

ค่าในช่องแก้ไขใน Points หรือ pips คืออะไร?

ใน points (จากตัวแปร Point() ของ MQL)! รายการนี้นำมาจากค่าของตัวแปร Point () ของภาษา MQL

  1. หากคุณมีโบรกเกอร์ 5 \ 3 หลัก ทศนิยม 1 point = 0.00001 \ 0.001
  2. หากคุณมีโบรกเกอร์ 4 \ 2 หลัก ทศนิยม 1 point = 0.0001 \ 0.01

บนกราฟมีสถานะที่เปิดอยู่ 2 สถานะ คือ ล็อต 0.1 และ 0.2 ฉันเห็นว่าจากราคาปัจจุบันถึงจุดคุ้มทุนคือ 50 จุด นั่นคือ ขาดทุน 50 จุด แต่คุณแสดง -150 จุด ทำไม?

การคำนวณเป็นจุดนั้นถูกต้องจากฝั่งของเรา

 ดังนั้น แม้ว่าคุณจะมี 2 สถานะที่มีล็อตต่างกัน ผลรวมของจุดขาดทุนจะสูงกว่าระยะห่างจากราคาปัจจุบันแล้วจึงถึงจุดคุ้มทุน

ที่ปรึกษาคำนึงถึงการคำนวณสเปรด (spread) สวอป และค่าคอมมิชชั่น ดังนั้น การคำนวณและตัวบ่งชี้ทั้งหมดของที่ปรึกษาของเราจึงคำนึงถึงปัจจัยหลายประการ

ลองดูตัวอย่าง:

ถ้า 1 คำสั่งติดลบ –10 จุด ก็คือ –10 จุด ;

ถ้า 2 คำสั่งติดลบ –10 จุด ก็จะเป็น –20 จุด ;

และถ้ามี 2 คำสั่งที่มีล็อตต่างกัน ล็อต 0.1 จะให้ -10 จุด และล็อต 0.2 จะให้ -20 จุด รวมเป็น – 30 จุด 

เพราะถ้าคุณตั้งค่าปิดที่ –50 จุด คุณจะมี 1 คำสั่ง –50 จุด จากนั้นมันจะปิดด้วยการขาดทุน –50 ดอลลาร์ 

แต่ถ้าตามการคำนวณของคุณจะมี 100 คำสั่งที่นั่น แต่ระยะทางคือ –50 จุด เมื่อปิดแล้วจะเป็น –5000 ดอลลาร์ 

ดูเหมือนว่าจะตั้งไว้ที่ –50 จุด และเมื่อปิด จำนวนเงินอาจกระโดดจาก $ 50 ขาดทุน เป็น $ 5000 และอื่นๆ

เป็นไปได้ไหมที่จะตั้งค่า trailingprofit ให้เริ่มจากโซนติดลบ?

 

ใช่ คุณสามารถตั้งค่าให้ trailing profit เริ่มทำงานจากโซนติดลบได้

โปรดตั้งค่า AutoCorrect_LevelCLP  = false ในการตั้งค่า EA

ตัวอย่าง:

ขาดทุน (Loss) = -100 USD
กำไร (Profit) = 10 USD
การเลื่อนระดับกำไร (Trailing Profit) = 100 USD
ราคาเคลื่อนที่ไปในทิศทางของฉัน = +10 USD
ขาดทุนใหม่ = -90 USD
ถ้าราคาเคลื่อนที่สวนทางกับฉัน ฉันจะขาดทุน 90 USD แทนที่จะเป็น 100 USD เริ่มต้น

ตัวอย่างการตั้งค่า Trailing Profit จากโซนติดลบใน Expert Advisor
                             
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 Trailingprofit เปิดอยู่     profitpipstralprofit= 1.999999999998181                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 16.000000000030923                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 17.000000000007276                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 18.000000000029104                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 19.000000000005457                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 22.000000000025466                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 32.00000000001637                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1)    SEPARATE ORDERS 150167924499 ระดับกำไรเพิ่มขึ้น     profitpipstralprofit= 55.00000000001819                               
Exp - VirtualTradePad EXTRA (XAUUSD,H1) CLP SEPARATE ORDERS 150167924499 CloseifProfitorLoss  ปิดโดย profitpipstralprofit = -48.00000000000182 XAUUSD+ ทุกสัญลักษณ์                             
Exp - VirtualTradePad EXTRA (XAUUSD,H1) CLP SEPARATE ORDERS 150167924499 CloseifProfitorLoss  ปิดโดย profitpipstralprofit = -48.00000000000182 XAUUSD+ ทุกสัญลักษณ์ XAUUSD SELL 0.01                             
Exp - VirtualTradePad EXTRA (XAUUSD,H1) CPBS  SYMBOL_FILLING_MODE=3 SYMBOL_TRADE_EXEMODE=1 SYMBOL_EXPIRATION_MODE=15 SYMBOL_TRADE_MODE=4 SYMBOL_TRADE_STOPS_LEVEL=0 SYMBOL_TRADE_FREEZE_LEVEL=0 SYMBOL_ORDER_MODE=127 SYMBOL_START_TIME=0 SYMBOL_EXPIRATION_TIME=0 SYMBOL_SPREAD=19 SYMBOL_SESSION_DEALS=0                             
Exp - VirtualTradePad EXTRA (XAUUSD,H1) ClosePosition 150167924499 ผลลัพธ์ = 10009 สัญลักษณ์ XAUUSD ปริมาณ 0.01 การดำเนินการ 1 tp 0.0 sl 0.0 ประเภท 0 ราคา 2345.55   TRADE_RETCODE_DONE                               
                         

ฟังก์ชันหลักของ CLP CloseIfProfitorLoss EA คืออะไร?

CLP CloseIfProfitorLoss EA จัดการกำไรหรือขาดทุนรวมโดยการปิดสถานะโดยอัตโนมัติและใช้คุณสมบัติการเลื่อนระดับกำไรเพื่อเพิ่มผลกำไรสูงสุด

ฟังก์ชัน Trailing Profit ทำงานอย่างไร?

Trailing Profit ปรับระดับการหยุดขาดทุนแบบไดนามิกเมื่อกำไรเพิ่มขึ้น ช่วยให้คุณล็อกกำไรได้มากขึ้นเมื่อตลาดเคลื่อนไหวไปในทิศทางที่คุณต้องการ

คุณสมบัติ Separate Order คืออะไร?

Separate Order ช่วยให้คุณจัดการและปิดสถานะซื้อ (BUY) และขาย (SELL) ได้อย่างอิสระตามพารามิเตอร์เฉพาะ เช่น การหยุดขาดทุน (stop-loss) และการทำกำไร (take-profit)

EA สามารถจัดการหลายสัญลักษณ์ได้หรือไม่?

ใช่ คุณสามารถกำหนดค่า EA ให้ใช้ฟังก์ชันกับทุกสัญลักษณ์ในเทอร์มินัล หรือจำกัดเฉพาะสัญลักษณ์ปัจจุบัน ซึ่งให้ความยืดหยุ่นในการเทรดคู่สกุลเงินต่างๆ

ปุ่ม “Close ALL” ฉุกเฉินคืออะไร?

ปุ่ม “Close ALL” ช่วยให้คุณปิดสถานะที่เปิดอยู่ทั้งหมดได้ทันที เป็นตัวเลือกทางออกอย่างรวดเร็วในกรณีที่ตลาดเคลื่อนไหวอย่างไม่คาดคิด

ฉันจะเปิดใช้งานฟังก์ชัน CLP CloseIfProfitorLoss ได้อย่างไร?

เปิดใช้งานฟังก์ชันโดยกดปุ่ม ON บนแผงควบคุม ตรวจสอบให้แน่ใจว่าพารามิเตอร์ที่จำเป็นทั้งหมดได้รับการตั้งค่าอย่างถูกต้องเพื่อให้ EA เริ่มจัดการการเทรดของคุณ

สามารถใช้เกณฑ์ใดในการปิดสถานะได้บ้าง?

สถานะสามารถปิดได้ตาม สกุลเงินของเงินฝาก, points (pips), เปอร์เซ็นต์ของยอดคงเหลือในบัญชี หรือระดับการลดลงของเงินทุน (drawdown) ช่วยให้สามารถจัดการความเสี่ยงได้อย่างหลากหลาย

อะไรคือความแตกต่างระหว่าง Trailing Stop และ Trailing Profit?

Trailing Stop ปรับการหยุดขาดทุนสำหรับแต่ละสถานะแยกกัน ในขณะที่ Trailing Profit แก้ไขการหยุดขาดทุนเสมือนสำหรับกำไรรวม ช่วยให้สามารถจัดการกำไรโดยรวมได้

ฉันจะตั้งค่าระดับ Total Loss และ Total Profit ได้อย่างไร?

กำหนดค่า EA ให้ปิดสถานะโดยอัตโนมัติเมื่อขาดทุนรวมหรือกำไรรวมถึงค่าที่ตั้งไว้ล่วงหน้าเป็นดอลลาร์, points, หรือเปอร์เซ็นต์ของยอดคงเหลือในบัญชีของคุณ

โหมด Virtual Stop Loss/Take Profit คืออะไร?

Virtual Stop Loss/Take Profit ตั้งค่าระดับเสมือนสำหรับการปิดสถานะโดยไม่ต้องใช้คำสั่งหยุดขาดทุนจริง ช่วยให้ EA จัดการการปิดตามเกณฑ์ที่กำหนด

ฉันจะเปิดใช้งานโหมด Separate BuySell ได้อย่างไร?

เปิดใช้งานตัวเลือก Separate BuySell เพื่อคำนวณและปิดสถานะซื้อ (BUY) และขาย (SELL) อย่างอิสระ เพิ่มการควบคุมที่แม่นยำสำหรับแต่ละทิศทางของตลาด

EA สามารถใช้กับบัญชีเทรดใดก็ได้หรือไม่?

ใช่ EA นั้นเข้ากันได้กับทุกบัญชีเทรดและสามารถทำงานร่วมกับที่ปรึกษาอื่นๆ หรือกลยุทธ์การเทรดด้วยตนเองได้

EA จัดการกับการลดลงของเงินทุนอย่างไร?

EA สามารถปิดสถานะโดยอัตโนมัติเมื่อบัญชีประสบกับระดับการลดลงของเงินทุนที่ระบุ จัดการและลดความสูญเสียที่อาจเกิดขึ้นได้อย่างมีประสิทธิภาพ

คุณสมบัติหลักของแผงควบคุมคืออะไร?

แผงควบคุมมีอินเทอร์เฟซที่ใช้งานง่ายสำหรับการจัดการการเทรด การตั้งค่าระดับกำไร/ขาดทุน การเปิดใช้งานคุณสมบัติต่างๆ เช่น Separate Orders และการตรวจสอบสถานะของ EA

ฉันจะกำหนดค่า Trailing Profit เป็นเปอร์เซ็นต์ได้อย่างไร?

ตั้งค่าระดับ Profit% และระยะทาง TrailingProfit เป็นเปอร์เซ็นต์ ตัวอย่างเช่น ตั้งค่า Profit% เป็น 2% และ TrailingProfit เป็น 1% ดังนั้นการเลื่อนระดับจะเริ่มทำงานเมื่อกำไรเกิน 2% และปรับตามกำไรที่เพิ่มขึ้น

จะเกิดอะไรขึ้นเมื่อ Trailing Profit เปิดใช้งาน?

เมื่อ Trailing Profit เปิดใช้งาน EA จะตั้งค่าระดับการปิดใหม่ตามระยะทางที่เลื่อน หากกำไรลดลงต่ำกว่าระดับนี้ สถานะทั้งหมดจะถูกบังคับปิดเพื่อรักษากำไร

EA แสดงสถานะของ Trailing Profit อย่างไร?

อินดิเคเตอร์บนแผงควบคุมจะแสดงเป็นสีเขียวเมื่อ Trailing Profit ทำงาน และเป็นสีแดงเมื่อปิดอยู่ ทำให้เห็นสถานะของฟังก์ชันได้อย่างรวดเร็ว

ฉันสามารถปรับแต่งการตั้งค่า EA ภายนอกได้หรือไม่?

ใช่ โดยการเปิดใช้งาน VPS_CLP_Activation คุณสามารถจัดการฟังก์ชันการปิดผ่านตัวแปรภายนอกได้ ช่วยให้สามารถปรับแต่งได้โดยไม่ต้องใช้แผงควบคุมภายใน

ฉันควรทำอย่างไรหากช่องกำไรกะพริบเป็นสีแดง?

หากช่องกำไรกะพริบเป็นสีแดง แสดงว่ามีข้อผิดพลาดกับค่าที่ตั้งไว้ ตรวจสอบให้แน่ใจว่าค่ากำไรตั้งไว้สูงกว่า 0 และแก้ไขค่าที่ป้อนที่เป็นลบ เนื่องจาก EA ต้องการค่าบวกสำหรับกำไร

เส้นหยุดเสมือนแสดงอย่างไร?

เส้นหยุดเสมือนสำหรับการปิดสถานะในอนาคตจะแสดงบนกราฟเมื่อเปิดใช้งาน Show_Future_BE_TP_SL ซึ่งเป็นสัญญาณภาพสำหรับจุดปิดที่เป็นไปได้

มีความแตกต่างในการจัดการสถานะซื้อและขายหรือไม่?

ใช่ ด้วยคุณสมบัติ Separate BuySell EA จะตรวจสอบและปิดสถานะซื้อ (BUY) และขาย (SELL) อย่างอิสระ ทำให้มั่นใจได้ถึงการจัดการที่แม่นยำสำหรับแต่ละทิศทาง

EA จัดการสถานะบนเซิร์ฟเวอร์ VPS อย่างไร?

เมื่อเปิดใช้งาน VPS_CLP_Activation EA จะจัดการฟังก์ชันการปิดผ่านการตั้งค่าภายนอก เนื่องจาก MetaQuotes จำกัดการส่งตัวแปรส่วนกลางไปยังเซิร์ฟเวอร์ VPS จาก MQL

ฉันควรทำอย่างไรหากสถานะเกิดการล็อกและไม่แสดงเส้น?

หากไม่แสดงเส้น อาจบ่งชี้ว่าสถานะกำลังเกิดการล็อกและไม่สามารถปิดได้ด้วยกำไรหรือขาดทุนทั้งหมด ตรวจสอบให้แน่ใจว่าโหมด Separate Orders ได้รับการกำหนดค่าอย่างถูกต้อง

EA สามารถทำงานร่วมกับ Expert Advisors อื่นๆ ได้หรือไม่?

ใช่ EA ได้รับการออกแบบมาเพื่อการใช้งานสากลและเข้ากันได้กับที่ปรึกษาอื่นๆ หรือกลยุทธ์การเทรดด้วยตนเอง ช่วยให้สามารถรวมเข้ากับการตั้งค่าการเทรดของคุณได้อย่างราบรื่น

EA จัดการกับข้อผิดพลาดในการตั้งค่ากำไรและขาดทุนอย่างไร?

EA จะแก้ไขข้อผิดพลาดโดยอัตโนมัติโดยการแปลงค่ากำไรที่เป็นลบเป็นบวก และในทางกลับกันสำหรับค่าขาดทุน หากตั้งค่าเป็น 0 ช่องจะกะพริบเป็นสีแดง แสดงว่ามีข้อผิดพลาด

ข้อมูลใดบ้างที่แสดงบนแผงควบคุม?

แผงควบคุมแสดงเงื่อนไขปัจจุบันของสถานะของคุณ รวมถึงระดับกำไร/ขาดทุนเป็นดอลลาร์, pips และเปอร์เซ็นต์ ตลอดจนสถานะของฟังก์ชันที่ใช้งานอยู่ เช่น Trailing Profit

ฉันจะตั้งค่าการทำกำไรเสมือนและการหยุดขาดทุนเสมือนได้อย่างไร?

เปิดใช้งาน Virtual Stop Loss/Take Profit โดยเลือก Separate Deals ตั้งค่ากำไร (Profit) และขาดทุน (Loss) ที่ต้องการเป็นดอลลาร์, pips หรือเปอร์เซ็นต์ และเปิดใช้งานตัวเลือก CLP ON บนแผงควบคุม

มีวิดีโอสอนการใช้งาน EA หรือไม่?

ใช่ บทความนี้มีตัวอย่างการใช้งานที่นำเสนอในรูปแบบรูปภาพและวิดีโอ ซึ่งสาธิตวิธีการกำหนดค่าและใช้งาน EA อย่างมีประสิทธิภาพ

ประวัติการเปลี่ยนแปลงสำหรับ CLP CloseIfProfitorLoss

Fixed autosize error when minimizing the panel.

Version 25.501 2025.05.01
✅ New Features and Improvements
🔹 Auto Font Size (GeneralAutoSize)
Introduced a smart text resizing mechanism. When enabled, the panel automatically adjusts font size based on 80% of the chart height.To activate, set the following inputs to -1:
GeneralSize = -1; // General size of the PAD
MAGIC_FONTSIZE = -1; // Text size on the chart
ShowInfoPositionSize = -1; // Position info text size
ShowInfoClosedPositionSize = -1; // Closed position info text size

🔹 Responsive Layout
Font size dynamically adapts when the chart height changes, ensuring optimal readability.

🔹 Toolbar Enhancements
The "Screenshot" and "Information" buttons have been moved to the panel header for quick and convenient access.

🔹 UI Refinements
Improved graphical layout and design elements for a more polished user experience.

🔹 Localization Improvements
Translation quality has been enhanced to ensure consistent, accurate language support across all supported regions.

⚙️ MetaTrader 5 Specific Updates
🔹 Asynchronous Mode Support

input bool AsyncMode = true; // Enable asynchronous command execution

A new asynchronous command mode has been introduced for all Close, Lock, Modify, Delete operations, as well as for the CLP tab.
⚠️ Note: In this mode, execution results are not tracked, and some commands may be skipped due to the lack of confirmation control.

💡 Additional Enhancements
🔹 Performance Optimization
Minimized resource consumption for visual components and background processes.

🔹 Enhanced Scalability
Improved display behavior for high-resolution screens and multi-window setups.

🔹 Code Maintenance
Legacy components were refactored for cleaner structure, improved speed, and future compatibility.

Version 25.201 2025.02.05
We are excited to introduce new languages to our functionality. Users can now enjoy an even wider range of language options for their convenience and comfort. Here’s the list of newly added languages:
THAI=12, // ไทย
INDI=13, // हिंदी
MALAY=14, // Bahasa Melayu
INDONEZIA=15, // Bahasa Indonesia
ARAB=16, // العربية
VETNAM=17, // Tiếng Việt
BALKAN=20, // Балканский
POLAND=21, // Polski
CHEZH=22 // Čeština
Update your application and enjoy working in your native language! 🌐
Version 24.927 2024.09.27
Update Update
Version 24.919 2024.09.18
ShowInfoClosedPositionSize parameter error fixed
Version 24.918 2024.09.18
Compiled in the latest terminal version
Updated to ensure compatibility with the most recent terminal release.Global Interface Translation Overhaul
Comprehensive updates to the interface translation across all supported languages.New Languages Added
Expanded language support with the inclusion of new languages.

Version 24.426 2024.04.26

– CLP tab: with AutoCorrect_LevelCLP = false, you can work with negative trailing profit!
You can set trailing profit to be triggered from the minus zone.

Please set AutoCorrect_LevelCLP = false in the EA settings.

Example:
Loss = -100 USD
Profit = 10 USD
Trailing Profit = 100 USD
Price moves in my direction = +10 USD
New Loss = -90 USD
If the price moves against me, I will have lost 90 USD instead of the initial 100 USD.

Version 24.419 2024.04.20

– Optimization of the “Show Profit on History” function
– Added CLP tab settings to the Trade Pad external parameters.
Because MetaQuotes prohibits sending global variables to the VPS server from MQL (MetaQuotes), all buttons, checkboxes, edit fields, and controls on the Trade Pad panel no longer work on VPS from MQL (MetaQuotes).
You can customize the function of closing by total profit or loss from the external settings of the Utility:
Attention! If the VPS_CLP_Activation parameter is enabled (true), then All settings for this function will work from external variables!
Objects on the CLP tab – will be inactive!

e05vps=”================= VPS MQL5 CLP options ==================”;//———————————————————————————————————
VPS_CLP_Activation=false;//VPS_CLP_Activation –> CLP activation for VPS
VPS_CLP_AllSymbols=false;
VPS_CLP_CurrentSymbol=false;
VPS_CLP_SeparateBUYSELL=false;
VPS_CLP_SeparateDEALS=false;
e060=”===================================”;//———————————————————————————————————
VPS_CLP_Profit_Currency=false;
VPS_CLP_Profit_Currency_amount=0;
VPS_CLP_Profit_Pips=false;
VPS_CLP_Profit_Pips_amount=0;
VPS_CLP_Profit_Percent=false;
VPS_CLP_Profit_Percent_amount=0;
e061=”===================================”;//———————————————————————————————————
VPS_CLP_Trailing_Profit_Currency=false;
VPS_CLP_Trailing_Profit_Currency_amount=0;
VPS_CLP_Trailing_Profit_Pips=false;
VPS_CLP_Trailing_Profit_Pips_amount=0;
VPS_CLP_Trailing_Profit_Percent=false;
VPS_CLP_Trailing_Profit_Percent_amount=0;
e062=”===================================”;//———————————————————————————————————
VPS_CLP_Loss_Currency=false;
VPS_CLP_Loss_Currency_amount=0;
VPS_CLP_Loss_Pips=false;
VPS_CLP_Loss_Pips_amount=0;
VPS_CLP_Loss_Percent=false;
VPS_CLP_Loss_Percent_amount=0;

Version 24.124 2024.01.24

Compilation in the latest terminal build.
Long Ticket Number: Fixed CLP Trail Profit error when working with brokers with long ticket numbers.

Version 23.913 2023.09.18

——————————
-Last Build Compilation
-EAPADPRO v44

Version 22.111 2022.01.12

Update repeat

Version 22.110 2022.01.12

Исправлекна ошибка рисования объектов для новых версий терминала MT5

Version 21.956 2021.11.14

Code optimization and General improvements and bug fixes as reported by users.

Version 20.952 2020.10.22

– Added parameter to CLP (Closing on total profit and loss) settings:
— CPL_CloseAllCharts_per_CloseAllDeals = close charts / other charts before closing positions.
— This parameter allows us to solve the problem when our panel begins to close positions upon reaching the total profit or loss, and in the meantime, other experts simultaneously begin to open new positions.
— The CPL_CloseAllCharts_per_CloseAllDeals parameter closes only those charts on which other Expert Advisors are installed (except for VirtualTradePad) only for MT5.
— The CPL_CloseAllCharts_per_CloseAllDeals parameter closes All charts (When All Symbols is enabled) or only those with a chart symbol = VirtualTradePad symbol.
— The CPL_CloseAllCharts_per_CloseAllDeals parameter saves chart templates before closing them! The template can be downloaded later. Template name: VTP_Symbol_Period_Name of the expert (only for MT5).
Important:
— In MT5: Only those charts on which the Expert Advisor is installed are closed in MT5

Version 20.608 2020.06.08

Перекомпиляция 2485

Version 20.423 2020.04.23

-In the CLP_Alert CLP_Push Notification, the name of the currency pair with which the program works has been added.
-In the CLP_Alert CLP_Push Notification, the name of the currency pair, position type and lot of the closed position are added.

Version 20.206 2020.02.09

=================================================== =====================================
— Added opportunity to use Expert Adviser on Forex VPS for MetaTrader 4/5 from MetaQuotes
It works on any chart. Supports multiple chart at once!
Tabs work: CLP, TrailinStop, Signals!
Before changing the variables on your computer:
1. Enable AutoTrading to make the Expert Advisor active.
2. change the parameters,
3. After that, start the Migration!
=================================================== =====================================
– Added Risk Manager: Risk Manager Limiting losses / profits / Lots / Numbers
Block Limiting updated and supplemented!
This settings block allows users to limit Profit / loss / lots / number of deals/positions for a specified time.
A risk manager who monitors your trading and notifies you that the time limit has been exceeded with Current positions / today / week / month / all the time.

Settings:
CurrentOpenDeals – Take into account current open deals/positions;
ClosedDeals – Take into account closed deals / positions over time:
LimitFor – The time during which closed deals / positions in the history will be checked;
LimitForLosses – Loss limit at which the EA will sent a message, must be specified with -;
LimitForProfits – Profit limit at which the EA will sent a message;
LimitForLotsDeals – Limit of Lots of deals / positions, at which the adviser will sent a message;
LimitForCountDeals – Limit of the number of deals / positions at which the EA will sent a message;
NotificationMailSend – Send a message to the phone (PUSH) and mail if the limit is exceeded;

Version 20.129 2020.01.29

Исправлено завсиание при сворачивании

Version 20.127 2020.01.27

TesterHideIndicators

Version 20.125 2020.01.27

— Forced writing global variables to disk.
— Color of TrailingStop and CLP in the ON mode – is changed to green.
– The version for the MetaTrader 5 terminal now can use scrolling (on the mouse):
If you hover over the field for editing the parameter (lot, stop loss, take profit, distance, CLP), then when scrolling with scrolling, you can increase or decrease the value in this field!
Note: Only for MetaTrader 5!
Note: Scrolling of the chart is disabled if the cursor is on the area of our VIRTUALTRADEPAD panel and is enabled if the cursor is outside the VIRTUALTRADEPAD area.

Version 20.110 2020.01.10

Added CLP: New parameter Use_Commission_in_CLP – Use calculation of commission when closing positions.
true – take into account the commission in the calculations.
false – do not take into account the commission in the calculations.
Attention: The commission is calculated from an open deal and multiplied by 2 (When closing a deal a commission is also charged)
This is the standard way to calculate commission!
In MetaTrader 5, it is impossible to get the type of commission calculation from an adviser!
If you do not want the adviser to automatically calculate the commission, you can turn off this feature!
Attention! This function only affects the calculations on the CLP tab, all other tabs work in standard mode, taking into account commissions.

Version 19.992 2019.12.15

CLP – Обновлен расчет прибыли для CFD, Index

Version 19.991 2019.12.02

CLP: Fixed display of future levels (Show_Future_BE_TP_SL) for BUY positions.
CLP: The Show_Future_BE_TP_SL function has been added to show future profit / loss lines when closing is selected as a percentage of the current balance.
CLP: Added a new parameter to the “CLP options” section:
ClosebyFIFO = Closing positions according to FIFO rules;
When closing positions, the FIFO rule will be used (First opened, First closed).
The position will be closed in the order of their opening!
Attention: This rule is intended to be used only when working with all symbols and closing all positions at once.
Attention: This mode prohibits the use of functions: Separate Deals

Version 19.830 2019.08.31

Update for Separate Order

Version 19.824 2019.08.26

Fixed Virtual CLP error when the list of orders was not updated.

Version 19.701 2019.07.06

– A new parameter has been added to the function “Closing by total profit or loss”:
ClosingCurrentTicketOnly – Close only the current list of tickets.
This option will help to avoid problems when my program starts to close positions on the basis of total profit, and the user’s adviser starts to open new positions.
ClosingCurrentTicketOnly = true, Then the VirtualTradePad program, if the total profit conditions are met, will close the current list of positions. If new tickets are added to the list of positions, the VirtualTradePad program will ignore them.
ClosingCurrentTicketOnly = false, Then the VirtualTradePad program, if the total profit conditions are met, will close all positions, even if another adviser opens new positions.

Version 19.228 2019.02.26

Fixed a percentage value profit on the CLP tab when the user did not press Enter to save parameters.

Version 19.226 2019.02.26

Общие улучшения

Version 19.211 2019.02.11

Fixed the error of moving the graph when the panel is minimized!

Version 19.206 2019.02.06

– In the CLP block, when closing positions by profit in points, the profit in the deposit currency will be additionally checked.
Actual when closing positions with different volume of lots.
If the adviser can close positions by profit in points, but the profit in the deposit currency is less than 0, then the adviser will not close the position, but will wait for the positions to gain profit in the deposit currency> 0.
– Text labels with information about open positions are reduced, to save space.
– Cosmetic enhancements.

Version 19.201 2019.01.30

Global Update 2019
– Improved graphics part of the panel. Re-design of individual elements;
– Added the ability to resize the panel: GeneralSize!
– GeneralSize default = 12, Increasing the size of the panel.
– Last panel size with GeneralSize = 10!
– Text labels of open positions optimized. Fixed error when text labels were drawn on top of the VirtualTradePad panel;

Version 19.121 2019.01.21

Some graphical changes.

Version 19.114 2019.01.17

Global Update 2019:
– When using CLP_DeleteStopOrders = true and the CloseALL buttons, the choice of characters to close is taken into account (All symbols, only the current one);
– Added hints to external variables when setting up the program;
– Added language selection tips Language: Spanish, Portuguese (Brazil), German, Chinese, Japanese;
By default, the language of prompts will be determined automatically by the language of your terminal. You can also choose your language;
The translation was made using the GOOGLE Translator + MQL + Terminal site!
If you find an error in your language, please report it in messages. Thank!
– Parameter and function Sounds replaced by a more advanced function from our EAPADPRO
Added new parameters:
Notice_Open_Push = false;
Notice_Open_Sound = true;
Notice_Close_Push = false;
Notice_Close_Sound = true;
Notice_Modify_Push = false;
Notice_Modify_Sound = true;
Notice_Error_Push = false;
Notice_Error_Sound = true;
Notice_Open_NameSoundFromEa = “ok”;
Notice_Close_NameSoundFromEa = “alert2”;
Notice_Modify_NameSoundFromEa = “stops”;
Notice_Error_NameSoundFromEa = “timeout”;
You can enable / disable sound when opening, closing, modifying, error, as well as specify the name of the sound file (without .wav)
You can also enable notification to the phone (PUSH messages) when opening, closing, modifying, an error.
Additional information is displayed in the log.
– The ShowInfoPosition function has been updated; now the position information on the chart will not overlap our panel. Dynamic change of coordinates of information data on a chart.
– Font name changed to Roboto

Version 18.945 2018.10.18

The parameters of the number of attempts to close and open positions using one-click trading are added in external variables:
NumberTryClose – The number of attempts to close a position.
When receiving an error from the server, the adviser tries to open / close.
Required with frequent requotes.

CLP Activation (Close if Profit or Loss Activation) Changed!
ON OFF buttons are added to the panel for more understandable action!

Version 18.932 2018.10.01

– Added support for the work of the Expert Advisor and the CLP tab (Closing on Total Profit or Loss) on VPS hosting from MetaQuotes.

Version 18.515 2018.05.23

– Fixed the error with profit trailing and closure at a loss, which occurred when using the closing on all symbols.

– Added a variable for specifying the currency pair for the panel to work with: SymbolToTradeCustom
This allows working on offline charts (Tick charts, Renko charts, etc.).
Attention: Be careful when writing the name. The name should exactly match the name in the Market Watch!
EurUSD – incorrect!
EURUSD – correct!
If this parameter is not set, the EA works on the currency pair it is attached to.

– Added the ability for Magic Target to work on an offline (Tick, Renko…) chart.

– Added the indication of the feature operation to the CLP tab.
If the indication is red, the feature is disabled and does not work;
If the indication is green, the feature is enabled and working.

Version 18.309 2018.03.14

Fixed an error in the Close ALL button.

Version 18.227 2018.03.06

– Added support for font scaling in Windows (font size settings are not available);

– Added support for multiple magic numbers. Updated the MagicNumber parameter: the first number denotes the magic number for opening positions and management. It is also possible to set multiple magic numbers to be managed;
For example:
— MagicNumber=777 UseAllMagicFromAllAccount=true: the EA monitors all positions on the current symbol and on the entire account;
— MagicNumber=777 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic number 777 on the current symbol and on the entire account;
— MagicNumber=777,888 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic numbers 777 and 888 (opens positions with the magic number 777) on the current symbol and on the entire account;
— MagicNumber=777,888,999 UseAllMagicFromAllAccount=false: the EA monitors positions with the magic numbers 777, 888 and 999(opens positions with the magic number 777) on the current symbol and on the entire account;

– When a new object appears on the chart, the panel is refreshed to avoid overlapping of objects on the panel;

Version 17.979 2017.12.12

Cosmetic changes.

A new parameter has been added: CPL_AUTOOFF_AfterClose allows disabling the “Close if profit or loss” button after closing all positions.
The button is only disabled when ALL! positions are closed.
It takes into account the magic number specified in the EA, as well as the symbol for closing.
If closing only 1 currency is selected and the CPL_AUTOOFF_AfterClose parameter is enabled, the EA waits for all positions on the given currency pair to be closed, and can disable the button only after that!

BugFix: Fixed dragging of trade levels (Stop Loss, Take Profit) when hovering over the panel and back.

Version 17.970 2017.11.13

In the EA settings, changed the option for closing the terminal after all trades are closed.
Parameter CPL_CloseTerminalAfterClose – enable closing the terminal.
CPL_CloseTerminalAfterClose = true.
Terminal is closed only when ALL! positions are closed.
It takes into account the magic number specified in the EA, as well as the symbol for closing.
If closing only 1 currency is selected. If the CPL_CloseTerminalAfterClose parameter is enabled, the EA waits for all positions on the given currency pair to be closed, and cab close the terminal only after that!

Added the Show_Future_BE_TP_SL parameter to CLP – show the lines of the future position closure by total profit or loss.
Attention: it works only on the current symbol and with the ‘SEPARATE Orders’ mode disabled.
The lines are displayed separately for Buy and Sell positions, or by a common line.
If a line is not shown, then the positions form a lock that cannot be closed by the total profit or loss.
Note: line and price data may be inaccurate for floating spread.
Remember! SELL is closed by ASK, while BUY is closed by BID

Profit trailing can now be enabled only after setting the parameters for closing by profit.

Added the profit trailing values on the CLP panel near the input box for the distance of Trailing Profit. The value appears when the trailing level is fixed by the EA and shows the fixed level for closure.

Added block of alerts for profit and loss in the deposit currency.
If you want to limit the losses on the current client magic number, you can do that in the new block.
For example: you need the EA to send you emails and display on-screen alerts when the total loss of open and closed trades within LimitFor becomes less than -100 USD:

Set the parameters to the following:
LimitFor=0;
LimitForLosses=-100;
LimitForProfits=0;

After receiving the daily loss of -100 USD in history for the given magic number, the EA displays an on-screen alert and sends an email.
Attention: this block does not close trades! It simply displays alerts!
At the next LimitFor, this parameter is reset to 0.

You can select LimitFor= DAY;WEEK;MONTH;ALLTIME;
You can also enable sending email and push notifications when reaching the limits of NotificationMailSend

To the CLP panel for closing by profit or loss, added a block of notifications when closing positions by profit or loss. 3 notification methods are available:
CPL_AlerT – alert message
CPL_Mail – email message
CPL_Push – push notification
How to set up mobile device or email to messages from the Expert Advisor:
https://www.metatrader4.com/en/trading-platform/help/setup/settings_notifications
https://www.metatrader4.com/en/trading-platform/help/setup/setup_email

the MagicOrderToClose parameter has been replaced by 2 parameters:
MagicNumber – unique magic number of positions to close.
UseAllMagicFromAllAccount:
true = apply the function of closing by total profit or loss to all magic numbers.
false = set the unique magic number for closing positions in the MagicNumber parameter.

Version 17.504 2017.05.11

– Fixed the error with the display of fractional numbers on the CLP panel: when entering fractional numbers in the fields Dollars, Percents and Profit trailing

Version 17.118 2017.01.24

Fixed operation with long tickets

Version 17.105 2017.01.13

-Added parameter Use_Lots_in_CLP_Points for working with the CLP tab – true – the EA will also consider the lot of those positions during calculation of profit points. This option can be useful in trading on a hedging account with different lots.

For example:
opened 2 SELL positions on EURUSD
SELL 0.01 with profit of 20 and 0.2 USD
SELL 0.02 with loss of -12 points -0.24 USD

-If Use_Lots_in_CLP_Points = false the EA will calculate the “net” points.
In this case, the Profit will be: -0.04 USD or 8 points.
As we can see, the position gained profit in points, but it is a loss in USD.

-If Use_Lots_in_CLP_Points = true the EA will calculate points with consideration of lots.
In this case, the profit will be: -0.04 USD or -4 points.
If calculation of profit is in points and the “Include lots in profit calculation” is enabled,
the EA will find the minimum lot of the provided positions and calculate the Points on that basis.
For example:
Minimum position 0.01, 1 “net” point = 1 point,
If a position is opened with a lot of 0.02, then 1 net point = 2 points with consideration of the lot.
If a position is opened with a lot of 0.05, then 1 net point = 5 points with consideration of the lot.

-Added checking of the input values for closing profit or loss:
If the specified profit is lower than the current – system generates a warning and disabled the closure mode.
If the specified loss is greater than the current – system generates a warning and disabled the closure mode.
If set to 0 and user attempts to enable closure – system generates an error.
-Added the AutoCorrect_LevelCLP parameter:
Only negative values can now be entered to the loss field. If user enters +10, the system automatically converts it to -10.
Only positive values can now be entered to the profit field. If user enters -10, the system automatically converts it to +10.

Only a positive value can be entered in the CLP_TralOptions, otherwise the EA generates an error.

-Added the SEPARATE Orders option to the CLP panel for separate calculation and deletion of each position.
“Virtual Stop Loss and Take Profit” mode.
For example, if you set closure by loss to $ -5 and closure by profit to 100 points, each trade will be closed separately by a loss of $ -5 or by profit of 100 points.

-Added the Separate BUYSELL option to the CLP panel, which allows to calculate a close positions by the net profit or loss separately for BUY and for SELL.

Version 16.930 2016.10.03

Updated the algorithm for working on hedging accounts
Fixed the error in the TrailingProfit edit box

Version 16.128 2016.02.01

Added the function to save the settings during the terminal reboot, the change in settings inside the panel, when closing the panel on the chart and attaching the panel to the chart.
All variables and data changes made in the panel are now saved when the terminal is restarted.
If you turn off the terminal and turn it on again – all the parameters will be re-loaded from the global variables.

Added the TrailingProfit function to the CLP tab:
Trailing Stop at Closing.
A new function for trailing profits has been implemented on user demand. In this case, the profit is fixed with some correction. As soon as the profit reaches the specified value, the Expert Advisor saves the current profit level and starts trailing the profit.

For example:
If you made settings for closing at the profit of 10 dollars:
Profit $ – positive closing.
Profit $ – value of positive closing.
TrailingProfit- distance from Profit $, which, when reached, triggers trailing of profit.
If Profit $ is set to 10 and TrailingProfit is set to 5 the Trailing Stop will be set at 5 dollars. The Trailing Stop will come into play when the Expert Advisor passes the 10 dollar line and start moving following the profit. The Journal will show entries about the current profit status.
When the total profit falls below the last fixed level, TrailingProfit, the Expert Advisor will perform forced closing of all position.

The function works for all closure types: Every symbol, Current symbol, Separate BUY and SELL direction, Each order separately.

Version 15.923 2015.09.24

Fill policy parameter has been added to the external parameters:
TypeFilling=FillOrKill

FillOrKill
This fill policy means that an order can be executed only with the specified volume. If the required volume for a given financial instrument is currently unavailable in the market, the order will not be executed. The required volume can be filled using several offers currently available in the market.

ImmediateOrCancel
This means that a trade will be executed with the maximum volume available in the market within the value indicated in the order. In case entire order volume is not available in the market at the moment, a partial fulfillment is possible, but any portion that cannot be filled immediately is canceled.

Return
This fill policy is used for market, Limit and Stop Limit orders and only in the Market Execution and Exchange Execution modes. In case of partial filling a market or Limit order with remaining volume is not canceled but processed further.
When a Stop Limit order triggers, a relevant Limit order will be placed with the Return fill policy.

Version 15.116 2015.01.16

In case of incorrect settings, the Close button will be disabled and an error will be returned to the user.

Version 15.112 2015.01.13

Added check of input data before the start of algorithm operation. Protection against incorrect settings.
For example, if you specify the loss of more than the current one – the system will not allow you to perform the algorithm. Since the positions must be closed immediately.
For example: You have indicated close loss at 2 dollars. Currently loss is -3 dollar. This means that you obviously specified closing level below the current one. And the system will immediately close the position.
In this version, the system returns an error and asks you to enter another value.

If your сurrent loss is -5 dollars, you can set the loss value only -5.1 or below.

If you have a current profit of $10 and you want to set it to $5 – the system will return an error. You can set the value for locking the profit only above the current profit. For example, $11.

รีวิวเกี่ยวกับ CLP CloseIfProfitorLoss

Fxpro Trader Technical

⭐⭐⭐⭐⭐


Been using this ea for a long time and works perfectly, hoping vlad can add a breakeven functions to this ea to make a even more solid ea for everyone. Thanks and lookng forward to your next update. Thank you AA+++

Brandon Thames

⭐⭐⭐⭐⭐


Works as intended.

rafaelmercadop

⭐⭐⭐⭐⭐


I can't thank Vladislav enough for their tool and their patience in upgrading it to meet my needs. They were incredibly helpful and professional throughout the process. Thank you so much for your assistance!
Vladislav Expforex
Reply from ExpForex:
Thank you 😊

Max

⭐⭐⭐⭐⭐


Max
Amazing product, works very well and neat, what I was looking for and also have other his other products like full trade pad, good producer, many detailed functions buttons on chart and also in settings!

Atila R Akdeniz

⭐⭐⭐⭐⭐


Atila R Akdeniz
Excellent Tool, very useful to do operations on the termial. All of Vladislav's products are of excellent quality, and he provides very good support. With the current prices it's a good time to buy all his products.

wingliu27

⭐⭐


wingliu27 2023.11.24 00:07
I have install ea, but why my ea didn’t have close all button ? Please help .Thanks
Vladislav Andruschenko
Reply from developer Vladislav 2023.12.13 10:23 
You can enable this button in the EA settings
 

lorrenzs

⭐⭐⭐⭐


lorrenzs 2023.05.29 03:06 # RU Thanks for your response. Once again this ea is the best ea ever made in my opinion but one critical feature is missing, let me explain. I make a series of trades or just one trade, I hit a profit of $100 for example, now I want to place my trailing profit between 15% to 20% of my profit (not my balance and not my equity, just my profit alone). Now I set my trailing profit at 17.5% of my profit, meaning the profit will trail by $17.5 but as i keep getting more profit the value of the 17.5% keeps changing. For example if profit still rises from $100 to $150 my new trailing profit value would be $26.25. Immediately the trade begins to move in the loss direction it activates the most recent stop loss value and closes the trade if it falls to that value but throughout the trade 17.5% of my total profit was used in trailing my total profit. It has been rigorously proven that a trailing profit of 15% to 20% of the total profit itself is the most profitable take-profit strategy, taken from a sample of 50 years of trading pool, the article supporting this findings can be found online, that is why I am using 17.5% as my trailing profit exit strategy in the example. Also you asked if I am requesting for a new feature, the answer is yes, please make this new feature available, I am pleading. Feature: TRAILING PROFIT IN PERCENTAGE OF TOTAL PROFIT. Thanks for your kind understanding . I gave it 4 stars for now, 5th star after update, thanks in advance.

Vadim V.

⭐⭐⭐⭐⭐


Vadim V.
Hi, I bought Profit or Loss Pad 1 month ago and run it on MT5 and it worked OK. I found the EA very helpful and bug fee in work that helps me to scalp not looking when I need to get out. EA that good tool. 5 stars to Vlad.

Terek

⭐⭐⭐⭐⭐


Terek
купил сразу как нужен был equity trail, потому что все продукты от данного производителя высшего качества. будем посмотреть. функционал вроде не плохой. но сразу бросается в глаза притормаживающее отображение профита на панели, нельзя ли его ускорить как то? еще не нашел функцию отключения кнопки автоторговли после закрытия, но это не так важно. главное что бы equity trail работал.

Stan Baftalovskiy

⭐⭐⭐⭐⭐


Stan Baftalovskiy
Отличный продукт, мне понравился!

Gregory Knobloch

⭐⭐⭐⭐⭐


Gregory Knobloch
Awesome Products from this vendor

Agnaldo Prata

⭐⭐⭐⭐⭐


Agnaldo Prata
Awsome tool, it makes risk management a lot easyer, thanks to the developer, good job.

thrzk01

⭐⭐⭐⭐⭐


thrzk01
It's excellent toll for multi entry trading management(brake even T/P with profit you want in Long/Short Separately).

emat

⭐⭐⭐⭐⭐


emat
Very good product.

rvstrade

⭐⭐⭐⭐⭐


rvstrade
exactly what I needed. great tool. recommended. A+ product and seller.

Agnaldo Prata

⭐⭐⭐⭐⭐


Agnaldo Prata 2020.05.11 14:56
Excellent toll, I have been looking for a good trade manager EA for long time and now I found it, I have been testing it on my live account and it works like a charm.Thanks for the developer, great job done!

Saitama

⭐⭐⭐⭐⭐


Saitama 2020.03.24 08:25
Very great EA and Vladislav is very helpful and responsive with prompt reply to my questions.

spetrosyan1979

⭐⭐⭐⭐⭐


spetrosyan1979 2020.02.25 20:35
Полезный помощник. Не стал мелочиться, купил сразу. Окупился при первом же запуске )) Спасибо.

Konstantin Zharitov

⭐⭐⭐⭐⭐


Konstantin Zharitov 2020.01.15 10:01
Best 30 bucks investment on the market! Thanks for the great product!

Vasil lupanov

⭐⭐⭐⭐⭐


Vasil lupanov
For the good expert 5 gold stars !!! For the designer and the man who created it, 10 gold stars. Thank you my friend !!!

Maik Siebel

⭐⭐⭐⭐⭐


Maik Siebel 2019.08.28 07:32
User didn't leave any comment to the rating

Phoutsamay Tonmany

⭐⭐⭐⭐⭐


Phoutsamay Tonmany 2019.08.10 09:10
this is great product that help you to discipline your trading strategy. 🙂

Wolfgang Rockert

⭐⭐⭐⭐⭐


Wolfgang Rockert 2019.07.02 14:18
Very useful, works combined with other EAs, great work!!!

empol


empol 2019.08.02 12:41
It doesn't work for me, I don't see all the buttons, I can't open the store from the app.

pllm2708

⭐⭐⭐⭐⭐


pllm2708 2019.04.25 10:01
Dear Vladislav, Just purchased this EA a few hours ago and I am already thoroughly enjoying all the rich features. It is really value for money for only $30.00. It is almost everything that I have been looking for EXCEPT the fact that the EA does NOT delete any of the pending orders after the pre-set profit level has been reached. As my EAs trade in a cycle and needs to restart a fresh cycle after the closing of the on-going cycle and the fact that my EAs will only restart a fresh cycle upon all the pending orders being deleted - as a result, all the pending orders which were not deleted are being triggered now and my EAs would just continue to trade the just closed cycle as if nothing had happened. This obviously defeats the whole strategy employed by my EAs. So Vladislav, can we have an urgent update of the EA to include the deletion of ALL the pending orders of the same symbol when the pre-set TP or SL is reached??? The EA would be perfect if you could do that. Also, it would also be an excellent idea if the EA can somehow instruct all the EAs under its management to restart afresh every time when the pre-set TP or SL is hit/reached. If the above two suggestions could be implemented, the EA would really be PERFECT! So, for now, 4 stars only. sincerely, Philip Lee Update I wrote the above review less than 1 hour ago and Mr Vladislav PM me immediately to point out to me that there is already an option in the settings to choose whether or not to delete all pending orders - and I have just tried it and can confirm that there is an option to delete all pending orders. this is BRILLIANT, I really think this EA is all that one could ever ask for in as far as this kind of utility EA is concerned - it has everything and it works beautifully. I highly recommend this EA - this is a real no brainer - for only $30 - go ahead and buy it immediately, no need to think twice. Updated my rating to full 5 stars. Simply BRILLIANT!

Mahen Weerakkody

⭐⭐⭐⭐⭐


Mahen Weerakkody 2019.04.09 05:45
Excellent utility

adam7samuel

⭐⭐⭐⭐⭐


adam7samuel 2018.11.07 18:57
thank god to meet you !

Kin Hung Chow

⭐⭐⭐⭐⭐


Kin Hung Chow 2018.08.22 03:50
Very good Utilities. But I have a problem that MT4 doesnt close after stop out even I set the close terminal to "true". Any ideas for reason?

Staffan Ofwerman

⭐⭐⭐⭐⭐


Staffan Ofwerman 2018.04.26 09:59
This is just what I've been looking for. A great tool and it works fine. I had some trouble with understanding some of the settings, but finally I got it right. And the seller is really, really helpful. Impressive.

Tung Shan Hui

⭐⭐⭐⭐⭐


Tung Shan Hui 2017.12.24 16:22
Great Job! It's useful.

60012345

⭐⭐⭐⭐⭐


60012345 2017.12.21 19:12
Работает и помогает. Нужный инструмент в арсенале трейдера.

To Pui Kuen

⭐⭐⭐⭐⭐


To Pui Kuen 2017.11.11 02:55
This utilities is extremely useful. Great job for Author !

Aslan Khuzmiev

⭐⭐⭐⭐⭐


Aslan Khuzmiev 2017.10.18 16:25
отличный продукт

ropeganika

⭐⭐⭐⭐⭐


ropeganika 2017.10.15 07:47
The author is really helpful!

ericcheungtakyu

⭐⭐⭐⭐⭐


ericcheungtakyu 2017.10.08 06:15
Great tools! the author is very helpful thanks

Manea Marian

⭐⭐⭐⭐⭐


Manea Marian 2017.02.24 14:53
Work great

Валерий Булеев

⭐⭐⭐⭐⭐


Валерий Булеев 2017.02.06 10:51
Еще один отличный продукт от этого программиста! Спасибо! Необходимый инструмент для контроля прибыльности и убыточности сделок, использую как дополнение к своему советнику. Очень хорошо работает поддержка, приятно работать с такими людьми, еще раз спасибо!

DAVID DE CABO


DAVID DE CABO 2016.12.22 03:22
EA's do not stop when operations are closed. I am very upset because this robot does not work as described

Bambang Arief

⭐⭐⭐⭐⭐


Bambang Arief 2016.12.14 14:12
This tool is very important and useful, like Master that teach how to become a discipline trader. >>Version 16.990 - 2016.12.13>> works for ECN account and count swap fee (if any)

Ikechukwu Emmanuel Okaro

⭐⭐⭐⭐⭐


Ikechukwu Emmanuel Okaro 2016.06.29 06:05
This is a very important tool in any serious trader's arsenal. 5 stars!

Victor Epand

⭐⭐⭐⭐⭐


Victor Epand 2016.02.28 20:41
This EA can be very useful when combined with other EAs to set the desired minimum drawdown in % of balance at which time all positions will be closed.

Mark Huggett

⭐⭐⭐⭐⭐


Mark Huggett 2016.02.20 01:25
Thank you, Vladislav. You have done a very nice job developing this application. It closed a position perfectly yesterday at my intended profit.

bsandaruwan

⭐⭐⭐⭐⭐


bsandaruwan 2016.01.17 15:16
Before talk about the EA I like to talk about Author He is the best Author I saw in Mql5 His service 5star for me. Very kind and honest person Always response with very patient & professional way with his Knowledge. Profit or Loss Ea very useful for me. Its work very well with all currency pairs. Extremely happy with Ea Thx Lot Vladislav for your nice EA’s and 5 star Service.

Frederic Fachard

⭐⭐⭐⭐⭐


Frederic Fachard 2015.05.26 18:37 # RU I bought this product in january 2015. I'm happy with it 🙂 It really makes what he is supposed to ! It can close order(s) for a specified symbol OR ALL orders Setting of the targets (win and/or loss) are easy to setup (in account currency and/or points and/or % of balance) Hint : About setting the targets in "loss", don't forget to ADD THE MINUS SIGN BEFORE THE VALUES 😉 For example, if you enter positive value (without the minus sign) on "Loss $" field, the order may be immediately closed ! In loss section, you have to enter "-5.00" if you want the order to close when your loss reached USD 5.00 ... Things that could be enhanced : - When market is fast moving, the EA have some difficulty to follow... (the target may be reached for a flash moment and sometimes the EA miss it...) - Maybe an alert by email and/or push when the EA closes some order with details about what have been done. All in all, thank you for this nice product 🙂

Alexey Lushnikov

⭐⭐⭐⭐⭐


Alexey Lushnikov 2015.04.09 22:38
Спасибо. Хорошая программа для контроля просадки и общей прибыли

Giovanni Pascoli

⭐⭐⭐⭐⭐


Giovanni Pascoli 2014.04.24 19:01
Very good expert. Thank you.

ความคิดเห็นเกี่ยวกับ CLP CloseIfProfitorLossCLP CloseIfProfitorLoss

ใส่ความเห็น

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องข้อมูลจำเป็นถูกทำเครื่องหมาย *

5 ตอบกลับไปที่ “CLP CloseIfProfitorLoss. การควบคุมกำไรรวมหรือขาดทุนรวมพร้อมฟังก์ชัน Trailing Profit.”

  1. Fredrick Kenyon Avatar
    Fredrick Kenyon

    Thanks for the utility, I really like it

  2. Expforex Vladislav Avatar

    Français : CLP : Fermeture sur profit ou perte + Fonction de Trailing Profit
    https://www.youtube.com/watch?v=J1feTxvPUuk

    Guide complet : https://www.expforex.com/?p=78
    💎 CloseIfProfitorLoss MT4 : https://www.mql5.com/fr/market/product/2945
    💎 CloseIfProfitorLoss MT5 : https://www.mql5.com/fr/market/product/872

    Marques de temps :
    00:00 Aperçu
    01:53 Installation
    02:44 Fermeture sur profit total
    03:18 Fermeture sur perte totale
    03:50 Fermeture avec Trailing Profit
    04:45 Fermeture de tous les symboles avec Trailing Profit
    05:41 Fermeture des positions séparées avec Trailing Profit
    06:42 Exemple de VirtualTradePad

    L’EA permet de fermer les positions dans MetaTrader lorsqu’un profit ou une perte totale est atteint, en utilisant la fonction de Trailing Profit.

    Principales caractéristiques :

    Vous pouvez activer les arrêts virtuels (Ordre séparé).
    Calculer et fermer les positions d’achat et de vente séparément (Achats et Ventes séparés).
    Fermer et calculer pour tous les symboles ou uniquement le symbole actuel (Tous les symboles).
    Activer le Trailing Profit (Profit suiveur).
    Fermer à l’atteinte d’un profit ou d’une perte totale dans la devise du dépôt, en points (Pips) ou en pourcentage du solde.

    Mots-clés : Vladon, Expforex, CLP, CloseIfProfitOrLoss, Fermeture sur profit, Profit total, Fermeture sur profit ou perte, Trailing Profit, Stop suiveur intelligent, MetaTrader, MT4, MT5, Trading automatisé, Expert Advisor, Stops virtuels, Gestion des risques, Protection des profits, Stratégie Stop-Loss, Trading Forex, Fonction de Trailing, Signaux de trading, Outils de trading, Plateforme de trading.

  3. Expforex Vladislav Avatar

    Deutsch: CLP: Schließen bei Gewinn oder Verlust + Trailing-Gewinnfunktion
    https://www.youtube.com/watch?v=YD6UFvGS82M

    Vollständige Anleitung: https://www.expforex.com/?p=78
    💎 CloseIfProfitorLoss MT4: https://www.mql5.com/de/market/product/2945
    💎 CloseIfProfitorLoss MT5: https://www.mql5.com/de/market/product/872

    Zeitmarken: 00:00 Übersicht
    01:53 Installation
    02:44 Schließen bei Gesamtgewinn
    03:18 Schließen bei Gesamtsverlust
    03:50 Schließen mit Trailing-Gewinn
    04:45 Schließen aller Symbole mit Trailing-Gewinn
    05:41 Schließen separater Positionen mit Trailing-Gewinn
    06:42 Beispiel des VirtualTradePad

    Der EA ermöglicht es, Positionen im MetaTrader zu schließen, wenn ein Gesamtgewinn oder -verlust erreicht wird, unter Verwendung der Trailing-Gewinnfunktion.

    Hauptfunktionen:

    Sie können virtuelle Stopps aktivieren (Separate Order).
    Kauf- und Verkaufspositionen separat berechnen und schließen (Separate Käufe und Verkäufe).
    Schließen und Berechnen für alle Symbole oder nur für das aktuelle Symbol (Alle Symbole).
    Aktivierung des Trailing-Gewinns (Trailing Profit).
    Schließen bei Erreichen eines Gesamtgewinns oder -verlusts in der Einzahlungswährung, in Punkten (Pips) oder in Prozent des Kontostands.

    Schlüsselwörter: Vladon, Expforex, CLP, CloseIfProfitOrLoss, Schließen bei Gewinn, Gesamtgewinn, Schließen bei Gewinn oder Verlust, Trailing-Gewinn, Intelligenter Trailing-Stop, MetaTrader, MT4, MT5, Automatisiertes Trading, Expert Advisor, Virtuelle Stopps, Risikomanagement, Gewinnabsicherung, Stop-Loss-Strategie, Forex-Handel, Trailing-Funktion, Handelssignale, Trading-Tools, Handelsplattform.

  4. Expforex Vladislav Avatar

    Português. CLP: Fechamento de Lucro ou Perda + função de trailing de lucros
    https://www.youtube.com/watch?v=yI4txQfDCEU

    Guia completa: https://www.expforex.com/?p=78
    💎 CloseIfProfitorLoss MT4: https://www.mql5.com/pt/market/product/2945
    💎 CloseIfProfitorLoss MT5: https://www.mql5.com/pt/market/product/872

    Marcos de tempo:
    00:00 Visão geral
    01:53 Como instalar
    02:44 Fechamento por lucro total
    03:18 Fechamento por perda total
    03:50 Fechamento com trailing de lucros
    04:45 Fechamento de todos os símbolos com trailing de lucros
    05:41 Fechamento de operações separadas com trailing de lucros
    06:42 Exemplo do VirtualTradePad

    O EA permite fechar posições no MetaTrader ao alcançar um lucro ou perda total usando a função de trailing de lucros.

    Principais características:

    Você pode ativar os stops virtuais (Ordem Separada).
    Calcular e fechar posições de compra e venda separadamente (Compras e Vendas Separadas).
    Fechar e calcular para todos os símbolos ou apenas o símbolo atual (Todos os Símbolos).
    Habilitar o trailing de lucros (Trailing Profit).
    Fechar ao atingir um lucro ou perda total na moeda do depósito, pontos (Pips) ou percentual do saldo.

    Palavras-chave:
    Vladon, Expforex, CLP, CloseIfProfitOrLoss, Fechamento com Lucro, Lucro Total, Fechamento por Lucro ou Perda, Trailing de Lucros, Stop de Trailing Inteligente.

  5. Expforex Vladislav Avatar

    Español. CLP: Cierre de Ganancia o Pérdida + Seguimiento de Ganancia
    https://www.youtube.com/watch?v=FltYlihxC-Q

    Guía completa: https://www.expforex.com/?p=78
    💎 CloseIfProfitorLoss MT4: https://www.mql5.com/es/market/product/2945
    💎 CloseIfProfitorLoss MT5: https://www.mql5.com/es/market/product/872

    Tiempos clave:
    00:00 Visión general
    01:53 Cómo instalar
    02:44 Cierre por beneficio total
    03:18 Cierre por pérdida total
    03:50 Cierre con trailing de beneficios
    04:45 Cierre de todos los símbolos con trailing de beneficios
    05:41 Cierre de operaciones separadas con trailing de beneficios
    06:42 Ejemplo de VirtualTradePad

    El EA permite cerrar posiciones en MetaTrader al alcanzar un beneficio o pérdida total utilizando la función de trailing de beneficios.

    Características clave:

    Puedes activar los stops virtuales (Orden Separada).
    Calcular y cerrar posiciones de compra y venta por separado (Compra y Venta Separadas).
    Cerrar y calcular para todos los símbolos o solo el símbolo actual (Todos los Símbolos).
    Habilitar el trailing de beneficios (Trailing Profit).
    Cerrar al alcanzar un beneficio o pérdida total en la moneda del depósito, puntos (Pips) o porcentaje del saldo.

    Palabras clave:
    Vladon, Expforex, CLP, CloseIfProfitOrLoss, Cierre con Beneficio, Beneficio Total, Cierre por Beneficio o Pérdida, Trailing de Beneficios, Stop de Trailing Inteligente.

Extra

การนำทางด้วยแท็บ

Forex Tester Pad คือซิมูเลเตอร์ (Simulator) การเทรด Forex สำหรับตัวทดสอบกลยุทธ์ (Strategy Tester) เทรดด้วยอินดิเคเตอร์

Forex Tester Pad คือซิมูเลเตอร์ (Simulator) การเทรด Forex สำหรับตัวทดสอบกลยุทธ์ (Strategy Tester)

การเทรดแบบคลิกเดียว (One-click trading) บนกราฟ Strategy Tester ยูทิลิตีนี้ช่วยให้คุณทดสอบกลยุทธ์ด้วยตนเองใน Strategy Tester การเทรดแบบคลิกเดียวบนกราฟการแสดงผล ฟังก์ชันครบครันและสะดวกสำหรับการทดสอบทักษะการเทรด พร้อมใช้งานแล้วใน Strategy Tester…

The X – ที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor, EA) อเนกประสงค์สำหรับ Forex ด้วยอินดิเคเตอร์มาตรฐาน

The X – ที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor, EA) อเนกประสงค์สำหรับ Forex ด้วยอินดิเคเตอร์มาตรฐาน

ที่ปรึกษาผู้เชี่ยวชาญอเนกประสงค์ (EA) สำหรับ MetaTrader พร้อมฟังก์ชันการทำงานครบครัน The X เป็นเครื่องมือเทรดอเนกประสงค์สำหรับ MetaTrader ที่ให้คุณสมบัติหลากหลายและการตั้งค่าที่ปรับได้ ทำงานร่วมกับอินดิเคเตอร์มาตรฐานและมีตัวสร้างกลยุทธ์ในตัว ช่วยให้เทรดเดอร์สร้างและปรับกลยุทธ์ได้ตามต้องการ…

InfoPad แผงข้อมูลออนไลน์สำหรับ MetaTrader

InfoPad แผงข้อมูลออนไลน์สำหรับ MetaTrader

InfoPad เป็นแผงข้อมูลที่มีประโยชน์อย่างยิ่ง ออกแบบมาเพื่อให้ข้อมูลสำคัญเกี่ยวกับคู่สกุลเงินที่เลือกในเทอร์มินัล MetaTrader แผงนี้แสดงข้อมูลเชิงลึกแบบเรียลไทม์ เช่น ราคาบิด (Bid) ราคาถาม (Ask) สเปรด (Spread) ราคาสูงสุด-ต่ำสุด และอื่น ๆ อีกมากมาย…

Duplicator – การทำสำเนาการซื้อขาย/สถานะบนเทอร์มินัล MetaTrader

Duplicator – การทำสำเนาการซื้อขาย/สถานะบนเทอร์มินัล MetaTrader

Exp-Duplicator เป็น Expert Advisor (EA) อัตโนมัติที่ออกแบบมาเพื่อทำสำเนาการเทรด (trades) และสถานะ (positions) ตามจำนวนครั้งที่ตั้งไว้ล่วงหน้าในบัญชี (account) MetaTrader ของคุณ มันคัดลอกสถานะทั้งหมดได้อย่างราบรื่น ไม่ว่าจะเปิดด้วยตนเองหรือโดย EA อื่น และช่วยให้คุณสามารถเพิ่มขนาดล็อต (lot size) (ปริมาณ…

SafetyLOCK PRO ปกป้องตำแหน่งของคุณด้วยการล็อกโดยเปิดคำสั่งรอดำเนินการฝั่งตรงข้าม ล็อกเฮดจ์ (Hedge)

SafetyLOCK PRO ปกป้องตำแหน่งของคุณด้วยการล็อกโดยเปิดคำสั่งรอดำเนินการฝั่งตรงข้าม ล็อกเฮดจ์ (Hedge)

SAFETYLOCK: ป้องกันการเทรดของคุณจากการกลับตัวของตลาดอย่างรุนแรง การซื้อขายในตลาดการเงินมีความเสี่ยงสูง โดยเฉพาะเมื่อเกิดการกลับตัวอย่างฉับพลัน SAFETYLOCK เป็นเครื่องมือเฉพาะที่ช่วยลดการขาดทุน โดยวางคำสั่งตรงข้ามให้ตำแหน่งปัจจุบันโดยอัตโนมัติ คุณจึงเทรดได้อย่างมั่นใจ เพราะความผันผวนที่ไม่คาดคิดจะไม่ส่งผลต่อดีลของคุณ…

Copylot – โปรแกรมคัดลอกการเทรดฟอเร็กซ์ (Trade copier) สำหรับ MetaTrader คัดลอกข้ามเทอร์มินัล

Copylot – โปรแกรมคัดลอกการเทรดฟอเร็กซ์ (Trade copier) สำหรับ MetaTrader คัดลอกข้ามเทอร์มินัล

ตัวคัดลอกการเทรด สำหรับ MetaTrader คัดลอกการเทรดฟอเร็กซ์ ตำแหน่ง และคำสั่งซื้อขายจากทุกบัญชี เป็นหนึ่งใน Fast Trading Copier ที่ดีที่สุด MT4-MT4, MT5-MT4 สำหรับเวอร์ชัน COPYLOT MT4 (หรือ MT4-MT5 MT5-MT5 สำหรับเวอร์ชัน COPYLOT MT5) อัลกอริทึมการคัดลอกเฉพาะจะคัดลอกทุกดีลจากบัญชี…

Assistant – แผงควบคุมการซื้อขายฟรีที่ดีที่สุดสำหรับการสนับสนุนสถานะ (Position) และการซื้อขายด้วย StopLoss / TakeProfit / Trailing Stop จริง/เสมือน

Assistant – แผงควบคุมการซื้อขายฟรีที่ดีที่สุดสำหรับการสนับสนุนสถานะ (Position) และการซื้อขายด้วย StopLoss / TakeProfit

การตั้งค่าอัตโนมัติสำหรับ StopLoss, TakeProfit, Trailing Stop, ระดับคุ้มทุน (Breakeven), การเปิดใช้งานการหยุดเสมือน (Virtual Stops) Exp Assistant จะช่วยคุณจัดการการบำรุงรักษาสถานะของคุณ ที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor) นี้จะตั้งค่าระดับ StopLoss และ TakeProfit ที่จำเป็นทั้งหมดสำหรับสถานะของคุณ การดำเนินการทั้งหมดของที่ปรึกษาผู้เชี่ยวชาญถูกควบคุมจากแผงควบคุม (Panel)…

EAPADPRO LIBRARY – เพิ่มแผงของเราไปยังที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor – EA) ของคุณ

EAPADPRO LIBRARY – เพิ่มแผงของเราไปยังที่ปรึกษาผู้เชี่ยวชาญ (Expert Advisor – EA) ของคุณ

EAPADPRO LIBRARY – ยกระดับที่ปรึกษาผู้เชี่ยวชาญของคุณด้วยแผงข้อมูลของเรา EAPADPRO LIBRARY มอบโซลูชันที่ทรงพลังสำหรับเทรดเดอร์ที่ต้องการยกระดับการทำงานของที่ปรึกษาผู้เชี่ยวชาญบนแพลตฟอร์ม MetaTrader…

TickSniper Expert Advisor (EA) อัตโนมัติสำหรับ Metatrader นักเทรดระยะสั้นแบบทิก (Tick scalper)

TickSniper Expert Advisor (EA) อัตโนมัติสำหรับ Metatrader นักเทรดระยะสั้นแบบทิก (Tick scalper)

Exp-TickSniper เป็นนักเทรดระยะสั้นแบบทิก (Tick) ที่รวดเร็ว ซึ่งจะเลือกพารามิเตอร์โดยอัตโนมัติสำหรับแต่ละคู่สกุลเงินแยกกัน EA นี้ได้รับการพัฒนาขึ้นจากประสบการณ์ที่สั่งสมมาเกือบ 10 ปีในการเขียนโปรแกรม EA EA ทำการซื้อขายระยะสั้นโดยใช้การหยุดขาดทุนแบบตามราคาอัจฉริยะ (Smart Trailing Stop) และอ้างอิงจากข้อมูลคู่สกุลเงินปัจจุบัน ราคาซื้อขาย (Quotes) ข้อกำหนด (Specification) และสเปรด (Spread)…

EAPadPRO – แผงข้อมูลสำหรับผู้เชี่ยวชาญของเรา แดชบอร์ดสำหรับ Expert Advisor

EAPadPRO – แผงข้อมูลสำหรับผู้เชี่ยวชาญของเรา แดชบอร์ดสำหรับ Expert Advisor

แผงข้อมูลสำหรับที่ปรึกษาและยูทิลิตีทั้งหมดของเราในเทอร์มินัล MetaTrader คำแนะนำโดยละเอียดเกี่ยวกับพื้นฐานการจัดการและการใช้แผง EAPADPRO ใน Expert Advisor ของเรา อินเทอร์เฟซผู้ใช้ที่เป็นมิตรและเข้าใจง่าย เพื่อการทำงานกับยูทิลิตีของเราอย่างสะดวกและประสบความสำเร็จ แม้กระทั่งใน Strategy Tester!…

Extra Report Pad – ไดอารี่ของเทรดเดอร์ วิเคราะห์บัญชีการเทรดของคุณอย่างมืออาชีพ MyFxBook ในกราฟสด ExtraReportPad

Extra Report Pad – ไดอารี่ของเทรดเดอร์ วิเคราะห์บัญชีการเทรดของคุณอย่างมืออาชีพ MyFxBook ในกราฟสด ExtraReportPad

Extra Report Pad – เครื่องมือวิเคราะห์บัญชีการเทรดของคุณอย่างมืออาชีพ วันนี้ การเทรดหลายคู่สกุลเงินพร้อมกันเป็นสิ่งสำคัญ แต่ยิ่งมีการเทรดมากเท่าไหร่ การวิเคราะห์ความสามารถในการทำกำไรของบัญชีก็ยิ่งยากขึ้น และยิ่งยากขึ้นไปอีกในการวิเคราะห์การเทรดตามเดือน และยิ่งยากขึ้นไปอีกในการคำนวณข้อมูลทางสถิติ (Statistical Data) สำหรับแต่ละการเทรดแยกกัน เราได้พบวิธีแก้ไข: แผงควบคุมของเราสามารถวิเคราะห์บัญชีของคุณและรวบรวมสถิติอย่างละเอียดที่สุดในเวลาจริง…

EA The xCustomEA: ที่ปรึกษาการเทรดยูนิเวอร์แซลสำหรับตัวชี้วัด iCustom – ตัวสร้างกลยุทธ์แบบกำหนดเอง

EA The xCustomEA: ที่ปรึกษาการเทรดยูนิเวอร์แซลสำหรับตัวชี้วัด iCustom – ตัวสร้างกลยุทธ์แบบกำหนดเอง

ที่ปรึกษาการเทรดยูนิเวอร์แซลบนตัวชี้วัดแบบกำหนดเองสำหรับ MetaTrader Exp – The xCustomEA คือที่ปรึกษาการเทรดยูนิเวอร์แซลบนตัวชี้วัดแบบกำหนดเอง The xCustomEA ทำงานกับตัวชี้วัดแบบกำหนดเองและสามารถตั้งโปรแกรมกลยุทธ์การเทรดของตนเองสำหรับเทอร์มินัล MT5 และ MT4 กล่าวอีกอย่าง: The xCustomEA เชื่อมต่อกับตัวชี้วัดแบบกำหนดเองที่ดาวน์โหลดได้จากอินเทอร์เน็ตหรือตลาด mql5 ตัวชี้วัดแบบกำหนดเองใด ๆ จากอินเทอร์เน็ต! ตัวสร้างกลยุทธ์…

โพสต์นี้มีให้บริการใน: English Українська Portuguese Español Deutsch Chinese Русский Français Italiano Türkçe 日本語 한국어 العربية Indonesian ไทย Tiếng Việt


    Please wait, contacting ...

    คำเตือนความเสี่ยง:


    ผลการเทรดในอดีตไม่รับประกันผลลัพธ์ในอนาคต.

    การเทรดแลกเปลี่ยนเงินตราต่างประเทศด้วยการเทรดแบบมีมาร์จิ้นมีความเสี่ยงสูงและอาจไม่เหมาะสำหรับนักลงทุนทุกคน.

    โปรดทราบว่าการใช้หุ่นยนต์เทรด (trading robots) มีความเสี่ยงอย่างมาก และคุณอาจสูญเสียมากกว่าการลงทุนเริ่มต้นของคุณ.

    โปรดดำเนินการด้วยความระมัดระวัง ประเมินสถานการณ์ทางการเงินของคุณอย่างละเอียด และพิจารณาขอคำแนะนำจากผู้เชี่ยวชาญที่มีคุณสมบัติเหมาะสม.

    Disclaimer

    เว็บไซต์นี้ใช้คุกกี้เพื่อปรับปรุงประสบการณ์ของคุณ เมื่อคุณใช้เว็บไซต์นี้ แสดงว่าคุณยอมรับนโยบายการปกป้องข้อมูลและข้อจำกัดความรับผิดชอบของเรา
    อ่านเพิ่มเติม