Moving Avarage Cross Over

MQL4 Experten Forex

Auftrag beendet

Ausführungszeit 8 Minuten
Bewertung des Entwicklers
Very clear specifications. Good to work! Excellent customer... Thank you :)
Bewertung des Kunden
Great Developer, he was fast and did precisely what I wanted. Also Flexible in my demands. 5 Stars

Spezifikation

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);
   
  }
//+------------------------------------------------------------------+



Bewerbungen

1
Entwickler 1
Bewertung
(229)
Projekte
339
49%
Schlichtung
21
5% / 33%
Frist nicht eingehalten
24
7%
Frei
2
Entwickler 2
Bewertung
(4)
Projekte
5
20%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(365)
Projekte
412
36%
Schlichtung
35
26% / 57%
Frist nicht eingehalten
63
15%
Frei
4
Entwickler 4
Bewertung
(114)
Projekte
154
47%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
4
3%
Frei
5
Entwickler 5
Bewertung
(15)
Projekte
24
21%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
7
29%
Frei
6
Entwickler 6
Bewertung
(547)
Projekte
757
46%
Schlichtung
23
39% / 13%
Frist nicht eingehalten
63
8%
Arbeitet
7
Entwickler 7
Bewertung
(1127)
Projekte
1429
62%
Schlichtung
21
57% / 10%
Frist nicht eingehalten
43
3%
Frei
8
Entwickler 8
Bewertung
(65)
Projekte
87
39%
Schlichtung
3
0% / 33%
Frist nicht eingehalten
29
33%
Frei
9
Entwickler 9
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
10
Entwickler 10
Bewertung
(769)
Projekte
1033
44%
Schlichtung
50
8% / 50%
Frist nicht eingehalten
117
11%
Frei
11
Entwickler 11
Bewertung
(221)
Projekte
369
66%
Schlichtung
10
50% / 0%
Frist nicht eingehalten
46
12%
Frei
12
Entwickler 12
Bewertung
(2077)
Projekte
2636
61%
Schlichtung
113
45% / 26%
Frist nicht eingehalten
418
16%
Arbeitet
13
Entwickler 13
Bewertung
(1086)
Projekte
1437
45%
Schlichtung
48
73% / 13%
Frist nicht eingehalten
35
2%
Arbeitet
14
Entwickler 14
Bewertung
(7)
Projekte
8
38%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
2
25%
Frei
15
Entwickler 15
Bewertung
(4)
Projekte
6
0%
Schlichtung
2
0% / 50%
Frist nicht eingehalten
4
67%
Frei
16
Entwickler 16
Bewertung
(117)
Projekte
138
41%
Schlichtung
30
7% / 77%
Frist nicht eingehalten
17
12%
Frei
17
Entwickler 17
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
1
50%
Frei
18
Entwickler 18
Bewertung
(548)
Projekte
825
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Arbeitet
19
Entwickler 19
Bewertung
(461)
Projekte
902
77%
Schlichtung
25
16% / 68%
Frist nicht eingehalten
100
11%
Frei
20
Entwickler 20
Bewertung
(563)
Projekte
932
47%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
124
13%
Arbeitet
Ähnliche Aufträge
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
Lilit ordrer 50+ USD
l doa language that allows creating trading robots and technical indicators. i can do any writing and translation so dont worry i can do what you want ke to do
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
The wiper 35 - 48 USD
a ll traders want to find market behavior patterns, which could help identify favorable moments for performing trading operations. They also want to eliminate randomness and influence of external factors, such as rumors, news releases, fatigue, and so on. Traders monitor charts and may formulate some formal rules, which enable objective analysis of price or tick charts. Technical indicators can facilitate such
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Projektdetails

Budget
30 - 40 USD
MwSt (21%): 6.3 - 8.4 USD
Insgesamt: 36.3 - 48.4 USD
Für die Entwickler
27 - 36 USD