指定

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

応答済み

1
開発者 1
評価
(162)
プロジェクト
209
61%
仲裁
10
80% / 0%
期限切れ
0
暇
パブリッシュした人: 1 code
2
開発者 2
評価
(402)
プロジェクト
520
24%
仲裁
61
57% / 25%
期限切れ
60
12%
仕事中
3
開発者 3
評価
(2)
プロジェクト
5
0%
仲裁
3
0% / 100%
期限切れ
1
20%
仕事中
4
開発者 4
評価
(9)
プロジェクト
19
16%
仲裁
3
67% / 0%
期限切れ
0
暇
5
開発者 5
評価
(5)
プロジェクト
2
0%
仲裁
4
0% / 100%
期限切れ
0
暇
6
開発者 6
評価
(327)
プロジェクト
332
71%
仲裁
2
100% / 0%
期限切れ
0
暇
パブリッシュした人: 1 code
7
開発者 7
評価
(144)
プロジェクト
186
41%
仲裁
24
58% / 21%
期限切れ
13
7%
暇
8
開発者 8
評価
(33)
プロジェクト
38
21%
仲裁
5
0% / 60%
期限切れ
0
暇
9
開発者 9
評価
(258)
プロジェクト
269
29%
仲裁
2
50% / 0%
期限切れ
3
1%
仕事中
パブリッシュした人: 2 codes
10
開発者 10
評価
(45)
プロジェクト
46
24%
仲裁
34
9% / 85%
期限切れ
10
22%
暇
11
開発者 11
評価
(72)
プロジェクト
80
10%
仲裁
38
8% / 58%
期限切れ
6
8%
暇
12
開発者 12
評価
(2)
プロジェクト
2
100%
仲裁
1
0% / 0%
期限切れ
0
暇
13
開発者 13
評価
(3)
プロジェクト
2
50%
仲裁
2
0% / 100%
期限切れ
0
暇
14
開発者 14
評価
(4)
プロジェクト
4
0%
仲裁
1
0% / 0%
期限切れ
0
暇
類似した注文
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
FREELANCER JOB ORDER: DEVELOPMENT OF A MULTI-ASSET FTMO-COMPLIANT EXPERT ADVISOR (EA) 1. Project Title Development of a Professional, Configurable MT5 Expert Advisor for FTMO Challenges and Funded Accounts — Forex, Gold, Silver and Commodities 2. Project Overview I am seeking an experienced MQL5 developer to design and develop a professional automated trading system (Expert Advisor) for MetaTrader 5 (MT5). The EA
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
Hi all I'm looking for a good coder Existing Automated Trading System (Expert Advisor) This EA’s building block is the Bheurekso Pattern (which uses price action) indicators. 1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears

プロジェクト情報

予算
50+ USD