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
(69)
Projetos
85
40%
Arbitragem
4
50% / 50%
Expirado
2
2%
Trabalhando
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(38)
Projetos
40
25%
Arbitragem
20
15% / 75%
Expirado
8
20%
Carregado
4
Desenvolvedor 4
Classificação
(41)
Projetos
88
14%
Arbitragem
30
30% / 53%
Expirado
36
41%
Trabalhando
5
Desenvolvedor 5
Classificação
(140)
Projetos
204
80%
Arbitragem
17
29% / 47%
Expirado
10
5%
Trabalhando
6
Desenvolvedor 6
Classificação
(8)
Projetos
18
17%
Arbitragem
3
67% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(196)
Projetos
200
28%
Arbitragem
0
Expirado
3
2%
Trabalhando
8
Desenvolvedor 8
Classificação
(475)
Projetos
504
53%
Arbitragem
10
60% / 20%
Expirado
3
1%
Livre
9
Desenvolvedor 9
Classificação
(3)
Projetos
4
0%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(3)
Projetos
3
0%
Arbitragem
0
Expirado
0
Trabalhando
11
Desenvolvedor 11
Classificação
(1)
Projetos
3
0%
Arbitragem
0
Expirado
0
Trabalhando
12
Desenvolvedor 12
Classificação
(265)
Projetos
539
50%
Arbitragem
55
40% / 36%
Expirado
224
42%
Trabalhando
13
Desenvolvedor 13
Classificação
(4)
Projetos
5
20%
Arbitragem
0
Expirado
2
40%
Livre
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
Pedidos semelhantes
Hello there, I need an experience developer to help me in converting my tradingview strategy to mt5 EA. Let me know of this is something you can handle successfully. Thanks
Hello, I am looking for a programmer to write a universal EA (mql4 file) that works with custom indicators on Renko/RangeBar charts. The description of operation and additional functions that the EA is to have are described in the attached file. If you have any questions, write
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
I'm seeking assistance in developing a sophisticated trading robot with the following features: Core strategy: Harmonic pattern recognition Supply and demand analysis Fibonacci zigzag for trade optimization Additional components: News filter Dashboard for easy monitoring Customizable settings: Lot size Trailing stop Trading session parameters Maximum number of orders Option to use market or limit orders Resources
I need an experienced programmer to create an automated EA that will open trades based on different candle stick formation strategies and indicators. The EA will first scan the market, find a current market trend and define area of support and resistance. On ranging market the EA doesn’t place trades . (1) EA should use a straddle strategy from either the S/R level, (2) indecision Doji candle from the S/R area, (3)
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
Looking for an EA which can produce less than 5% drawdown. Also profit factor above 1.5 (preferably 2.0) Please give me proper explanation how your EA works too Has anyone programmed it before? is it limited to forex only
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Informações sobre o projeto

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

Cliente

Pedidos postados1
Número de arbitragens0