指定
استيراد ccxt
استيراد الباندا بصيغة pd
استيراد numpy كـ np
طلبات الاستيراد
وقت الاستيراد
# إعداد لعبة منصة اللعب عبر API
التبادل = ccxt.binance({
'apiKey': 'your_api_key',
'سري': 'سر_api_الخاص بك'
})
#إعداد إدارة المتنوعة
def calculate_position_size(رصيد الحساب، المخاطرة لكل صفقة، نقاط وقف الخسارة):
مبلغ_المخاطرة = رصيد_الحساب * المخاطرة_لكل_تداول
حجم الموضع = مبلغ المخاطرة / نقاط وقف الخسارة
إرجاع حجم الموضع
#فرضًا أن الأخبار الاقتصادية المتعلقة بالسوق
تعريف get_economic_news():
# هنا نستخدم API مثل NewsAPI أو Forex Factory للحصول على الأخبار الاقتصادية
url = 'https://newsapi.org/v2/كل شيء?q=forex&apiKey=your_news_api_key'
الرد = طلبات.get(url)
البيانات = response.json()
إرجاع البيانات['المقالات']
#تحليل الأخبار الجديدة في السوق
def analyze_news(الأخبار):
للمقالة في الأخبار:
# تحليل عنوان الخبر وملخصه
العنوان = article['title']
الوصف = article['الوصف']
# لا نفترض أن الخبر السلبي إذا كان فيه كلمات مثل "Down"، "Decline"
إذا كان 'down' في title.lower() أو 'decline' في title.lower():
العودة 'بيع'
elif 'up' في title.lower() أو 'growth' في title.lower():
العودة 'شراء'
العودة 'HOLD'
# الحصول على بيانات السوق
def get_market_data(الرمز):
المؤشر = exchange.fetch_ticker(الرمز)
عودة الشريط
# تنفيذ عملية التنفيذ على التحليل
def execute_trade(الرمز، الإجراء، حجم الموضع):
إذا كان الإجراء == 'شراء':
التبادل. إنشاء أمر شراء السوق (الرمز، حجم الموضع)
elif action == 'بيع':
التبادل. إنشاء أمر بيع السوق (الرمز، حجم الموضع)
آخر:
print("لم يتم اتخاذ أي إجراء")
#مثال على بوت يعمل بشكل دوري
تعريف run_trading_bot():
account_balance = 10000 # رصيد الحساب
Risk_per_trade = 0.01 # 1% من التداول لكل صفقة
stop_loss_pips = 50 # اعتقد أن نقطة وقف الخسارة هي 50 نقطة
حجم الموضع = حساب حجم الموضع (رصيد الحساب، المخاطرة لكل صفقة، نقاط وقف الخسارة)
# جلب الأخبار الاقتصادية
الأخبار = get_economic_news()
العمل = تحليل_الأخبار(الأخبار)
#بيانات سوق
الرمز = 'BTC/USDT'
بيانات السوق = الحصول على بيانات السوق (الرمز)
# اتخاذ القرارات بشأن الأخبار وتحليل السوق
print(f"بيانات السوق: {market_data}")
print(f"الإجراء بناءً على الأخبار: {action}")
# تنفيذ الصفقات
execute_trade(الرمز، الإجراء، حجم الموضع)
# تشغيل كل 30 ثانية
بينما صحيح:
تشغيل روبوت التداول
الوقت.النوم(30)
反馈
1
等级
项目
12
33%
仲裁
8
13%
/
88%
逾期
3
25%
空闲
2
等级
项目
1
0%
仲裁
5
0%
/
100%
逾期
0
空闲
相似订单
Dear developers. We seek experienced developer in PHP, MySQL, JavaScript. we want to publish custom chart and CSV to our website Homepage. Our MQL5 Script contains custom layout we seek to publish on the website. we are looking for experienced developer in the field of website engineer. we want to broadcast our custom pairs in our website, as outlined in our MQL5 Script. we need React developers
Semi Automated Gold Trading Signal System for MT5
300 - 800 USD
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
Mambo
30+ USD
I need a bot that can trade weltrade synthetic indices that can be consistently making profits if you have one for deriv its also fine a bot that executes and closes trades automat Will be ideal
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
Advanced ICT + CRT Smart Money Expert Advisor for MT5
300 - 1000 USD
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH
An EA based on my INTRADAY TRADE NINJA system
30 - 35 USD
Intraday Trade Ninja EA — Complete Logic Structure This document maps the full architecture, execution logic, signal flow, trade management, and safety structure of the Intraday Trade Ninja MT4 Expert Advisor. 1. Core Indicators · ©Price Border (TMA bands) · MA-X Arrows · MA-Y Arrows · LeManSignal · EMA 49 & 89 - Per Candle Color Switching 2. EA Entry Architecture ·
I have a 90% completed project with the execution part left to complete, I have been struggling to complete this section and I need help from someone expert in MQL5 with knowledge on forex trading and ICT Concepts coding. Contact me for further details
Patricia Ukawilu 6:43 PM I need help creating an EA to optimize my trade. I already have a preliminary pine script which I will want optimized and create an EA from it to optimize my trade on MT4. I also subscribed to a signal app. I’m looking to automate the execution of the signal from the app so as not to miss out on good trades
I am looking for an experienced MQL5 developer with Python/data analysis skills. I have my own MT5 Strategy Tester reports, exported trade history, and market CSV data. I need help analyzing these files and developing a new independent Expert Advisor based on clearly defined, statistically tested, and validated trading rules. Tasks: Analyze my MT5 Strategy Tester reports and exported trade history. Compare historical
We are looking for a developer to finish and stabilize an existing Kalshi trading bot (~60% complete) built in TypeScript. This is not a MetaTrader EA. The system interacts with the Kalshi API and requires strong understanding of execution logic, order handling, and state management. Scope of Work: Review and understand existing TypeScript codebase Complete missing functionality Fix execution issues (order placement
项目信息
预算
30+ USD