To upgrade and inprove on a simple Hull / Standard 13 day crossover

Auftrag beendet

Ausführungszeit 1 Stunde
Bewertung des Entwicklers
Thanks a lot!
Bewertung des Kunden
Excellent very happy with result great Communicator excellent knowledge of subject

Spezifikation

Hi 

I have tried over the last few days to build a simple crossover indicator with alerts using various chat bots . But I have come to the simple resolution that none of us [me & bots ] have skills to make it work . So what do I require 

I want a custom 13 day moving average to crossover either an Adaptive ma /Hull ma { my attempts involved using a Hull but either is fine } and to send me an push notification via txt on crossover  simple as that .

Below are my attempts the txt me version uses a Twillo number i,m thinking that may not be necessary i,ll let you tell me what you think 

1 st crossover 



//+------------------------------------------------------------------+

//|                                                    Zoot Suit.mq4 |

//|                                  Copyright 2024, MetaQuotes Ltd. |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+

#property copyright "Copyright 2024, MetaQuotes Ltd."

#property link      "https://www.mql5.com"

#property version   "1.00"

#property strict

#property indicator_chart_window

//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+

int OnInit()

  {

//--- indicator buffers mapping

   

//---

   return(INIT_SUCCEEDED);

  }

//+------------------------------------------------------------------+

//| Custom indicator iteration function                              |

//+------------------------------------------------------------------+

int OnCalculate(const int rates_total,

                const int prev_calculated,

                const datetime &time[],

                const double &open[],

                const double &high[],

                const double &low[],

                const double &close[],

                const long &tick_volume[],

                const long &volume[],

                const int &spread[])

  {

//---

   

//--- return value of prev_calculated for next call

   return(rates_total);

  }

//+------------------------------------------------------------------+

//+------------------------------------------------------------------+

//|                                                     ZootSuit.mq4 |

//|                                                                  |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+


#property indicator_separate_window

#property indicator_buffers 2

#property indicator_color1 Blue

#property indicator_color2 Red


// Define period as a global variable

input int Period = 13; // Or whatever value you intend to use


// Define buffers

double hullBuffer[];

double emaBuffer[];


//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+

int OnInit()

{

    // Indicator buffers mapping

    SetIndexBuffer(0, hullBuffer);

    SetIndexBuffer(1, emaBuffer);


    return(INIT_SUCCEEDED);

}


//+------------------------------------------------------------------+

//| Custom indicator iteration function                              |

//+------------------------------------------------------------------+

int OnCalculate(const int rates_total,

                const int prev_calculated,

                const datetime &time[],

                const double &open[],

                const double &high[],

                const double &low[],

                const double &close[],

                const long &tick_volume[],

                const long &volume[],

                const int &spread[])

{

    // Calculate the Hull moving average

    for (int i = prev_calculated; i < rates_total; i++)

    {

        hullBuffer[i] = HullMovingAverage(close, Period, i);

    }


    // Calculate the custom simple moving average

    for (int i = prev_calculated; i < rates_total; i++)

    {

        double sum = 0.0;

        for (int j = i - Period + 1; j <= i; ++j) {

            sum += close[j];

        }

        emaBuffer[i] = sum / Period;

    }


    // Check for crossover and send push notification

    if (rates_total >= 2 && hullBuffer[rates_total - 2] > emaBuffer[rates_total - 2] && hullBuffer[rates_total - 1] < emaBuffer[rates_total - 1])

    {

        SendNotification("HMA crossed below custom EMA");

    }


    // Return value of prev_calculated for next call

    return(rates_total);

}


//+------------------------------------------------------------------+

//| Hull Moving Average Calculation                                  |

//+------------------------------------------------------------------+

double HullMovingAverage(const double &price[],

                         const int period,

                         const int shift)

