Generate signal from candle closed crossing 1 MA

Specification

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;

}

Files:

Responded

1
Developer 1
Rating
(250)
Projects
313
28%
Arbitration
33
27% / 64%
Overdue
10
3%
Free
2
Developer 2
Rating
(18)
Projects
22
9%
Arbitration
6
33% / 50%
Overdue
1
5%
Working
3
Developer 3
Rating
(8)
Projects
9
11%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(272)
Projects
401
27%
Arbitration
39
41% / 49%
Overdue
1
0%
Free
5
Developer 5
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
6
Developer 6
Rating
Projects
0
0%
Arbitration
1
0% / 0%
Overdue
0
Working
7
Developer 7
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(390)
Projects
416
30%
Arbitration
74
19% / 72%
Overdue
52
13%
Working
10
Developer 10
Rating
(3)
Projects
6
67%
Arbitration
1
0% / 100%
Overdue
1
17%
Free
11
Developer 11
Rating
(442)
Projects
698
34%
Arbitration
33
70% / 9%
Overdue
22
3%
Free
12
Developer 12
Rating
(6)
Projects
6
0%
Arbitration
0
Overdue
2
33%
Free
13
Developer 13
Rating
(51)
Projects
69
35%
Arbitration
4
25% / 75%
Overdue
0
Free
14
Developer 14
Rating
(154)
Projects
193
58%
Arbitration
10
80% / 0%
Overdue
0
Free
Published: 1 code
15
Developer 15
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
16
Developer 16
Rating
(452)
Projects
565
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(16)
Projects
17
29%
Arbitration
1
0% / 0%
Overdue
2
12%
Working
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(295)
Projects
474
39%
Arbitration
103
41% / 23%
Overdue
79
17%
Busy
Published: 2 codes
23
Developer 23
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
I need an advisor created that opens a position with 0.10 lot size when a bull cross arrow appears on the m5 time frame and closes the trade after exactly one candle stick, the ea does the same thing over and over, a bull cross appear on m5 timeframe, and it opens 1 position with 0.10 lot size, and closes it after one candlestick on m5... If possible, provide a demo version
Description I am looking for an experienced MQL5 developer to investigate and fix a suspected memory or resource usage issue in my MT5 Expert Advisor. The EA itself works correctly from a strategy and trading logic perspective . The trading model must remain exactly as it currently operates. I am not looking for any changes or optimisation to the strategy . The goal of this job is purely to identify and fix a
Cash Flow EA 30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session
I need an experienced MQL5 developer to modify my existing MT5 EA by replacing the current entry logic with a new breakout strategy and implementing strict prop-firm safety protections. The EA must behave exactly as specified below. If the final EA does not match the logic described, I will request revisions until it does. SYMBOL AND TIMEFRAME Symbol: USDJPY Timeframe: M15 only TRADING SESSION Trades may only open

Project information

Budget
30+ USD