Termos de Referência

// Define the properties
input int ShortPeriod = 12;
input int LongPeriod = 26;
input double LotSize = 0.1;

// OnTick function is called every time there is a price update
void OnTick()
{
    double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
    double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0);

    double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
    double prevLongMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);

    if (prevShortMA < prevLongMA && shortMA > longMA)
    {
        // Buy signal
        OrderSend(Symbol(), OP_BUY, LotSize, Ask, 3, 0, 0, "Buy Order", 0, 0, clrGreen);
    }
    else if (prevShortMA > prevLongMA && shortMA < longMA)
    {
        // Sell signal
        OrderSend(Symbol(), OP_SELL, LotSize, Bid, 3, 0, 0, "Sell Order", 0, 0, clrRed);
    }
}

Respondido

1
Desenvolvedor 1
Classificação
(93)
Projetos
119
50%
Arbitragem
4
50% / 50%
Expirado
3
3%
Livre
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(45)
Projetos
46
24%
Arbitragem
34
9% / 85%
Expirado
10
22%
Livre
4
Desenvolvedor 4
Classificação
(45)
Projetos
91
13%
Arbitragem
34
26% / 59%
Expirado
37
41%
Livre
5
Desenvolvedor 5
Classificação
(152)
Projetos
228
80%
Arbitragem
22
27% / 50%
Expirado
11
5%
Livre
Publicou: 24 artigos, 1882 códigos
6
Desenvolvedor 6
Classificação
(9)
Projetos
19
16%
Arbitragem
3
67% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(258)
Projetos
265
29%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
8
Desenvolvedor 8
Classificação
(512)
Projetos
551
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
9
Desenvolvedor 9
Classificação
(7)
Projetos
9
0%
Arbitragem
1
0% / 100%
Expirado
2
22%
Livre
10
Desenvolvedor 10
Classificação
(4)
Projetos
5
20%
Arbitragem
2
0% / 100%
Expirado
1
20%
Livre
Publicou: 3 códigos
11
Desenvolvedor 11
Classificação
(2)
Projetos
5
0%
Arbitragem
3
0% / 100%
Expirado
1
20%
Trabalhando
12
Desenvolvedor 12
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
13
Desenvolvedor 13
Classificação
(4)
Projetos
5
20%
Arbitragem
0
Expirado
2
40%
Livre
Publicou: 2 artigos, 1 código
14
Desenvolvedor 14
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
Pedidos semelhantes
SNIPER X AI 30 - 120 USD
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing
SNIPER X AI 30 - 200 USD
I really need a developer Who can help me to create my SNIPER X AI - Elite AI Trading System Overview SNIPER X AI BOT is an AI-assisted trading system for Forex, Crypto, Stocks, Indices, and Gold. Currency: USD,RAND,KWD, POUND,EURO Core Features AI Scalping, Sniper Entries, Auto Buy/Sell, Smart Risk Management, Telegram Alerts, Mobile Monitoring, VPS Deployment. Supported Platforms MetaTrader 4, MetaTrader 5, Exness
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
RSI indicator 130 - 150 USD
The Relative Strength Index (RSI) is a technical momentum indicator measuring the speed and change of price movements, scaled from 0 to 100 to identify overbought (>70) or oversold (<30) conditions. Developed by J. Welles Wilder Jr., it helps traders spot potential trend reversals or corrections.Imagine a stock, XYZ, is trending upwards.Overbought Signal: The price increases sharply, and the RSI rises to 75. This
Pip killer ntt 100+ USD
Create a forex robot especially for sculping using the 3 ema strategy which consists of the following moving average levels of the 15 ma ,30 ema , 60 ema and 90 which enter potentially on a retest into the ema and targets opposite direction after the retest .Potentially bringing into account that the number of retested emas controlls the number of entreis which for eg. retest of the 15 ema single 0.01 trade is

Informações sobre o projeto

Orçamento
30 - 250 USD
Prazo
de 1 para 7 dias