Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(95)
Proyectos
117
38%
Arbitraje
9
89% / 0%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(303)
Proyectos
384
20%
Arbitraje
43
60% / 23%
Caducado
45
12%
Trabajando
3
Desarrollador 3
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(8)
Proyectos
18
17%
Arbitraje
3
67% / 0%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(5)
Proyectos
2
0%
Arbitraje
2
0% / 100%
Caducado
0
Trabaja
6
Desarrollador 6
Evaluación
(176)
Proyectos
178
76%
Arbitraje
2
100% / 0%
Caducado
0
Trabaja
7
Desarrollador 7
Evaluación
(124)
Proyectos
158
42%
Arbitraje
20
60% / 20%
Caducado
8
5%
Trabaja
8
Desarrollador 8
Evaluación
(16)
Proyectos
17
12%
Arbitraje
1
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(202)
Proyectos
206
27%
Arbitraje
0
Caducado
3
1%
Libre
10
Desarrollador 10
Evaluación
(38)
Proyectos
40
25%
Arbitraje
23
13% / 70%
Caducado
8
20%
Trabajando
11
Desarrollador 11
Evaluación
(71)
Proyectos
80
10%
Arbitraje
35
9% / 54%
Caducado
6
8%
Trabaja
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(2)
Proyectos
1
100%
Arbitraje
1
0% / 100%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(2)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I would like to create a bot based purely on the below fundamentals; Timeframe from 5M to 1Month. The bot will place a trade via a candlestick pattern and supply and demand zone approach, (NO RSI, Bollinger bands, or the like to be taken into account) just purely candlesticks based off the candlestick bible, buy and sell. Once a trade is made, the bot will continue to make trades in that position’s direction (locked
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Dear Programmer Go to this link https://www.youtube.com/watch?v=m1yJjAIzcp0 This video will explain everything about the strategy. I wanted to make an EA based on this strategy Draw standard deviation channels with 1 2 &3 standard deviation. The repainting should be minimal. In the mid line you have to buy and sell the same currency pair 1 lot each(or depending on the account size) If it goes up and hit the upper
1) The EA will be in MLQ5 language and should be able to run continuously on the VPS and should be able to trade any instrument. The source code and rights will automatically remain mine. 2) This order is inclusive of at least one day of trial on VPS to confirm that EA does correct order placement 3) The EA should be able to run in multiple timeframes especially M1, M2, M5, M15, M30, H1
AN EXPERIENCED PROGRAMMER IS REQUIRED TO INCLUDE A HEDGING SYSTEM IN EXPERT ADVISOR AND CORRECT INABILITY OF ADVSIOR TO MOUNT TO METATRADER VPS THE PROGRAMMER WILL MODIFY EXISTING HEDGING SYSTEM AND ALSO INCLUDE HIS OWN PROVEN HEDGING SYSTEM TO THE EXPERT ADVISOR TO INCREASE THIS IS TO AID THE USE OF THE ADVISOR WITHOUT A STOPLOSS SYSTEM BUT RATHER A HEDGE SYSTEM
I want a trading robot that will be able to catch spike in boom and crash. I want a situation where the robot will place a trade immediately before a spike in the direction of the spike. I want a case where once I put the robot on the chart and choose buy (for Boom) or sell (for Crash) and the number of trades to open at the same time with a chosen lot size, then it will only buy or sell on that particular direction
Hi everyone, Please note, that the strategy i want to conver is using pyramiding setting set to 14 in tw. And tradingview uses some strange technique when it comes to pyramiding. I'm looking for someone who ever dealt with this. Also i would like your help with purchasing a tool/or integrating manually the access to seconds chart, i use my strategy only on 30 sec chart - USTEC icmarkets. I decided to move my strategy
Hello, I have an EA already created and what I require is a modification to the code so that when a backtest is executed, it generates a CSV file with custom data that I want to extract to perform an analysis of the backtest operations
Formal Software Request Software Title: High-Performance Automated Trading System Requestor: 80485848 Date: 19 August 2024 1. Introduction We seek a sophisticated automated trading system capable of executing trades across Forex, Gold, and Cryptocurrency markets. The primary objective is to achieve a high win rate while operating autonomously. 2. Core Requirements Win Rate: The system must demonstrate a
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of

Información sobre el proyecto

Presupuesto
50+ USD
Para el ejecutor
45 USD