指定
استيراد 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
暇
類似した注文
Ndugelo Ravhengani Bot
30+ USD
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
C'est un Expert Advisor (EA) MQL5 pour MetaTrader 5, conçu pour l' XAUUSD , combinant un filtre de tendance et une grille adaptative avec gestion de panier ("basket") et protections contre le drawdown. Version 1.00. Logique de trading Filtre de tendance (H4 par défaut) • EMA rapide (50) vs EMA lente (200) pour déterminer la direction (UP/DOWN) • Filtre ADX (période 14, seuil 18) pour éviter de trader en
Modify EA for pending orders
30+ USD
My EA is semi Auto EA..with Master and slave concept Using Heiken Ashi +Heiken Smooth and Moving Average What to do?1. Remove some previous feature 2.Change some rules of 4 slave to pending Order 3. Check the coding is clean. 4. create panel dialog box
These are orderflow footprint indicator I would like to know if you can algorithmisie and build a stacked imbalance bot from them .. Kindlt let me know if you can do it and check the file before replying me
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I currently sell a white-label XAUUSD EA, but the existing supplier owns the source code. I now need a new, independently developed EA and licensing system that my company fully owns and controls. I am not requesting decompilation or copying of proprietary code. Existing settings, presets and trading examples will be provided as reference. The developer must first identify any missing strategy rules before
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta
100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
プロジェクト情報
予算
30+ USD