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

MQL5 其它 转化中 C++

指定

Необходимо конвертировать функции из кода 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[])
{
}


反馈

1
开发者 1
等级
(50)
项目
94
29%
仲裁
3
33% / 0%
逾期
4
4%
工作中
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Нужен телеграм бот который по запросу валютной пары и времени экспирации будет давать сигнал, например EUR USD 5 минут и он выдаёт куда открывать сделку. Пример прилагаю скрином. Так же важно что бы он давал сигналы на ОТС котировках брокера Pocket option. Так же нужно что бы через бот можно было пройти регистрацию
Нужен робот в виде телеграм бота для ручной торговли который выдает тот самый бот в телеграмм скрины в виде примера показаны ниже пример EUR/USD сигнал вниз таймфрейм 1 минута нужно сделать бот в телеграмм очень качественным который может делать хоть и не частые но очень верные сигналы P.S он так же должен давать сигналы на OTC
Добрый день! Нужна программа копировщик сделок с одного счета deriv на другой при помощи API токена. Параметры: Можно выбрать по какому риск менеджменты копируются сделки (masaniello или Лабушер, мартингейл, антимартингейл) Начальный лот тейк профит 1 - устанавливается именно на сделки скопированные программой, при достижении тейк профита 1 или прекращает работать (Stop) или пере запасается работа сначала (ресет)

项目信息

预算
50+ USD
开发人员
45 USD