Gold M1 Auto Trading

MQL5 Experts

Termos de Referência


//+------------------------------------------------------------------+
//| Gold M1 Auto Trading Bot for MT5                                 |
//+------------------------------------------------------------------+
#property copyright "OpenAI"
#property version   "1.00"
#property strict

#include <Trade/Trade.mqh>
CTrade trade;

input double RiskPercent = 1.0;
input int StopLoss = 200;
input int TakeProfit = 400;
input int FastMA = 9;
input int SlowMA = 21;

double LotSize;

//+------------------------------------------------------------------+
int OnInit()
{
   Print("Gold M1 Bot Started");
   return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+

void OnTick()
{
   if(Symbol() != "XAUUSD")
      return;

   double fastMA = iMA(Symbol(), PERIOD_M1, FastMA, 0, MODE_EMA, PRICE_CLOSE, 0);
   double slowMA = iMA(Symbol(), PERIOD_M1, SlowMA, 0, MODE_EMA, PRICE_CLOSE, 0);

   double fastPrev = iMA(Symbol(), PERIOD_M1, FastMA, 0, MODE_EMA, PRICE_CLOSE, 1);
   double slowPrev = iMA(Symbol(), PERIOD_M1, SlowMA, 0, MODE_EMA, PRICE_CLOSE, 1);

   LotSize = CalculateLot();

   if(fastPrev < slowPrev && fastMA > slowMA)
   {
      OpenBuy();
   }

   if(fastPrev > slowPrev && fastMA < slowMA)
   {
      OpenSell();
   }
}

//+------------------------------------------------------------------+

double CalculateLot()
{
   double balance = AccountInfoDouble(ACCOUNT_BALANCE);
   double risk = balance * RiskPercent / 100;
   double lot = risk / 1000;
   return NormalizeDouble(lot,2);
}

//+------------------------------------------------------------------+

void OpenBuy()
{
   double price = SymbolInfoDouble(Symbol(), SYMBOL_ASK);
   double sl = price - StopLoss * _Point;
   double tp = price + TakeProfit * _Point;

   trade.Buy(LotSize, Symbol(), price, sl, tp);
}

//+------------------------------------------------------------------+

void OpenSell()
{
   double price = SymbolInfoDouble(Symbol(), SYMBOL_BID);
   double sl = price + StopLoss * _Point;
   double tp = price - TakeProfit * _Point;

   trade.Sell(LotSize, Symbol(), price, sl, tp);
}
//+------------------------------------------------------------------+

Respondido

1
Desenvolvedor 1
Classificação
(3)
Projetos
3
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(255)
Projetos
262
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
3
Desenvolvedor 3
Classificação
(378)
Projetos
486
24%
Arbitragem
59
54% / 25%
Expirado
55
11%
Carregado
4
Desenvolvedor 4
Classificação
(8)
Projetos
9
11%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(13)
Projetos
20
40%
Arbitragem
3
0% / 67%
Expirado
3
15%
Livre
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(5)
Projetos
10
20%
Arbitragem
1
0% / 100%
Expirado
1
10%
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
EA for existing MT5 that generates a minimum of 30-40% or higher a month consistently Looking for a highly profitable EA Please send demo version directly , past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it. Any pair and Time frame. NOTE Ea need for Cent account Exness or other broker
EA for existing MT5 that generates a minimum of 20-30% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 200 USD or Cent 10k account), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
Trend follower 100 - 250 USD
Tired of emotional trading and inconsistent results? Let automation do the work for you. 💡 Introducing a powerful Expert Advisor designed to: Execute trades based on proven strategy logic Eliminate human errors and emotional decisions Manage risk intelligently Operate 24/7 without fatigue 📊 Key Features: ✔️ Advanced entry & exit conditions ✔️ Smart trade management (SL/TP optimized) ✔️ One-trade-at-a-time logic for
i want help on puting my ea in mql5 for sale, help for 10percentage on every sales a higher profit scalper on gold 5minute trader non martingale none hedging mt4 version
Alphapipfx 30+ USD
Sniper Strategy EA -Presicion Forex Trading Bot for MT4 and MT5 Sniper Strategy EA is a fully automated Expert Advisor that executes high-probability forex trades using EMA 50/200 trend detection, RSI 14 momentum filtering, and automatic Support and Resistance zone identification. This bot does not chase price — it waits for price to come to key levels and confirms with multiple indicators before entering, just like
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
Strategy:Identify Supply and demand zones and generate buy and sell signals based on the price action within these zones. Confirmation:Use MA filter to confirm trading directions. Risk - Reward Ratio: 1:5. Risk Management: Limit risk to a predefined percentage of account balance . Additional features: include alerts for signal generation, SL and TP

Informações sobre o projeto

Orçamento
50+ USD
Prazo
de 202 para 209 dias

Cliente

Pedidos postados1
Número de arbitragens0