Moving Avarage Cross Over

MQL4 Uzman Danışmanlar Forex

İş tamamlandı

Tamamlanma süresi: 8 dakika
Geliştirici tarafından geri bildirim
Very clear specifications. Good to work! Excellent customer... Thank you :)
Müşteri tarafından geri bildirim
Great Developer, he was fast and did precisely what I wanted. Also Flexible in my demands. 5 Stars

İş Gereklilikleri

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



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(229)
Projeler
339
49%
Arabuluculuk
21
5% / 33%
Süresi dolmuş
24
7%
Serbest
2
Geliştirici 2
Derecelendirme
(4)
Projeler
5
20%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(365)
Projeler
412
36%
Arabuluculuk
35
26% / 57%
Süresi dolmuş
63
15%
Serbest
4
Geliştirici 4
Derecelendirme
(114)
Projeler
154
47%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
4
3%
Serbest
5
Geliştirici 5
Derecelendirme
(15)
Projeler
24
21%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
7
29%
Serbest
6
Geliştirici 6
Derecelendirme
(547)
Projeler
757
46%
Arabuluculuk
23
39% / 13%
Süresi dolmuş
63
8%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(1127)
Projeler
1429
62%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
8
Geliştirici 8
Derecelendirme
(65)
Projeler
87
39%
Arabuluculuk
3
0% / 33%
Süresi dolmuş
29
33%
Serbest
9
Geliştirici 9
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(769)
Projeler
1033
44%
Arabuluculuk
50
8% / 50%
Süresi dolmuş
117
11%
Serbest
11
Geliştirici 11
Derecelendirme
(221)
Projeler
369
66%
Arabuluculuk
10
50% / 0%
Süresi dolmuş
46
12%
Serbest
12
Geliştirici 12
Derecelendirme
(2077)
Projeler
2636
61%
Arabuluculuk
113
45% / 26%
Süresi dolmuş
418
16%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(1086)
Projeler
1437
45%
Arabuluculuk
48
73% / 13%
Süresi dolmuş
35
2%
Çalışıyor
14
Geliştirici 14
Derecelendirme
(7)
Projeler
8
38%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
2
25%
Serbest
15
Geliştirici 15
Derecelendirme
(4)
Projeler
6
0%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
4
67%
Serbest
16
Geliştirici 16
Derecelendirme
(117)
Projeler
138
41%
Arabuluculuk
30
7% / 77%
Süresi dolmuş
17
12%
Serbest
17
Geliştirici 17
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
1
50%
Serbest
18
Geliştirici 18
Derecelendirme
(548)
Projeler
825
73%
Arabuluculuk
15
53% / 13%
Süresi dolmuş
193
23%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(461)
Projeler
902
77%
Arabuluculuk
25
16% / 68%
Süresi dolmuş
100
11%
Serbest
20
Geliştirici 20
Derecelendirme
(563)
Projeler
932
47%
Arabuluculuk
301
59% / 25%
Süresi dolmuş
124
13%
Çalışıyor
Benzer siparişler
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

Proje bilgisi

Bütçe
30 - 40 USD
KDV (21%): 6.3 - 8.4 USD
Toplam: 36.3 - 48.4 USD
Geliştirici için
27 - 36 USD