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
評価
(253)
プロジェクト
316
29%
仲裁
34
26% / 65%
期限切れ
10
3%
2
開発者 2
評価
(19)
プロジェクト
23
9%
仲裁
6
33% / 50%
期限切れ
1
4%
多忙
3
開発者 3
評価
(8)
プロジェクト
9
11%
仲裁
0
期限切れ
0
4
開発者 4
評価
(273)
プロジェクト
402
27%
仲裁
40
40% / 50%
期限切れ
1
0%
5
開発者 5
評価
(60)
プロジェクト
87
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)
プロジェクト
8
50%
仲裁
1
0% / 100%
期限切れ
1
13%
仕事中
11
開発者 11
評価
(448)
プロジェクト
709
34%
仲裁
35
69% / 9%
期限切れ
22
3%
仕事中
12
開発者 12
評価
(6)
プロジェクト
6
0%
仲裁
0
期限切れ
2
33%
13
開発者 13
評価
(51)
プロジェクト
69
35%
仲裁
4
25% / 75%
期限切れ
0
14
開発者 14
評価
(156)
プロジェクト
197
59%
仲裁
10
80% / 0%
期限切れ
0
パブリッシュした人: 1 code
15
開発者 15
評価
(206)
プロジェクト
333
35%
仲裁
66
12% / 58%
期限切れ
87
26%
16
開発者 16
評価
(452)
プロジェクト
565
26%
仲裁
24
42% / 38%
期限切れ
85
15%
仕事中
パブリッシュした人: 6 codes
17
開発者 17
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
18
開発者 18
評価
(4)
プロジェクト
8
0%
仲裁
3
33% / 67%
期限切れ
4
50%
19
開発者 19
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
20
開発者 20
評価
(16)
プロジェクト
18
28%
仲裁
0
期限切れ
3
17%
仕事中
21
開発者 21
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
22
開発者 22
評価
(297)
プロジェクト
476
40%
仲裁
105
40% / 24%
期限切れ
81
17%
多忙
パブリッシュした人: 2 codes
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 need a mt5 expert advisor as shown in the youtube video. The expert advisor need to work with three digit broker i.e. exness also with two digit broker i.e. vantage. Please specify the settings for both type of brokers. I need same result as shown in the youtube video. Video link is https://www.youtube.com/watch?v=ndVQD7iS1-A
You can control via Telegram: /start - enable bot, begin trading, /stop - end trading, disable bot /status - trade status Bot requirements: • Automated trading throughout the day until 00:00 UTC (Moscow time) (I do not want to trade or turn the bot on 100 times a day). • Auto shutdown of the bot in Telegram at 00:00 UTC (Moscow time) and manual restart when convenient. • Market analysis 24/5 using 20 EMA, RSI, and
I am seeking an alert-only EA. An EA that will follow all the rules but not execute a trade. As this is a repeat posting I am seeking the successful technician - Xiro from Vietnam. Thanks Karl
Ninjatrader bot 30+ USD
I am looking for an experienced developer who specializes in NinjaTrader and NinjaScript to build a fully automated trading bot. The goal is to create a “sniper-style” trading system that focuses on precise entries, strong risk management, and structured trading logic. This is NOT a simple indicator project I am looking for someone who understands algorithmic trading and can translate trading rules into a reliable
Looking for a trading bot / Expert Advisor that wont make dozens of small successful trades and then one or two unsuccessful trades that wipes out your account Requirements: - MT4 capable - Use on the major currency pairs - although open to other currency pairs - Be successful in monetary terms not necessarily in how many successful trades
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Pro firm setup 30+ USD
Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000

プロジェクト情報

予算
30+ USD