Generate signal from candle closed crossing 1 MA

Specifiche

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;

}

File:

Con risposta

1
Sviluppatore 1
Valutazioni
(233)
Progetti
292
27%
Arbitraggio
15
47% / 33%
In ritardo
9
3%
In elaborazione
2
Sviluppatore 2
Valutazioni
(11)
Progetti
14
14%
Arbitraggio
0
In ritardo
1
7%
In elaborazione
3
Sviluppatore 3
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
4
Sviluppatore 4
Valutazioni
(258)
Progetti
382
25%
Arbitraggio
24
58% / 21%
In ritardo
1
0%
In elaborazione
5
Sviluppatore 5
Valutazioni
(51)
Progetti
74
20%
Arbitraggio
13
15% / 23%
In ritardo
6
8%
Caricato
6
Sviluppatore 6
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
7
Sviluppatore 7
Valutazioni
(45)
Progetti
62
40%
Arbitraggio
1
0% / 0%
In ritardo
1
2%
In elaborazione
8
Sviluppatore 8
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(387)
Progetti
411
30%
Arbitraggio
66
20% / 70%
In ritardo
52
13%
Caricato
10
Sviluppatore 10
Valutazioni
(2)
Progetti
3
33%
Arbitraggio
0
In ritardo
0
Gratuito
11
Sviluppatore 11
Valutazioni
(419)
Progetti
662
34%
Arbitraggio
31
74% / 6%
In ritardo
21
3%
In elaborazione
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
(51)
Progetti
69
35%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(142)
Progetti
177
54%
Arbitraggio
10
80% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
15
Sviluppatore 15
Valutazioni
(206)
Progetti
333
35%
Arbitraggio
64
13% / 56%
In ritardo
87
26%
Gratuito
16
Sviluppatore 16
Valutazioni
(451)
Progetti
561
25%
Arbitraggio
22
41% / 36%
In ritardo
85
15%
In elaborazione
Pubblicati: 6 codici
17
Sviluppatore 17
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(7)
Progetti
8
13%
Arbitraggio
0
In ritardo
2
25%
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(284)
Progetti
459
39%
Arbitraggio
95
43% / 19%
In ritardo
73
16%
Occupato
Pubblicati: 2 codici
Ordini simili
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

Informazioni sul progetto

Budget
30+ USD

Cliente

Ordini effettuati2
Numero di arbitraggi0