Generate signal from candle closed crossing 1 MA

Tarea técnica

i need help to generate candle closed crossing MA, if 1 candle closed crossing signal MA follow candle comes with signal for buy when closed up and for sell when closed down.

Note: Please this is help not have money to pay, just help me please

Bellow is the logic code.


// Calculate the indicator values

    for (int i = prev_calculated - (rates_total==prev_calculated); i < rates_total; i++){

    

         indvalue[i] = slowma[i];

         value_buf_a[i] = 0;

         value_buf_b[i] = 0; 

         

         // Check for MA crossovers

         if (i >= 0 && (i - 2) >= 0 && close[i] > (indvalue[i] + pointNum * _Point) && close[i - 2] < indvalue[i]){

         

            value_buf_a[i] = low[i];                 

         } 

         else{

            value_buf_a[i] = 0;

         }

         

         

         if (i >= 0 && (i - 2) >= 0 && close[i] < (indvalue[i] - pointNum * _Point) && close[i - 2] > indvalue[i]){      

            value_buf_b[i] = high[i];     

         }

         else{

            value_buf_b[i] = 0; 

         }  


    }

         

    return rates_total;

}

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(240)
Proyectos
301
28%
Arbitraje
33
24% / 61%
Caducado
9
3%
Trabaja
2
Desarrollador 2
Evaluación
(17)
Proyectos
21
10%
Arbitraje
4
50% / 50%
Caducado
1
5%
Trabaja
3
Desarrollador 3
Evaluación
(8)
Proyectos
8
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(269)
Proyectos
397
27%
Arbitraje
38
39% / 50%
Caducado
1
0%
Trabaja
5
Desarrollador 5
Evaluación
(57)
Proyectos
82
24%
Arbitraje
24
13% / 58%
Caducado
7
9%
Trabajando
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 0%
Caducado
0
Trabaja
7
Desarrollador 7
Evaluación
(47)
Proyectos
66
38%
Arbitraje
5
20% / 40%
Caducado
1
2%
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 70%
Caducado
52
13%
Trabaja
10
Desarrollador 10
Evaluación
(2)
Proyectos
5
60%
Arbitraje
1
0% / 100%
Caducado
1
20%
Trabaja
11
Desarrollador 11
Evaluación
(436)
Proyectos
688
34%
Arbitraje
33
70% / 9%
Caducado
22
3%
Trabaja
12
Desarrollador 12
Evaluación
(5)
Proyectos
6
0%
Arbitraje
0
Caducado
2
33%
Libre
13
Desarrollador 13
Evaluación
(51)
Proyectos
69
35%
Arbitraje
4
25% / 75%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(151)
Proyectos
188
57%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
15
Desarrollador 15
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
16
Desarrollador 16
Evaluación
(452)
Proyectos
564
26%
Arbitraje
24
42% / 38%
Caducado
85
15%
Trabaja
Ha publicado: 6 ejemplos
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(4)
Proyectos
7
0%
Arbitraje
2
50% / 50%
Caducado
3
43%
Trabajando
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(9)
Proyectos
9
11%
Arbitraje
0
Caducado
2
22%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(294)
Proyectos
469
39%
Arbitraje
102
40% / 24%
Caducado
77
16%
Trabajando
Ha publicado: 2 ejemplos
23
Desarrollador 23
Evaluación
(12)
Proyectos
12
17%
Arbitraje
2
0% / 50%
Caducado
1
8%
Libre
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Create simple EA 30 - 60 USD
Start BUY:- when i click start BUY button new panel should open which should contain bellow points:- Trigger Price Time frame Cross/Close RR ration Trailing Stop ratio Maximum Trade count Risk (percentage or cash) (Option to Increase risk when SL hit) Remove Trigger (True/False ) I will explain above point one by one here bellow •Trigger price :- here we enter price at which when market cross or
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
PrimeFlowEA — v1 Specification Objective: PrimeFlowEA v1 is designed to enforce disciplined, rule-based execution within a single daily trading session. The goal of v1 is correct behavior and execution discipline , not optimization or performance tuning. 1. Market & Time Platform: MetaTrader 5 (MQL5) Symbol(s): User-selectable (single symbol per chart) Execution timeframe: Configurable (default: M5 / M15)
Specifications – Development of an MQL5 Expert Advisor (Reverse Engineering) Project context: I have access to a real trading history consisting of more than 500 trades executed over a period of approximately 3 years. These trades have been exported into a CSV file containing all available information, including date, time, symbol, order type, entry price, and exit price. Important: I do not have access to the
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4
Looking for a developer to develop or provide past expert advisor that can cope with high impact news and high trends. needs to be mt5. Any strategy necessary. need to be able to backtest myself or see past results. Minimum profit per month 30% but needs to be very low drawdown. Can be one shot trade a day or a 1 min scalper ea. I will not be going to telegram to discuss further
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter

Información sobre el proyecto

Presupuesto
30+ USD