Code that is able to Work More Efficiently with Multi Symbol

MQL5 Indikatoren Experten

Auftrag beendet

Ausführungszeit 1 Tag
Bewertung des Kunden
Delivered quickly and provided prompt responses. Definitely recommend to anyone
Bewertung des Entwicklers
Good employer! Thank you :)

Spezifikation

Attached below you will see the following:

  • ibbfill2(1) - indicator code that is the source indicator that I am using (use this to test if it is working)
  • Test_BB2 - indicator code converted into an Expert Advisor format so I do not need to use iCustom

As well as the code stated below - this code below shows my conversion of this code into a Multi Currency function using iCustom.

OUTCOME:

The outcome that I want is Test_BB2 to be converted into code that is as lean as possible. I still need to sustain the key functionality of he indicator, but I need to to work much better (I will use this code and put it into an expert advisor - currently it is too slow when backtesting with this implementation so I need this adjusted ASAP).

void prices(string symb)
{

static bool downTrend2[12] = {false};
static bool flatTrend2[12] = {false};
static bool upTrend2[12] = {false};

        int symbolIndex = -1;
//Removed Symbol 1 , 5, 12, 8, 9        
        
    string symbol_s[] = {symb1, symb2, symb3, symb4, symb5, symb6, symb7, symb8, symb9, symb10, symb11, symb12};

    for (int i = 0; i < 12; i++)
    {
        if (symb == symbol_s[i])
        {
            symbolIndex = i;
            break;
        }
    }

   ArraySetAsSeries(ibValue, true);
   ArraySetAsSeries(ibbLower, true);
   ArraySetAsSeries(ibbUpper, true);
   ArraySetAsSeries(ibbMain, true);

       if(symbolIndex >=0 && newBar(PERIOD_M15))
   {
   ibHandle =  iCustom(symb, PERIOD_M5, "ibbfill2", BBPeriod, BBDeviation, BBPrice);

   CopyBuffer(ibHandle, 9, 0, 3, ibValue);
   
   CopyBuffer(ibHandle, 8, 0, 3, ibbLower);
   CopyBuffer(ibHandle, 7, 0, 3, ibbUpper);
   CopyBuffer(ibHandle, 6, 0, 3, ibbMain);
   
   iBandsLower1  = ibbLower[1];
   iBandsUpper1  = ibbUpper[1];
   iBandsMain1   = ibbMain[1];
   
   upTrend2[symbolIndex] = ibValue[1]==1   ?  true  :  false;
   downTrend2[symbolIndex] = ibValue[1]==-1  ?  true  :  false;
   flatTrend2[symbolIndex] = ibValue[1]==0   ?  true  :  false;
   }
   downTrend = downTrend2[symbolIndex];
   flatTrend = flatTrend2[symbolIndex];
   upTrend = upTrend2[symbolIndex];
}


bool BBBuy(string symb)
{
    bool state;
    prices(symb);

    if (upTrend && !flatTrend && !downTrend)
    {
        state = true;
    }
    else state = false;

    return state;
}


bool BBSell(string symb)
{
    bool state;
    prices(symb);
    
    if (downTrend && !flatTrend && !upTrend)
    {
        state = true;
    }
    else state = false;

    return state;
}

bool BBFlat(string symb)
{
    bool state;
    prices(symb);
    
    if (!downTrend && flatTrend && !upTrend)
    {
        state = true;
    }
    else state = false;

    return state;
}

bool newBar(ENUM_TIMEFRAMES time)
{
   datetime          currentTime =  iTime(Symbol(), time, 0);
   static datetime   priorTime   =  currentTime;
   bool              results     =  (currentTime!=priorTime);
   priorTime                     =  currentTime;
   
   return results;
}



Bewerbungen

