Andres de la cruz

İş Gereklilikleri

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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(28)
Projeler
39
23%
Arabuluculuk
14
0% / 93%
Süresi dolmuş
4
10%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(104)
Projeler
166
24%
Arabuluculuk
23
9% / 78%
Süresi dolmuş
16
10%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(18)
Projeler
22
9%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
1
5%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(93)
Projeler
114
24%
Arabuluculuk
21
29% / 52%
Süresi dolmuş
8
7%
Çalışıyor
Yayınlandı: 1 kod
5
Geliştirici 5
Derecelendirme
(375)
Projeler
481
23%
Arabuluculuk
58
55% / 26%
Süresi dolmuş
55
11%
Yüklendi
6
Geliştirici 6
Derecelendirme
(3)
Projeler
1
100%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(2)
Projeler
4
25%
Arabuluculuk
0
Süresi dolmuş
1
25%
Çalışıyor
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(32)
Projeler
35
34%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
Benzer siparişler
Does anyone have a ready made sierra chart absorption indicator ready made or anything similar to below. I would like to buy it. You must have understanding of order flow, sierra chart and is able to code or coded this before https://www.emojitrading.com/product/absorption-pro/ https://www.emojitrading.com/product/price-rejector-pro/
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

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 10 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0