Moving Avarage Cross Over

MQL4 Esperti Forex

Lavoro terminato

Tempo di esecuzione 8 minuti
Feedback del dipendente
Very clear specifications. Good to work! Excellent customer... Thank you :)
Feedback del cliente
Great Developer, he was fast and did precisely what I wanted. Also Flexible in my demands. 5 Stars

Specifiche

I am looking to further develop a simple EA I already made that is based on MA crossover.

The problem with the one I have, it uses TP and SL to close a trade.

I would for the order to close when the next cross over happens, the old order will close and the new one will open.


Below is what I have so far:


//+------------------------------------------------------------------+
//|                                       MovingAverageCrossover.mq4 |
//|                                                           737ngx |
//|                                        https://www.737ngxsim.com |
//+------------------------------------------------------------------+
#property copyright "737ngx"
#property link      "https://www.737ngxsim.com"
#property version   "1.00"
#property strict

extern int TakeProfit=50;
extern int StopLoss=25;
extern int FastMA=15;
extern int FastMaShift=0;
extern int FastMaMethod=1;
extern int FastMaAppliedTo=0;
extern int SlowMA=50;
extern int SlowMaShift=0;
extern int SlowMaMethod=1;
extern int SlowMaAppliedTo=0;
extern double LotSize = 0.01;
extern int MagicNumber = 1234;
double pips; 
 

//+------------------------------------------------------------------+ 
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
  
double ticksize = MarketInfo(Symbol(), MODE_TICKSIZE);
   if (ticksize == 0.00001 || ticksize == 0.001)
   pips = ticksize*10;
   else pips = ticksize;
return(INIT_SUCCEEDED);
  }
  
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//---
   return (0);
   
  }
  
 //+------------------------------------------------------------------+
//| Expert start function                                 |
//+------------------------------------------------------------------+
 
 
  
  int start()
  {

               
   return(0); 
  
  }
  
  
  
  
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
//---
double PreviousFast = iMA(NULL,0,FastMA,FastMaShift,FastMaMethod,FastMaAppliedTo,2);
    double CurrentFast =  iMA(NULL,0,FastMA,FastMaShift,FastMaMethod,FastMaAppliedTo,1);
      
    double PreviousSlow = iMA(NULL,0,SlowMA,SlowMaShift,SlowMaMethod,SlowMaAppliedTo,2);
    double CurrrentSlow = iMA(NULL,0,SlowMA,SlowMaShift,SlowMaMethod,SlowMaAppliedTo,1);
    
    if(PreviousFast<PreviousSlow && CurrentFast>CurrrentSlow)
         if(OrdersTotal()==0)
            OrderSend(Symbol(),OP_BUY,LotSize,Bid,3,Bid-(StopLoss*pips),Bid+(TakeProfit*pips),NULL,MagicNumber,0,Green);
         
    if(PreviousFast>PreviousSlow && CurrentFast<CurrrentSlow)
         if(OrdersTotal()==0) 
            OrderSend(Symbol(),OP_SELL,LotSize,Bid,3,Bid+(StopLoss*pips),Bid-(TakeProfit*pips),NULL,MagicNumber,0,Red);
   
  }
//+------------------------------------------------------------------+



Con risposta

1
Sviluppatore 1
Valutazioni
(229)
Progetti
339
49%
Arbitraggio
21
5% / 33%
In ritardo
24
7%
Gratuito
2
Sviluppatore 2
Valutazioni
(4)
Progetti
5
20%
Arbitraggio
3
33% / 33%
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(365)
Progetti
412
36%
Arbitraggio
35
26% / 57%
In ritardo
63
15%
Gratuito
4
Sviluppatore 4
Valutazioni
(114)
Progetti
154
47%
Arbitraggio
2
0% / 50%
In ritardo
4
3%
Gratuito
5
Sviluppatore 5
Valutazioni
(15)
Progetti
24
21%
Arbitraggio
1
0% / 100%
In ritardo
7
29%
Gratuito
6
Sviluppatore 6
Valutazioni
(554)
Progetti
765
46%
Arbitraggio
23
39% / 13%
In ritardo
63
8%
In elaborazione
7
Sviluppatore 7
Valutazioni
(1130)
Progetti
1432
62%
Arbitraggio
21
57% / 10%
In ritardo
43
3%
Gratuito
8
Sviluppatore 8
Valutazioni
(65)
Progetti
87
39%
Arbitraggio
3
0% / 33%
In ritardo
29
33%
Gratuito
9
Sviluppatore 9
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(769)
Progetti
1033
44%
Arbitraggio
50
8% / 50%
In ritardo
117
11%
Gratuito
11
Sviluppatore 11
Valutazioni
(221)
Progetti
369
66%
Arbitraggio
10
50% / 0%
In ritardo
46
12%
Gratuito
12
Sviluppatore 12
Valutazioni
(2086)
Progetti
2646
61%
Arbitraggio
113
45% / 26%
In ritardo
418
16%
In elaborazione
13
Sviluppatore 13
Valutazioni
(1093)
Progetti
1449
45%
Arbitraggio
49
73% / 12%
In ritardo
36
2%
In elaborazione
14
Sviluppatore 14
Valutazioni
(7)
Progetti
8
38%
Arbitraggio
3
33% / 33%
In ritardo
2
25%
Gratuito
15
Sviluppatore 15
Valutazioni
(4)
Progetti
6
0%
Arbitraggio
2
0% / 50%
In ritardo
4
67%
Gratuito
16
Sviluppatore 16
Valutazioni
(117)
Progetti
138
41%
Arbitraggio
30
7% / 77%
In ritardo
17
12%
Gratuito
17
Sviluppatore 17
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
1
50%
Gratuito
18
Sviluppatore 18
Valutazioni
(549)
Progetti
826
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
19
Sviluppatore 19
Valutazioni
(461)
Progetti
902
77%
Arbitraggio
25
16% / 68%
In ritardo
100
11%
Gratuito
20
Sviluppatore 20
Valutazioni
(563)
Progetti
932
47%
Arbitraggio
302
59% / 25%
In ritardo
124
13%
Occupato
Ordini simili
I want to decompile an ea file and get the source code, i need it really quick as fast as possible. the file must be delivered alongside the source code
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader 1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy

Informazioni sul progetto

Budget
30 - 40 USD
IVA (21%): 6.3 - 8.4 USD
Totale: 36.3 - 48.4 USD
Per lo sviluppatore
27 - 36 USD