İş Gereklilikleri

//+------------------------------------------------------------------+
//|                                                     SimpleEA.mq4 |
//|                        Generated by MetaEditor                   |
//|                   https://www.mql5.com/en/docs                   |
//+------------------------------------------------------------------+
#property strict

// Input parameters
input double LotSize = 0.1; // Lot size
input int MovingAveragePeriod = 50; // MA period

// Global variables
double maCurrent;
double maPrevious;

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   // Initialization of variables
   maCurrent = 0;
   maPrevious = 0;
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
   // Cleanup code here
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   // Calculate current and previous MA
   maCurrent = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
   maPrevious = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
   
   // Check for buy signal
   if (maPrevious < Close[1] && maCurrent > Close[0])
     {
      // Open buy order
      OrderSend(Symbol(), OP_BUY, LotSize, Ask, 2, 0, 0, "Buy Order", 0, 0, Blue);
     }
   
   // Check for sell signal
   if (maPrevious > Close[1] && maCurrent < Close[0])
     {
      // Open sell order
      OrderSend(Symbol(), OP_SELL, LotSize, Bid, 2, 0, 0, "Sell Order", 0, 0, Red);
     }
  }
//+------------------------------------------------------------------+

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(156)
Projeler
195
58%
Arabuluculuk
10
80% / 0%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 1 kod
2
Geliştirici 2
Derecelendirme
(378)
Projeler
486
24%
Arabuluculuk
59
54% / 25%
Süresi dolmuş
55
11%
Meşgul
3
Geliştirici 3
Derecelendirme
(2)
Projeler
5
0%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
1
20%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(9)
Projeler
19
16%
Arabuluculuk
3
67% / 0%
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(5)
Projeler
2
0%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
0
Serbest
6
Geliştirici 6
Derecelendirme
(307)
Projeler
312
70%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
7
Geliştirici 7
Derecelendirme
(144)
Projeler
186
41%
Arabuluculuk
24
58% / 21%
Süresi dolmuş
13
7%
Serbest
8
Geliştirici 8
Derecelendirme
(33)
Projeler
38
21%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(255)
Projeler
262
30%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
10
Geliştirici 10
Derecelendirme
(45)
Projeler
46
24%
Arabuluculuk
34
9% / 85%
Süresi dolmuş
10
22%
Serbest
11
Geliştirici 11
Derecelendirme
(72)
Projeler
80
10%
Arabuluculuk
38
8% / 58%
Süresi dolmuş
6
8%
Serbest
12
Geliştirici 12
Derecelendirme
(2)
Projeler
2
100%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
13
Geliştirici 13
Derecelendirme
(3)
Projeler
2
50%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(4)
Projeler
4
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Serbest
Benzer siparişler
Hi everyone, I am hoping that you would be able to help me with possibly an easy fix. I have exhausted all avenues to try and optimise a 3 min US100 / USTEC and convert from line script to MQL5 so I can automate through MT5. The trades are not correlating and there is a clear consistent discrepancy of approximately 123 minutes between a significant number of trades when comparing the same time period. I really hope
READ BEFORE MESSAGING PLEASE Developer Requirements (Strict): - Expert Level Only: This is a professional-grade, robust trading engine. Please do not apply if you are a beginner or intermediate developer. ​ - Asynchronous Proficiency: You must have deep experience with CTrade and handling asynchronous order execution (Requotes, Busy Servers, and Order Integrity Sync). ​ - Proven Track Record: I require a developer
buy condition when blue color appears sell condition when yellow color appears close all buys when there is a sell order close all sells when there is a buy order
I need a MetaTrader 5 Expert Advisor for XAUUSD. Trend Filter : Trade only in the direction of the main trend. Patterns (Buy) : Hammer, Inverted Hammer, Doji, Bullish Harami, Bullish Engulfing + Green confirmation candle close above high. Patterns (Sell) : Shooting Star, Doji, Bearish Harami, Bearish Engulfing + Red confirmation candle close below low. Entry Rule : Wait for one Pullback candle (Red for Buy, Green for
I would like to build a very very low budget bot and test run it to see if it would be profitable on the long run or if it will just be a waste of money and resources It is python 70% of the engine logic codes needed are already existing on githubs and python traders community So you are not building from scratch at all So kindly go through it Thank you
Società di investimento con attività tra Sanremo e Monaco ricerca un giovane collaboratore con esperienza nell’utilizzo avanzato di MetaTrader 5. Si richiede la conoscenza della lingua italiana e inglese. Attività Il collaboratore si occuperà di: • eseguire backtest di strategie di trading su MT5 • effettuare ottimizzazioni parametri tramite Strategy Tester • analizzare risultati e robustezza delle strategie •
I want to create a loss recovery account.I have a zone recovery EA.It sometimes gives more buy sell entries than the target. This causes a lot of loss. I want to create an EA to reduce that loss by 40% to 50%. Example: My EA has lost $2200 with a buy sell entry. Now the new EA will give an entry that can reduce the loss from $2200 to $700
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Seeking developer service to code an EA. Interested developer must have good experience and understanding on how ORB and FVG works, and agreed to the terms below : 1. Shall demonstrate a fully functional EA that operates as specified in the requirement and function automatically as requested in real-time environment (forward test - demo/live), regardless of good results obtained in strategy-tester. Backtesting

Proje bilgisi

Bütçe
50+ USD