{

    double wma1 = iMA(Symbol(), 0, period / 2, 0, MODE_WMA, PRICE_CLOSE, shift);

    double wma2 = iMA(Symbol(), 0, period, 0, MODE_WMA, PRICE_CLOSE, shift);

    double hull = 2 * wma1 - wma2;

    return hull;

2 nd send txt message 

//+------------------------------------------------------------------+

//|                                            SendTextMessage().mq4 |

//|                                                            puggy |

//|                                             https://www.mql5.com |

//+------------------------------------------------------------------+

#property copyright "puggy"

#property link      "https://www.mql5.com"

#property version   "1.00"

#property strict

//+------------------------------------------------------------------+

//| Script program start function                                    |

//+------------------------------------------------------------------+

void OnStart()

  {

//---

   

  }

//+------------------------------------------------------------------+

void SendTextMessage(string recipient, string message)

{

    string url = "https://api.twilio.com/2010-04-01/Accounts/Your_Account_SID/Messages.json";

    string username = "Your_Account_SID";

    string password = "Your_Auth_Token";

    string headers = "Authorization: Basic " + Base64Encode(username + ":" + password);


    string postData = "To=" + recipient + "&From=Your_Twilio_Phone_Number&Body=" + message;


    int request = WebRequest("POST", url, headers, postData, 5000);

    if (request > 0)

    {

        string response = WebRequestGetResult(request);

        Print("Twilio response: ", response);

    }

    else

    {

        Print("Failed to send HTTP request to Twilio");

    }


Bewerbungen

1
Entwickler 1
Bewertung
(1066)
Projekte
1408
45%
Schlichtung
47
72% / 13%
Frist nicht eingehalten
35
2%
Frei
2
Entwickler 2
Bewertung
(506)
Projekte
760
63%
Schlichtung
33
27% / 45%
Frist nicht eingehalten
23
3%
Frei
3
Entwickler 3
Bewertung
(34)
Projekte
62
23%
Schlichtung
10
0% / 60%
Frist nicht eingehalten
18
29%
Frei
4
Entwickler 4
Bewertung
(119)
Projekte
127
41%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(2395)
Projekte
3009
65%
Schlichtung
76
47% / 14%
Frist nicht eingehalten
340
11%
Arbeitet
6
Entwickler 6
Bewertung
(41)
Projekte
87
13%
Schlichtung
30
30% / 47%
Frist nicht eingehalten
35
40%
Beschäftigt
7
Entwickler 7
Bewertung
(19)
Projekte
23
48%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
2
9%
Arbeitet
8
Entwickler 8
Bewertung
(430)
Projekte
488
33%
Schlichtung
25
40% / 44%
Frist nicht eingehalten
7
1%
Beschäftigt
9
Entwickler 9
Bewertung
(558)
Projekte
926
48%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
124
13%
Beschäftigt
Ähnliche Aufträge
Requiero un EA basado en un indicador con las siguientes caracteristicas 1. Abra operacion con una señal que da el indicador, despues que la vela toque el indicador y cierre por encima del indicador 2. Que cierre operacion con SL y TP en % de perdida y ganancia 3, Que en cada señal abra un maximo de X operaciones y si pierde en la siguiente señal haga el doble operaciones y todas seran con el mismo lotaje Todos los
I need an ea created per my requirements according to my strategy. I am only willing to pay 50$ for this as fixed price. If you can do it, please message. No price negotiation please
Inputs required: Tp multiplier (For setting TP); BE level(RR to be reached before BE is set), Trading time(time when the EA will be active), Risk percentage (percentage risk that would be used to take trades and calculate lotsizes), News filter minutes(minutes before and after news to close all positions and prevent new entries), minimum candles required (minimum candles to check for intersecting wicks before entry);
Develop a trading bot from a custom indicator The indicator gives colours for buy and sell . Bot should hold position for as long as colour persists Include money management and risk management
I need a simple automated Expert Advisor that can trade any of deriv indices except boom and crush or us30. Must at least be able to trade a 20$ account..i need it ASAP, referrals also welcomed
Hello i need someone who can help me optimise my trading strategy using two or three indicators from tradingview. Which are swing arm atr trend indicator 2 atr for stop loss and tp levels 3 ut bot alerts for extra confirmation to enter a trade. I would like to take trades with a high reward level
Hey greetings.i will like to convert my tradingview pinescript script to Metatrader 5 expert Advisor EA . Kindly apply for this job if you can convert my tradingview script for mt5 EA.Thanks
ETF arbitrage robot 30 - 50 USD
👋 Hey Great Developer, can you help me with my project did you trading bot for ETF that ES and NQ futures If you have recent one so i can check it I will be looking for great developer to bid for this project
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
ultra simple to use and 100% automated EA, you just need to drag it onto the chart XAUUSD M10 and indicate the percentage of risk you wish to take per trade. The EA uses a stop loss on each trade to secure all trades for maximum account security. EA does not use risky strategies, grids or martingales. Very profitable to use, and also have capability for copy trading. i am open to an exsiting Bot as long as it meets

Projektdetails

Budget
30 - 150 USD
Für die Entwickler
27 - 135 USD
Ausführungsfristen
bis 10 Tag(e)