Generate signal from candle closed crossing 1 MA

Termos de Referência

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;

}

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(233)
Projetos
292
27%
Arbitragem
15
47% / 33%
Expirado
9
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(11)
Projetos
14
14%
Arbitragem
0
Expirado
1
7%
Trabalhando
3
Desenvolvedor 3
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Trabalhando
4
Desenvolvedor 4
Classificação
(258)
Projetos
382
25%
Arbitragem
24
58% / 21%
Expirado
1
0%
Trabalhando
5
Desenvolvedor 5
Classificação
(51)
Projetos
74
20%
Arbitragem
13
15% / 23%
Expirado
6
8%
Carregado
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
7
Desenvolvedor 7
Classificação
(45)
Projetos
62
40%
Arbitragem
1
0% / 0%
Expirado
1
2%
Trabalhando
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(387)
Projetos
411
30%
Arbitragem
66
20% / 70%
Expirado
52
13%
Carregado
10
Desenvolvedor 10
Classificação
(2)
Projetos
3
33%
Arbitragem
0
Expirado
0
Livre
11
Desenvolvedor 11
Classificação
(419)
Projetos
662
34%
Arbitragem
31
74% / 6%
Expirado
21
3%
Trabalhando
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
13
Desenvolvedor 13
Classificação
(51)
Projetos
69
35%
Arbitragem
1
100% / 0%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(142)
Projetos
177
54%
Arbitragem
10
80% / 0%
Expirado
0
Livre
Publicou: 1 código
15
Desenvolvedor 15
Classificação
(206)
Projetos
333
35%
Arbitragem
64
13% / 56%
Expirado
87
26%
Livre
16
Desenvolvedor 16
Classificação
(451)
Projetos
561
25%
Arbitragem
22
41% / 36%
Expirado
85
15%
Trabalhando
Publicou: 6 códigos
17
Desenvolvedor 17
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(7)
Projetos
8
13%
Arbitragem
0
Expirado
2
25%
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(284)
Projetos
459
39%
Arbitragem
95
43% / 19%
Expirado
73
16%
Ocupado
Publicou: 2 códigos
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30+ USD

Cliente

Pedidos postados2
Número de arbitragens0