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
(233)
Proyectos
292
27%
Arbitraje
15
47% / 33%
Caducado
9
3%
Trabaja
2
Desarrollador 2
Evaluación
(11)
Proyectos
14
14%
Arbitraje
0
Caducado
1
7%
Trabaja
3
Desarrollador 3
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(258)
Proyectos
382
25%
Arbitraje
24
58% / 21%
Caducado
1
0%
Trabaja
5
Desarrollador 5
Evaluación
(51)
Proyectos
74
20%
Arbitraje
13
15% / 23%
Caducado
6
8%
Trabajando
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
7
Desarrollador 7
Evaluación
(45)
Proyectos
62
40%
Arbitraje
1
0% / 0%
Caducado
1
2%
Trabaja
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(387)
Proyectos
411
30%
Arbitraje
66
20% / 70%
Caducado
52
13%
Trabajando
10
Desarrollador 10
Evaluación
(2)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(419)
Proyectos
662
34%
Arbitraje
31
74% / 6%
Caducado
21
3%
Trabaja
12
Desarrollador 12
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(51)
Proyectos
69
35%
Arbitraje
1
100% / 0%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(142)
Proyectos
177
54%
Arbitraje
10
80% / 0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
15
Desarrollador 15
Evaluación
(206)
Proyectos
333
35%
Arbitraje
64
13% / 56%
Caducado
87
26%
Libre
16
Desarrollador 16
Evaluación
(451)
Proyectos
561
25%
Arbitraje
22
41% / 36%
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
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
19
Desarrollador 19
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(7)
Proyectos
8
13%
Arbitraje
0
Caducado
2
25%
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(284)
Proyectos
459
39%
Arbitraje
95
43% / 19%
Caducado
73
16%
Ocupado
Ha publicado: 2 ejemplos
Solicitudes similares
Develop an MQL5 Expert Advisor for a scalping strategy with multi-timeframe confirmation. The EA should be designed for MetaTrader 5 and incorporate indicators such as Moving Averages and RSI for generating entry and exit signals. It should include risk management features like stop-loss and take-profit levels, and allow for customization of trading hours, currency pairs, and position sizing. The EA should also
Project Proposal: Automated Forex Trading Bot with In-built Currency Strength / Index Scanner Overview I am seeking a developer to design and build an automated forex trading bot that uses an integrated currency-strength (forex index) scanner to identify and trade pairs where one currency shows clear strength and the other shows clear weakness. The bot must follow the direction of the stronger currency
I need an experience programmer to review the coding and logic of my EA, remove the bugs identified along with all the irrelevant coding. I also need a new feature to be added to be used as a filter
Looking for someone to design EA to deliver high-probability trades (~90% win rate) with low drawdown (~3%) using AI, multi-timeframe SMC/ICT logic, and advanced risk management. Please share your previous work. 1. Core Strategy Entry Logic: Trades primarily on 5M timeframe HTF Zones (4H) : Order Blocks (OB), Fair Value Gaps (FVG), Equilibrium Zones (EQ) 1H OB Conflict Validation to avoid high-risk areas Full HTF
وصف المشروع: أحتاج إلى مطور MQL4 خبير لإصلاح مشاكل حرجة في برنامج التداول الآلي Deep+ Scalper الخاص بي. يعمل البرنامج بمؤشرات جيدة، ولكنه يواجه مشاكل خطيرة في إغلاق المحفظة والأوامر المعلقة العشوائية. القضايا الحرجة: إغلاق المحفظة لا يعمل عند الوصول إلى إجمالي ربح قدره 4 دولارات تفتح الأوامر المعلقة بشكل عشوائي دون إشارات قوية صراعات الاستراتيجية بين الأطر الزمنية المتعددة تضارب TP الفردي مع نظام إغلاق المحفظة متطلب
1. Trading Logic Supertrend Indicator : Inputs: ATR Period, ATR Multiplier, Timeframe. Signal is generated when the Supertrend line flips direction. Buy Condition: When price closes above the Supertrend line and the Supertrend flips from bearish (above price) to bullish (below price). EA opens a Buy order. Sell Condition: When price closes below the Supertrend line and the Supertrend flips from bullish (below
EA require 50+ USD
Hello I have an EA that i am looking to develop similar one, i also have a strategy but not sure, what do you suggest? are you able to utilize those data to create similar one EA or not? I can share files if you require Regards
EASE IF THERE IS A DEVELOPER FROM AUSTRALIA WHO KNOWS ABOUT THE PROJECT BELOW. HE KNOWS HIMSELF, PLEASE MAY I KINDLY ASK THAT HE GET BACK TO ME PLEASE. IF NOT, I ALSO NEED SOMEONE WHO WILL DO THE WORK FIRST AND THEN CREATE A BUILT-IN DEMO INDI AS PER SPECIFICATIONS BELOW WHICH HAS AN EXPIRY (A DAY OR 2) SO THAT I TEST THE INDI BEFORE WE CREATE THE ORDER. I HAVE HAD PEOPLE WHO PRESSURE ME TO CREATE THE ORDER AND THEN
I currently have a functioning trading bot that needs these improvements and overall optimization to work flawlessly in backtesting, since currently it mainly works well only in live trading. Separate Grid Spacing Settings for Long and Short Positions: • Requirement: It should be possible to set different spacing between grid levels for buy (long) and sell (short) positions. For example, long positions can be opened
I need someone who can get a very profitable set-file for my EA I have an EA which opens trade based on the account % equitity and SL and TP also based on the balance , i need someone who can get best inputs numbers and set files to prepared based on account balance

Información sobre el proyecto

Presupuesto
30+ USD

Cliente

Encargos realizados2
Número de arbitrajes0