Generate signal from candle closed crossing 1 MA

Spécifications

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;

}

Dossiers :

Répondu

1
Développeur 1
Évaluation
(240)
Projets
301
28%
Arbitrage
33
24% / 61%
En retard
9
3%
Travail
2
Développeur 2
Évaluation
(17)
Projets
21
10%
Arbitrage
4
50% / 50%
En retard
1
5%
Travail
3
Développeur 3
Évaluation
(8)
Projets
8
0%
Arbitrage
0
En retard
0
Gratuit
4
Développeur 4
Évaluation
(269)
Projets
397
27%
Arbitrage
38
39% / 50%
En retard
1
0%
Travail
5
Développeur 5
Évaluation
(57)
Projets
82
24%
Arbitrage
24
13% / 58%
En retard
7
9%
Chargé
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
1
0% / 0%
En retard
0
Travail
7
Développeur 7
Évaluation
(47)
Projets
66
38%
Arbitrage
5
20% / 40%
En retard
1
2%
Travail
8
Développeur 8
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(390)
Projets
416
30%
Arbitrage
74
19% / 70%
En retard
52
13%
Travail
10
Développeur 10
Évaluation
(2)
Projets
5
60%
Arbitrage
1
0% / 100%
En retard
1
20%
Travail
11
Développeur 11
Évaluation
(436)
Projets
688
34%
Arbitrage
33
70% / 9%
En retard
22
3%
Travail
12
Développeur 12
Évaluation
(5)
Projets
6
0%
Arbitrage
0
En retard
2
33%
Gratuit
13
Développeur 13
Évaluation
(51)
Projets
69
35%
Arbitrage
4
25% / 75%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(151)
Projets
188
57%
Arbitrage
10
80% / 0%
En retard
0
Gratuit
Publié : 1 code
15
Développeur 15
Évaluation
(206)
Projets
333
35%
Arbitrage
66
12% / 58%
En retard
87
26%
Gratuit
16
Développeur 16
Évaluation
(452)
Projets
564
26%
Arbitrage
24
42% / 38%
En retard
85
15%
Travail
Publié : 6 codes
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(4)
Projets
7
0%
Arbitrage
2
50% / 50%
En retard
3
43%
Chargé
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(9)
Projets
9
11%
Arbitrage
0
En retard
2
22%
Gratuit
21
Développeur 21
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
22
Développeur 22
Évaluation
(294)
Projets
469
39%
Arbitrage
102
40% / 24%
En retard
77
16%
Chargé
Publié : 2 codes
23
Développeur 23
Évaluation
(12)
Projets
12
17%
Arbitrage
2
0% / 50%
En retard
1
8%
Gratuit
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Trading Bot Executes Trades on Specific Days via TradingView Alerts **As a** trader, **I want** to develop a trading bot that integrates with TradeLocker and MTS, **So that** when a TradingView alert (based on a 2,4,5,10,15,30 minute break and retest strategy whichever one) is triggered first. the bot will execute trades on both platforms, but only on specific days of the week. --- ## Acceptance Criteria 1
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave
Hello, I’m looking for an experienced MT4 (MQL4) developer to convert the Lucky Reversal indicator from indicatorspot.com into a fully functional Expert Advisor (EA). Project Scope Code an MT4 EA that replicates the exact logic and signals of the Lucky Reversal indicator Trades should open and close automatically based on the indicator’s rules Must match indicator behavior 1:1 (no approximations) EA Requirements MT4
Looking for a developer to develop or provide past expert advisor that can cope with high impact news and high trends. needs to be mt5. Any strategy necessary. need to be able to backtest myself or see past results. Minimum profit per month 30% but needs to be very low drawdown. Can be one shot trade a day or a 1 min scalper ea. I will not be going to telegram to discuss further
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter
Looking for experience MT5 developer to build a rule-based EA using Volume Profile concept. Only developer with proven past experience working with Volume Profile indicator (ie, VAH, VAL, POC, session profiles or anchored profiles) will be considered. Interested developer must submit a screenshot or video clip of a past project involving Volume Profile, before being shortlisted. Specification will only be shared and
My expert already has the rest of the required features implemented . Bring in your support and resistance expert to save time . My expert already has money management , session filter etc . Trailing is threshold based . Please send a picture as well to show your expert on a live chart . Most specific is the 5m tf , to 1m execution
Ai bot 100 - 300 USD
I’m looking for one person who is both a Forex trader and a programmer . I don’t want a coder who only writes code without understanding the market, and I don’t want a trader who can’t program. I want someone who actively trades and understands market behavior, liquidity, volatility, and risk management. Most importantly, the bot must be built using real artificial intelligence that learns and adapts , not just
can anyone help me with building a complete automated pine code strategy and indicator that work for both FXs & CFDs and have a high winning rate proved through back testing. I have a very complex current code that developed mostly using AI but lots of gaps are there although it translate exactly what I have in my mind. So, you are free to decide whether wo build a complete new code or fix my current working code ( i

Informations sur le projet

Budget
30+ USD