Basket Strength

MQL5 Indicateurs

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
Great job! Coded exactly to spec! Thank you
Commentaires de l'employé
Thanks a lot!

Spécifications


  • Currently there is an existing Indicator that has a math calculation for pair basket heat.
  • At the moment it does not have any buffers only a simple display. 


    This is  the outline of the current indicator

Tree Arrays are defined

code line 51

string mk[28]  = {"EURUSD", "GBPUSD", "AUDUSD", "USDJPY", 
                  "USDCHF", "USDCAD", "EURAUD", "EURCAD", 
                  "EURCHF", "EURGBP", "EURJPY", "GBPJPY", 
                  "GBPCHF", "NZDUSD", "AUDCAD", "AUDJPY", 
                  "CHFJPY","AUDNZD", "NZDJPY", "NZDCAD", 
                  "NZDCHF", "GBPNZD", "EURNZD", "GBPCAD", 
                  "GBPAUD", "AUDCHF", "CADCHF", "CADJPY"};

code line 59

string cc[8] = {"USD", "EUR", "GBP", "CHF", 
               "JPY", "CAD", "AUD", "NZD"};

code line 62

double ccv[28][2];   


The OnCalculate  Strength() function routine iterates through array  mk and  cc to build the strength profile and then fills array with the a numeric value representing the strength 

code line 116 - Is the Strength function

void Strength() {

   int r;
   double x;
   double y;
   int j = 0;
   double rgs = 0;
   for(int z = 0; z < ArraySize(cc) ;z++) {
      rgs = 0;
      j = 0;
      for (int i = 0; i < ArraySize(mk); i++) {

         r = 0;
         x = 0;
         y = 0;
         
         symb.Name(mk[i]);
         
         if (cc[z] == StringSubstr(symb.Name(), 0, 3) || 
             cc[z] == StringSubstr(symb.Name(), 3, 3)) {       
             
            symb.Name(mk[i]);
                              
            double h    =  H(symb.Name(), PERIOD_D1, 0);
            double l    = L(symb.Name(), PERIOD_D1, 0);
            x = (h - l) * symb.Point();
            
            if (x == 0.0) continue;
            
            double price = symb.Bid() + symb.Ask() / 2.0;
            
            y = 100.0 * ( price - 1.0 ) / x * ( symb.Point()  );

            if (y > 3.0) r = 1;
            if (y > 10.0) r = 2;
            if (y > 25.0) r = 3;
            if (y > 40.0) r = 4;
            if (y > 50.0) r = 5;
            if (y > 60.0) r = 6;
            if (y > 75.0) r = 7;
            if (y > 90.0) r = 8;
            if (y > 97.0) r = 9;
            j++;

            if (cc[z] == StringSubstr(symb.Name(), 3, 3)) r = 9 - r;
            rgs += r;
         }
      }
      
      if (j > 0)  rgs /= j;
      else rgs = 0;
      ccv[z][0] = rgs;
      ccv[z][1] = z;   
      

   }
}


What I need done is the following

  • Using the buffers already added to the Indicator,   add the code necessary to fill the 8 buffers with the final value from the variable rgs
  • You will find that rgs is already placing the strength in the cvv.  So in addition to this,  place this value in the correct buffer array.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(802)
Projets
1374
72%
Arbitrage
113
28% / 48%
En retard
342
25%
Travail
Commandes similaires
i want a forex robot that will read chats and enter trades on its oown. i want it to be able to use all trading strategies and partterns. good risky manegmemt, i want it to forcuse on Gold and and all major forex pairs. i want it to use stop loses and take profits as the market might change direction anytime. i want to work on both mt5 and mt4
I have access to a paid/subscription TradingView Strategy but I'am unable to see the script/code. I'm looking for someone who is able to reverse engineer this Strategy and create a new version that I would have full access to. I believe this would be using PineScript. If you've done this sort of thing before, please message me. $400 is my budget for this project on completion
I need a deriv expert who can create Boom and crash indicator of this type and you must have done over 300 jobs.. I need an expert for this job who have done similar job.👉https://youtu.be/pEuzkSI-lLw?si=5IRpWcQGxigKtz58
I have an Mt4, MT5 EA coded by experienced programmer but unfortunately i found this EA sometime placing the bracket orders sometime not in the VPS. I need someone to troubleshoot the EA where i will provide the VPS with MT4,5 and find a solution and modify the EA . This EA has the following feature which function somedays working somedays not . 1. can input certain closing time of the candle which at that time EA
Hello, I want a Telegram trade copier converted to metatrader 5. I have 2 samples with. This are samples of what I needed, inbox to let discuss if you can get this done with ease. Thanks
Hiring MQL5 Programmer Job Description: We are seeking a full-time MQL5 programmer to join our team. The successful candidate will work closely with me on a range of projects, including the development and correction of trading algorithms and formulas. The work schedule is from 11 am to 5 pm, Mexico time (UTC-6). Responsibilities: Develop and optimize trading bots in MT5. Implement artificial intelligence and machine
Below follows specifications and the pictures of how the indicator should be. I believe that during the development it is necessary some adjustments that I may have forgotten while writing the descriptions, please take this into account. If necessary I have the pdf file that may be easier to understand. Doubts I am at your disposal
Необходимо обновить утилиту для платформ МТ4 и МТ5. Основные задачи включают исправление графического интерфейса и добавление новых функций. Также потребуется интеграция внешних переменных с графическим интерфейсом. Все детали изложены в техническом задании. Жду ваши предложения
Develop a custom Expert Advisor (EA) for MetaTrader 4 (MT4) that operates using two selectable time frames. The EA will be fully customizable, allowing you to choose any time frame and input specific parameters. This tailored solution aims to automate trading strategies, enhance trading efficiency, and provide robust performance across various market conditions
Hello, I would like to discuss with a good MT5 programmer to modify an indicator. The programmer must first provide a prototype before I create a personal order for him

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD