Need a programmer to convert 2 existing indicators (both indicators are available in Ninjatrader and Sierra Charts) to Meta Trader 5

명시

استيراد 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
개발자 1
등급
(12)
프로젝트
12
33%
중재
8
13% / 88%
기한 초과
3
25%
무료
2
개발자 2
등급
(3)
프로젝트
1
0%
중재
5
0% / 100%
기한 초과
0
무료
비슷한 주문
I have a fully developed and ready Expert Advisor for MT5. I am NOT looking for coding work. I am looking for an experienced MQL5 Market seller who can publish and manage my EA on the MQL5 Market on my behalf. The deal is revenue share — we split the income from sales or rentals. The EA is complete and ready to publish. If you have an established seller account on MQL5 Market with good reputation and experience
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
buy condition when blue color appears sell condition when yellow color appears close all buys when there is a sell order close all sells when there is a buy order
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot

프로젝트 정보

예산
30+ USD