指定
استيراد 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
等级
项目
11
27%
仲裁
6
17%
/
83%
逾期
3
27%
空闲
2
等级
项目
1
0%
仲裁
3
0%
/
67%
逾期
0
工作中
相似订单
When you scroll down, you’ll see the box for requirements. Here’s a structure you can copy-paste and edit: Project Description I need a trading robot (Expert Advisor) for MetaTrader 5 (MQL5). The EA should execute trades automatically based on predefined strategy rules. Trading Strategy Rules Entry: [Explain your entry condition, e.g., “Buy when 50 EMA crosses above 200 EMA”] Exit: [Explain exit condition, e.g
I am looking for a skilled Pine Script developer to help build, test, and refine a custom TradingView strategy . I already have the foundational logic and some working code, but I need help completing and optimizing it. 🧠 Scope of Work: Strategy Development Build a complete TradingView strategy using Pine Script Integrate breakout-based logic (similar to ORB) with custom conditions Include optional features: MAs
Hi i wanted to see what you will charge me to make a simple indicator in TOS which i can plot on my activity and positions section. Firstly I want a custom column where we can calculate the difference between the trade price and the current price of a stock, or future or option. so we we have the value in that column. Example NVDA - Trade price 140 - Mark is 190 so this new colum will show +50 and option we bought at
A non indicator EA needed.
100+ USD
I want a scalping MT5 trading bot that will be placing trades without any signal indicator. Conditions will be as follows; it will be opening both buy stop and sell stop at the same time being separated by a gap of 20 points from the entry. If for instance a buy stop is hit, then the sell stop should be closed immediately, and a stop loss is placed immediately where the sell stop was. Ones the buying position gets
MT5 - Multi Timeframe EA
30 - 200 USD
I would like to have an Expert Advisor created with the following parameters. This Expert Advisor should analyze the higher time frame and the medium time frame, and based on that, open positions on the lower time frame. For this reason, I would like to work with developers who have experience in multi-timeframe analysis. I have a PDF file that explains the entire trading logic. In addition, I have compressed the
I'm looking to acquire a ready-made, consistently profitable Expert Advisor (EA) for MetaTrader 5 (MT5). The EA should be well-tested in both backtesting and live trading conditions and based on a clear, logical trading strategy (not a black box). I'm open to a variety of strategies as long as they are stable, explainable, and show consistent results
Profitable Automated Trading Bot (EA) for MT5
50 - 150 USD
I am looking for a profitable trading bot (Expert Advisor) for MT5. The bot should have: Consistent performance with proven backtest and preferably live results Strong risk and money management features Easy setup and user-friendly inputs Please share your proposals with details and pricing
Hello, I am looking for an experienced QuantConnect/Lean developer for a trading strategy project on futures (Micro Nasdaq – MNQ) with Interactive Brokers integration (paper + live). The strategy includes several key features: • Multi-timeframe analysis (signal validation across multiple horizons) • Integration of economic news/events into the trading logic • Advanced risk management (daily stop, position sizing
I'm looking for an experienced MQL5 developer and trader to assist with the refinement, backtesting, and live trading optimization of a custom Expert Advisor (EA). The EA is based on a pure breakout strategy on XAUUSD. The main goals are: 1. Compile and straighten the code – ensure error-free, optimized, and professional coding standards. 2. Run and set up backtesting – produce results with gradual positive
The EA will have 3 moving average and trade are executed upon cross over.The EA will finally be in MQL4 and MQL5. The EA will also be protected with a password. Further description will be given after agreement
项目信息
预算
30+ USD
开发人员
27
USD