Generate signal from candle closed crossing 1 MA

指定

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;

}

附加的文件:

反馈

1
开发者 1
等级
(258)
项目
322
30%
仲裁
34
26% / 65%
逾期
10
3%
工作中
2
开发者 2
等级
(19)
项目
24
8%
仲裁
9
33% / 33%
逾期
1
4%
已载入
3
开发者 3
等级
(8)
项目
9
11%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(274)
项目
403
28%
仲裁
40
40% / 50%
逾期
1
0%
空闲
5
开发者 5
等级
(62)
项目
90
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
6
开发者 6
等级
项目
0
0%
仲裁
1
0% / 0%
逾期
0
工作中
7
开发者 7
等级
(47)
项目
67
37%
仲裁
5
40% / 40%
逾期
1
1%
空闲
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲
9
开发者 9
等级
(390)
项目
416
30%
仲裁
74
19% / 72%
逾期
52
13%
工作中
10
开发者 10
等级
(4)
项目
10
50%
仲裁
1
0% / 100%
逾期
2
20%
空闲
11
开发者 11
等级
(454)
项目
718
34%
仲裁
34
71% / 9%
逾期
22
3%
空闲
12
开发者 12
等级
(7)
项目
7
0%
仲裁
0
逾期
2
29%
空闲
13
开发者 13
等级
(51)
项目
70
36%
仲裁
4
25% / 75%
逾期
1
1%
空闲
发布者: 1 代码
14
开发者 14
等级
(156)
项目
199
59%
仲裁
10
80% / 0%
逾期
0
工作中
发布者: 1 代码
15
开发者 15
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
16
开发者 16
等级
(453)
项目
566
26%
仲裁
24
42% / 38%
逾期
85
15%
空闲
发布者: 6 代码
17
开发者 17
等级
项目
0
0%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(4)
项目
8
0%
仲裁
3
33% / 67%
逾期
4
50%
空闲
19
开发者 19
等级
项目
0
0%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(27)
项目
29
38%
仲裁
0
逾期
3
10%
空闲
21
开发者 21
等级
项目
0
0%
仲裁
0
逾期
0
空闲
22
开发者 22
等级
(298)
项目
477
40%
仲裁
105
40% / 24%
逾期
81
17%
已载入
发布者: 2 代码
23
开发者 23
等级
(12)
项目
12
17%
仲裁
2
0% / 50%
逾期
1
8%
空闲
24
开发者 24
等级
项目
0
0%
仲裁
0
逾期
0
空闲
25
开发者 25
等级
项目
0
0%
仲裁
0
逾期
0
空闲
26
开发者 26
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Expert should be able to place trades across all Forex symbols (solution is advised) . xauusd live chart execution error . Deletion and Cleaning the Code (if required) . Live Chart Only
Dear All i am working on strategy in forex market specifically in xausud and i just want someone to make it automatic execution mode as per my requirements with propee risk management my broker is exness and i have an account in MT5
I am looking for an experienced MT5/MQL5 programmer to build Phase 1 of a larger Expert Advisor project. This first phase is limited to one custom signal only for the EUR/USD. If Phase 1 is completed correctly, additional signals may be added later as separate follow-up projects. The purpose of Phase 1 is to code, test, display, and log this signal accurately using completed M1 bars only. At this stage, I primarily
✅ MT4 EA Developer Checklist (For Your Ladder EA) 1️⃣ Indicator Integration EA reads signals from provided custom indicator (.ex4 or .mq4) Detects “Buy Next” / “Sell Next” signals on current candle Works with arrow-based or buffer-based signals 2️⃣ Next Candle Execution EA does not trade on the candle where the signal appears Orders placed only at first tick of the next candle Timeframes supported: M1, M5, M15
Hi to all, I need a modification of an existing grid EA with the following instructions: Add the following optional external inputs to the attached Expert Advisor: input bool TradeModeAgainstTrend ( TMAT ) = true ; input int CounterTrendLotsToStartTMAT = 0.15 ; input double CoefficientForTrendLots = 0.30 ; input double MaxTrendLot = 0.08 ; input bool OneSideTMATOnly = true ; input double CombinedClosureAmount = 10.0
Hello, i need expert developer that have been develop so many profitable AI bots that work for mt5 and ctrader autonomously if you know you can easily execute this requirement bid for it. NOTE:- YOU MUST COME WITH SAMPLE FOR THE 2 TRADING PLATFORM. While i take a look at your profile and reach out to you thanks
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks

项目信息

预算
30+ USD