eng description ฺBelow
คุณสมบัติ EA OneClickTradingPro v5.46 (ไทย / ENG)
🔹 ภาษาไทย
EA OneClickTradingPro v5.46 เป็น Expert Advisor สำหรับ MetaTrader 5 ที่ออกแบบมาเพื่อการเทรดแบบคลิกเดียว รองรับการทำงานบนหลาย Timeframe พร้อมกัน และมีฟีเจอร์ครบครันดังนี้:
1. การเปิดออร์เดอร์ด้วยปุ่มลัด (Hotkeys)
B – เปิดออร์เดอร์ Buy (Market Order)
S – เปิดออร์เดอร์ Sell (Market Order)
P – เปิด Pending Buy Limit (ต่ำกว่าราคาปัจจุบัน)
L – เปิด Pending Sell Limit (สูงกว่าราคาปัจจุบัน)
I – เพิ่ม Lot Size เป็น 2 เท่าของค่าพื้นฐาน (คูณทวีคูณ: x1, x2, x4, x8, ...)
K – รีเซ็ต Lot Size กลับสู่ค่าพื้นฐานตาม Input
+ / - – เพิ่ม/ลด Lot Size ทีละขั้น (ตาม Step ของ Broker)
T – เปิด/ปิดโหมด Same SL/TP (ใช้ SL/TP ตามออร์เดอร์แรก)
E – เปิด/ปิดระบบ Break Even (ปรับ SL มาเป็นจุดคุ้มทุน+Lock Profit)
V – ปิดออร์เดอร์ที่ขาดทุนมากที่สุด (กดค้างหรือกดซ้ำเพื่อปิดลำดับถัดไป)
N – ปิดออร์เดอร์ที่ขาดทุนน้อยที่สุด (กดค้างหรือกดซ้ำเพื่อปิดลำดับถัดไป)
C – ปิดออร์เดอร์ Market ทั้งหมด
Q – ปิดเฉพาะออร์เดอร์ Buy ทั้งหมด
X – ลบ Pending Orders ทั้งหมด
H – ซ่อนหรือแสดง Dashboard บนกราฟ
2. การบริหาร Lot Size แบบ Multiplier
รองรับ Lot พื้นฐาน 4 ขนาด (LotSize1-4) กำหนดเองได้
กด I เพื่อเพิ่ม Lot เป็น 2 เท่าเรื่อย ๆ (เหมาะกับการ Martingale หรือเพิ่มขนาดเมื่อเทรดต่อเนื่อง)
กด K เพื่อรีเซ็ต Lot กลับค่าเดิมทันที
แสดงตัวคูณ (x1, x2, x4, ...) บน Dashboard
3. ระบบ Same SL/TP
เมื่อเปิดใช้งาน (กด T) ออร์เดอร์ใหม่ทั้งหมดจะใช้ระยะห่าง SL/TP เท่ากับออร์เดอร์แรก (อ้างอิงตามระยะทาง ไม่ใช่ราคา)
ไม่มีการแก้ไข SL/TP อัตโนมัติภายหลัง – เทรดเดอร์สามารถปรับ SL/TP ด้วยตนเองได้ตามต้องการ
ถ้าออร์เดอร์แรกถูกปิด ระบบจะอ้างอิงออร์เดอร์ที่เหลือที่เปิดนานที่สุดแทน
4. ระบบ Break Even
เปิด/ปิดด้วยปุ่ม E
เมื่อราคาวิ่งไปถูกทางตามจำนวนพิพส์ที่ตั้ง (BreakEvenPips) จะปรับ Stop Loss มาที่ Entry + Lock Profit (LockProfitPips)
ป้องกันการขาดทุนเมื่อตลาดกลับตัว
5. การจัดการ Pending Orders (แก้ไข Error 10016)
ตรวจสอบระยะห่างขั้นต่ำ 50 จุด (ปรับได้ในโค้ด) ก่อนส่ง Pending Order
หากระยะห่างน้อยเกินไป จะปรับระยะทางอัตโนมัติเป็นอย่างน้อย 100 จุด
ตรวจสอบ SL/TP ไม่ให้ผิดด้าน (Buy Limit ต้องมี SL < Price, TP > Price)
มีระบบ Retry อัตโนมัติสูงสุด 5 ครั้ง หากคำสั่งล้มเหลว
6. Dashboard แบบไม่มีกรอบ
แสดงสัญลักษณ์, Lot ปัจจุบัน + ตัวคูณ, จำนวน Buy/Sell, ราคาปัจจุบัน, กำไรรวม, จำนวน Pending Orders, SL/TP รวม, สถานะ Same SL/TP
อัปเดตแบบ Real-time ทุก 250ms
สามารถซ่อน/แสดงด้วยปุ่ม H
7. แสดงกำไรบนแท่งเทียน (Candle Profit)
แสดงสามเหลี่ยมและจำนวนเงินกำไร/ขาดทุนรวมบนแท่งเทียนปัจจุบัน (มุมขวาบนหรือล่าง ขึ้นกับแท่ง)
สีเขียวสำหรับกำไร, สีแดงสำหรับขาดทุน
8. รองรับหลาย Timeframe พร้อมกัน
ใช้ Magic Number เดียวกันบนหลายกราฟ (M3, M15, H1) กำไรรวมจะแสดงเหมือนกันทุกหน้าต่าง
มีระบบ Cooldown (300ms) ป้องกันการส่งคำสั่งซ้ำจากหลาย TF
9. ความเข้ากันได้กับ XM และ Broker ทั่วไป
ปรับ Slippage, Max Retries, Fill Policy ให้เหมาะสม
รองรับ Lot Step และ Lot Limit ตาม Broker
🔹 English
EA OneClickTradingPro v5.46 is a MetaTrader 5 Expert Advisor designed for one‑click trading. It supports multiple timeframes simultaneously and includes the following features:
1. Hotkeys for Order Placement
B – Open a market Buy order
S – Open a market Sell order
P – Place a Pending Buy Limit (below current price)
L – Place a Pending Sell Limit (above current price)
I – Multiply Lot size by 2 (progressive: x1, x2, x4, x8, …)
K – Reset Lot size to the original Input values
+ / - – Increase/Decrease Lot size by one step (broker’s lot step)
T – Toggle Same SL/TP mode (use the first order’s SL/TP distance)
E – Toggle Break Even system (moves SL to entry + lock profit)
V – Close the most losing position (press repeatedly to close next worst)
N – Close the least losing position (press repeatedly to close next best)
C – Close all market positions
Q – Close all Buy positions only
X – Delete all pending orders
H – Hide/Show the on‑chart Dashboard
2. Lot Multiplier Management
Four base lot sizes configurable in inputs (LotSize1-4)
Press I to double the lot size progressively (ideal for Martingale or scaling in)
Press K to instantly reset lots to original values
Dashboard shows current multiplier (x1, x2, x4, …)
3. Same SL/TP System
When enabled (press T), every new order uses the same SL/TP distance as the first open order (distance‑based, not price‑based)
No automatic modification afterwards – traders can manually adjust SL/TP of any order
If the first order is closed, the system references the oldest remaining order
4. Break Even System
Toggle with E
When price moves in your favor by BreakEvenPips, the stop loss is moved to entry + LockProfitPips
Protects profit and prevents loss on retracements
5. Pending Order Reliability (Fixed Error 10016)
Minimum distance check: 50 points (adjustable) before sending a pending order
Automatically increases distance to at least 100 points if too close
SL/TP validation prevents invalid sides (e.g., Buy Limit SL must be below price)
Built‑in automatic retry (up to 5 attempts) if order fails
6. Frameless Dashboard
Displays symbol, current lot + multiplier, Buy/Sell counts, current price, total profit, pending counts, total SL/TP, Same SL/TP status
Real‑time updates every 250 ms
Toggle visibility with H
7. Candle Profit Display
Shows a triangle and total profit/loss on the current candle (top‑right for bullish, bottom‑left for bearish)
Green for profit, red for loss
8. Multi‑Timeframe Compatibility
Use the same Magic Number on multiple charts (e.g., M3, M15, H1) – total profit is synchronised across all windows
Built‑in cooldown (300 ms) prevents order collisions between timeframes
9. XM & General Broker Compatibility
Adjustable slippage, retry counts, and order filling policies
Respects broker lot step, minimum and maximum lot limits