Spezifikation

// Forex Strategy for Consistency in Profit

// Input parameters
input int FastMAPeriod = 10; // Period for the fast moving average
input int SlowMAPeriod = 30; // Period for the slow moving average
input double StopLossPips = 50; // Stop loss in pips
input double TakeProfitPips = 100; // Take profit in pips

// Global variables
int ticket = 0; // Order ticket number

// Indicator buffers
double fastMABuffer[];
double slowMABuffer[];

// Initialization function
int OnInit()
{
    // Define indicator buffers
    SetIndexBuffer(0, fastMABuffer);
    SetIndexBuffer(1, slowMABuffer);
    
    // Set indicator plot type
    SetIndexStyle(0, DRAW_LINE);
    SetIndexStyle(1, DRAW_LINE);
    
    // Set indicator colors
    SetIndexLabel(0, "Fast MA");
    SetIndexLabel(1, "Slow MA");
    SetIndexDrawBegin(0, SlowMAPeriod);
    SetIndexDrawBegin(1, SlowMAPeriod);
    
    // Set indicator parameters
    SetIndexShift(0, 0);
    SetIndexShift(1, 0);
    SetIndexEmptyValue(0, 0);
    SetIndexEmptyValue(1, 0);
    
    // Return successful initialization
    return INIT_SUCCEEDED;
}

// Trading function
void OnTick()
{
    // Calculate moving averages
    ArraySetAsSeries(fastMABuffer, true);
    ArraySetAsSeries(slowMABuffer, true);
    int fastMA = iMA(Symbol(), 0, FastMAPeriod, 0, MODE_SMA, PRICE_CLOSE);
    int slowMA = iMA(Symbol(), 0, SlowMAPeriod, 0, MODE_SMA, PRICE_CLOSE);
    
    // Check for a crossover
    if (fastMA > slowMA && fastMABuffer[1] <= slowMABuffer[1])
    {
        // Close any existing positions
        if (ticket > 0 && OrderSelect(ticket, SELECT_BY_TICKET))
        {
            if (OrderClose(ticket, OrderLots(), OrderClosePrice(), Slippage, Red))
            {
                ticket = 0; // Reset ticket number
            }
        }
        
        // Open a new buy position
        ticket = OrderSend(Symbol(), OP_BUY, 0.1, Ask, Slippage, Ask - StopLossPips * Point, Ask + TakeProfitPips * Point, "Buy Order", 0, 0, Green);
    }
    else if (fastMA < slowMA && fastMABuffer[1] >= slowMABuffer[1])
    {
        // Close any existing positions
        if (ticket > 0 && OrderSelect(ticket, SELECT_BY_TICKET))
        {
            if (OrderClose(ticket, OrderLots(), OrderClosePrice(), Slippage, Red))
            {
                ticket = 0; // Reset ticket number
            }
        }
        
        // Open a new sell position

        ticket = OrderSend(Symbol(), OP_SELL, 0.1, Bid, Slippage, Bid + StopLossPips * Point, Bid - TakeProfitPips * Point, "Sell Order


Bewerbungen

1
Entwickler 1
Bewertung
(43)
Projekte
66
12%
Schlichtung
12
58% / 42%
Frist nicht eingehalten
1
2%
Frei
2
Entwickler 2
Bewertung
(26)
Projekte
32
28%
Schlichtung
5
60% / 40%
Frist nicht eingehalten
6
19%
Frei
3
Entwickler 3
Bewertung
(2)
Projekte
2
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
2
100%
Frei
4
Entwickler 4
Bewertung
(539)
Projekte
618
33%
Schlichtung
35
37% / 49%
Frist nicht eingehalten
10
2%
Überlastet
5
Entwickler 5
Bewertung
(568)
Projekte
641
41%
Schlichtung
25
48% / 36%
Frist nicht eingehalten
46
7%
Arbeitet
6
Entwickler 6
Bewertung
(5)
Projekte
4
50%
Schlichtung
4
0% / 75%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
require the development of a high-speed, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically detect
Take your gold trading to the next level with CyberGold Scalper , the ultimate XAUUSD MT5 EA designed for precision, speed, and reliability. ✅ Features: Multi-Timeframe Confirmation: M5, M15, H1 filters for smarter entries. ATR & RSI Based Signals: Trade only when the market conditions favor profit. Dynamic Lot Sizing: Risk is automatically calculated based on your balance. Partial Profit & Trailing Stop: Maximize
I need an MT5 Expert Advisor that works as a trade copier. One master MT5 account (my account) → multiple client MT5 accounts (slaves). Main requirements: 1) Copy Trading - Copy all trades from master to slaves: * market and pending orders * SL / TP * modifications (SL/TP changes) * partial closes * closing of orders - Instruments: Forex and XAUUSD (Gold) - Must work with different brokers and prop firm accounts
Job Title: Cloud-Based MT4/MT5 Trade Copier Developer (Project-Based) Project Overview: Looking for an experienced developer to build a cloud-hosted trade copier platform similar in concept to leading web-based multi-account trade copiers. The system must copy trades in real time between multiple MT4/MT5 accounts (and later other platforms), with low latency, strong security, and a modern web dashboard for
I want the Robots to execute buy/sell/TP/SL trades without me telling them to, Buy low Sell high Forex Pairs, I want to gain profit not lose profit, using INDICATORS, strategies, Expert Advisors, signals, Symbols, MA RSI, Awesome Accelerators', Algorithmic Trading and Scanners on real time data
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade
Technical Project Description: AI-Enhanced Adaptive Trading Expert Advisor I want to commission the development of a high-performance AI-powered Expert Advisor (EA) designed for MetaTrader 5 , optimized for indices (e.g., Volatility 75 Index) , gold (XAU/USD) , and crypto pairs (BTC/USD) . The EA should intelligently adapt to market volatility using machine learning or AI-based decision-making to refine its entry and

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 1 bis 30 Tag(e)