Конвертация 7 функций из кода C++ в MQL5

MQL5 Outros Conversão C++

Termos de Referência

Необходимо конвертировать функции из кода C++ по этой ссылке в MQL5.

Список функций:

THolder<IBinarizer> MakeBinarizer(const EBorderSelectionType type) {
switch (type) {
case EBorderSelectionType::UniformAndQuantiles:
return MakeHolder<TMedianPlusUniformBinarizer>();
case EBorderSelectionType::GreedyLogSum:
return MakeHolder<TGreedyBinarizer<EPenaltyType::MaxSumLog>>();
case EBorderSelectionType::GreedyMinEntropy:
return MakeHolder<TGreedyBinarizer<EPenaltyType::MinEntropy>>();
case EBorderSelectionType::MaxLogSum:
return MakeHolder<TExactBinarizer<EPenaltyType::MaxSumLog>>();
case EBorderSelectionType::MinEntropy:
return MakeHolder<TExactBinarizer<EPenaltyType::MinEntropy>>();
case EBorderSelectionType::Median:
return MakeHolder<TMedianBinarizer>();
case EBorderSelectionType::Uniform:
return MakeHolder<TUniformBinarizer>();
}

Описание методов можно посмотреть по ссылке.

Результатом работы должны быть такая функция

Mode How splits are chosen
Median Include an approximately equal number of objects in every bucket.
Uniform Generate splits by dividing the [min_feature_value, max_feature_value] segment into subsegments of equal length. Absolute values of the feature are used in this case.
UniformAndQuantiles Combine the splits obtained in the following modes, after first halving the quantization size provided by the starting parameters for each of them:
- Median.
- Uniform.
MaxLogSum Maximize the value of the following expression inside each bucket:
∑ i = 1 n log ⁡ ( w e i g h t ) , w h e r e \sum\limits_{i=1}^{n}\log(weight){ , where} i=1nlog(weight),where
- n n n — The number of distinct objects in the bucket.
- w e i g h t weight weight — The number of times an object in the bucket is repeated.
MinEntropy Minimize the value of the following expression inside each bucket:
∑ i = 1 n w e i g h t ⋅ l o g ( w e i g h t ) , < b r / > w h e r e \sum \limits_{i=1}^{n} weight \cdot log (weight) { ,<br/> where} i=1nweightlog(weight)where
- n n n — The number of distinct objects in the bucket.
- w e i g h t weight weight — The number of times an object in the bucket is repeated.
GreedyLogSum Maximize the greedy approximation of the following expression inside every bucket:
∑ i = 1 n log ⁡ ( w e i g h t ) , w h e r e \sum\limits_{i=1}^{n}\log(weight){ , where} i=1nlog(weight),where
- n n n — The number of distinct objects in the bucket.
- w e i g h t weight weight — The number of times an object in the bucket is repeated.
void Quant (int Type_Quant,int N, double &arr_In[],float &arr_Out[])
{
}


Respondido

1
Desenvolvedor 1
Classificação
(50)
Projetos
94
29%
Arbitragem
3
33% / 0%
Expirado
4
4%
Livre
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Modify indicator Cycles 4 with rectangle Make indictor for mt4 and mt5 with comments in source code This indicator based on Cycles_4 Parametres MA1 - is default MA2 (yes or no) - yes - value add (if not 3 MA - 2nd in trend MA, also if only 1 MA without 2 and 3) Trend MA (true\false) - true - yes - value add Revers rect - true/false Fix rect by height - true\false, like how user add and this remember in the exit from
Приобрету вашего робота если он: 1.Статистически прибылен на 99% качества тиков (если есть журнал сделок (фхбук) за последние года - будет большим преимуществом) 2. ЭТО НЕ МАРТИНГЕЙЛ ИЛИ СЕТКА, роботов с такими моделями я не рассматриваю априори 3. Одиночные трейды с ТП и СЛ 4. Не ХТФ, без стратегий которые зарабатывают на хеджировании В остальном готов рассмотреть ваши предложения Присылайте статистку за последние 3
Требуется портировать робота с haasonline на mt5, а так же консультация по подключению криптобирж. Нужно подключить по api к bybit okx счетам, а так же консультации по попутным вопросам. Возможно продолжительное сотрудничество

Informações sobre o projeto

Orçamento
50+ USD
Desenvolvedor
45 USD