1
Entwickler 1
Bewertung
(22)
Projekte
27
37%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
3
11%
Arbeitet
2
Entwickler 2
Bewertung
(5)
Projekte
8
0%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
1
13%
Frei
3
Entwickler 3
Bewertung
(161)
Projekte
192
26%
Schlichtung
8
25% / 38%
Frist nicht eingehalten
5
3%
Beschäftigt
4
Entwickler 4
Bewertung
(142)
Projekte
208
80%
Schlichtung
18
33% / 44%
Frist nicht eingehalten
10
5%
Arbeitet
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(15)
Projekte
23
9%
Schlichtung
7
29% / 57%
Frist nicht eingehalten
2
9%
Frei
7
Entwickler 7
Bewertung
(45)
Projekte
76
20%
Schlichtung
7
0% / 86%
Frist nicht eingehalten
14
18%
Frei
Ähnliche Aufträge
** Entry Condition **: - ** For Long**: The trade is entered **after BB + ** is confirmed. - ** For Short *: The trade is entered **after BB -* is confirmed. ### 2nd **Stop Loss **: - ** For long Entries *: stop loss is triggered on a ** candle close above the high* of the breaker block shown by the indicator. - ** For Short Entries **: stop loss is triggered on a ** candle close below the low ** of the breaker block
Hello, am in need of a developer that can help in developing a trading bot that can effectively navigate the foreign exchange (Forex) market or other financial markets to generate passive income. My objective is to create a sophisticated algorithmic trading system that can consistently produce profitable trades with minimal manual intervention. I am seeking a reliable and efficient solution that can be tailored to my
am looking for who help me convert tradingview indicator to mt5 car trading strategy and make sure you are an expert before u apply to this and also my budget for this is 30$ so the name of the indicator is Breaker Blocks with Signals (LuxAlgo) ### 1. ** Entry Condition **: - ** For Long**: The trade is entered **after BB + ** is confirmed. - ** For Short *: The trade is entered **after BB -* is confirmed. ### 2nd
I have a custom MT4 indicator that I need converted to MT5. I'll share the source code with the applicants. Please only apply if you have vast experience in converting complex indicators successfully to MT5, and making sure that the MT5 version functions exactly the same as the MT4 version
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
Looking for someone to edit/optimize and existing NN (neural network) in my EA so it is more compatible/profitable with the multiple strategies. The expert advisor is a portfolio expert advisor consisting of 33 separate advisors/strategies compiled into one. A NN has been added to the EA but it does not compliment or help the EA's performance. I've attached the original EA (without NN) as well as the EA with the NN
Need to modify the ea to take trades based on an indicator. indicator and ea source code available. Variable inputs of indicator to be added. Buy Amount for Profit (+ve $value ) Buy Amount for Loss (-ve $value ) Sell Amount for Profit (+ve $value ) Sell Amount for Loss (-ve $value )
Procuro programador que consiga modificar essas estratégias, com a mesma capacidade de alteração das suas funcionalidades. Reitero, não consegui contato com o programador da fonte, nem mesmo mandando diversas mensagens no telegram! br.tradingview.com/script/PfpFNXyI-Braid-Filter/ br.tradingview.com/script/kv8N05R7-AlphaTrend-Screener/ Ambos os indicadores precisam agir em conjunto, tanto para as funcionalidades em
--- ### Basic Rules for You 1. **Time Management**: - All tasks should be completed within the agreed-upon timeframe. Clear deadlines will be set, and it's essential to adhere to them to ensure smooth progress. 2. **Fixed Budget**: - The budget for this project is fixed. Please ensure that all work done remains within this budget. Any additional costs must be discussed and agreed upon before proceeding. 3
CORREÇÃO NOTIFICAÇÕES Ø O indicador muda a cor dos candles e da MA200 quando ocorre as entradas e é somente nesse momento que ele deve enviar notificação de entrada porem está enviando em outros momentos que não atende as condições conforme imagem abaixo. Ø Sempre que abro o MT5, mudo o time frame ou a plataforma perde conexão o indicador me envia notificações de entradas passadas, o indicador deve enviar

Projektdetails

Budget
40+ USD
Für die Entwickler
36 USD
Ausführungsfristen
bis 1 Tag(e)