Andres de la cruz

MQL5 Indicadores Experts

Termos de Referência

//+------------------------------------------------------------------+
//| SimpleEA |
//| Bot básico para MetaTrader 5 |
//+------------------------------------------------------------------+
#property copyright "ChatGPT"
#property version "1.00"
#property strict

input int MA_Period = 14; // Periodo de la media móvil
input double Lots = 0.1; // Tamaño de lote

int maHandle;

//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
   // Crear handle para media móvil simple
   maHandle = iMA(_Symbol, _Period, MA_Period, 0, MODE_SMA, PRICE_CLOSE);
   if(maHandle == INVALID_HANDLE)
   {
      Print("Error creando handle para SMA");
      return(INIT_FAILED);
   }
   return(INIT_SUCCEEDED);
}

//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
   IndicatorRelease(maHandle);
}

//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
   double maValue[];
   ArraySetAsSeries(maValue, true);

   // Obtener valor actual de la SMA
   if(CopyBuffer(maHandle, 0, 0, 1, maValue) <= 0) return;

   double price = SymbolInfoDouble(_Symbol, SYMBOL_BID);

   // Señal de compra
   if(price > maValue[0] && !PositionSelect(_Symbol))
   {
      trade.Buy(Lots, NULL);
      Print("Compra ejecutada");
   }

   // Señal de cierre
   if(price < maValue[0] && PositionSelect(_Symbol))
   {
      trade.PositionClose(_Symbol);
      Print("Posición cerrada");
   }
}

Respondido

1
Desenvolvedor 1
Classificação
(28)
Projetos
39
23%
Arbitragem
14
0% / 93%
Expirado
4
10%
Trabalhando
2
Desenvolvedor 2
Classificação
(104)
Projetos
166
24%
Arbitragem
23
9% / 78%
Expirado
16
10%
Trabalhando
3
Desenvolvedor 3
Classificação
(18)
Projetos
22
9%
Arbitragem
6
33% / 50%
Expirado
1
5%
Trabalhando
4
Desenvolvedor 4
Classificação
(93)
Projetos
114
24%
Arbitragem
21
29% / 52%
Expirado
8
7%
Livre
5
Desenvolvedor 5
Classificação
(375)
Projetos
481
23%
Arbitragem
58
55% / 26%
Expirado
55
11%
Carregado
6
Desenvolvedor 6
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(2)
Projetos
4
25%
Arbitragem
0
Expirado
1
25%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
1. Shift the Time Gate (Critical) Current start time: 08:30 New required start time: 08:35:01 The EA is currently triggering trades too early (between 08:25 – 08:30 ), which is causing incorrect entries. Please ensure the EA cannot enter any trade before 08:35:01 . 2. Change Order Execution Logic The current code is using Pending Orders . Please remove pending order logic completely . Replace it with Direct Market
Project Title Freedom ORB – Fully Automated MT5 Expert Advisor (ORB + Structure + Liquidity) (MT5) Project Description I require a fully automated MT5 Expert Advisor based on a structured Opening Range Breakout (ORB) model with market structure and liquidity confirmation. The EA must: Detect ORB session range Wait for breakout (close-based) Wait for retrace Confirm M1 structure + displacement Execute trade
I’m looking for a trading bot where I can use a balance of £1000 to make regular entries making £20-£40 per entry. obviously, I want to have minimum loss with a lot more profit being made
I need a developer to code an indicator for tradingview to plot trends. There is already a similar free indicator available in Tradingview but it's not 100% correct. You can use it as starting point. We need to avoid plotting containment trends that are not significant. To understand this there will be many examples that will be provided at a later stage. I have coded an MT5 version for this indicator and can be used
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
Good day to you, I am looking for someone who can convert the actual LuxAlgo smart money concepts indicator from pine script to mql5 and give me the source code what works the same as original indicator
I have a High-Frequency Trading EA and I need a full conversion and optimization for MT5. The goal is to ensure stable execution and reliable performance on real accounts (IC Markets Raw and similar ECN brokers). I need an experienced and reputable MQL5 developer to: Convert the existing strategy to MT5 with full fidelity to the original trading logic (entries, SL, breakeven, trailing, pending orders). Optimize the
I need a professional MT5 Expert Advisor (fully automated trading robot) for scalping on M1 timeframe. 1. General Requirements Platform: MetaTrader 5 Type: Fully automated EA (no manual confirmation) Timeframe: M1 only Symbols: XAUUSD, BTCUSD, USDCAD Must support running on multiple charts simultaneously Clean, optimized, and low-latency execution logic 2. Strategy Logic (Scalping Model) The EA should use: Trend +
Hello, I'll be willing to pay upto 1000$ depending on the quality of the final product. This job includes bringing a strategy as well as coding it (or something ready made) I’m looking for a reliable indicator that places buy/sell signals directly on the chart. The key requirement is that signals must appear only after candle close and must not repaint under any condition. From an accurcy perspective we can discuss
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 10 dias

Cliente

Pedidos postados1
Número de arbitragens0