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

MQL5 Diğer Dönüştürme C++

İş Gereklilikleri

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


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(50)
Projeler
94
29%
Arabuluculuk
4
25% / 0%
Süresi dolmuş
4
4%
Çalışıyor
2
Geliştirici 2
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Требуется разработать индикатор для платформы MetaTrader 5 на основе стратегии ICT (Inner Circle Trader) . Индикатор должен автоматически определять ключевые элементы стратегии, а также генерировать сигналы на покупку и продажу на основе их комбинации. Функционал индикатора: Liquidity Zones – автоматическое определение уровней скопления стоп-ордеров (Swing Highs & Lows) и возможных точек разворота. Fair Value Gaps
Задание будет подразделено на три блока 1) Необходим при пересечение всех трех МА изменить цвет и толщину линии на 1-3 бара от места пересечения(В МА используется сдвиг). Если пересечение снизу вверх, то цвет SeaGreen. Если пересечение сверху вниз, то DarkRed. 2) Необходимо создать пробой фракталов. Если формирование и пробитие фрактала происходит выше/ниже одной из МА(МА(Ma_Fast,Ma_Medium,Ma_slow) и тип тип
Разработка коннектора между TradingView и MetaTrader 5 с Telegram-ботом управления 1. Введение Требуется разработка коннектора между TradingView и несколькими терминалами MetaTrader 5 (MT5), который будет принимать сигналы через Webhook, фильтровать их, распределять между несколькими терминалами MT5 и управлять ими через Telegram-бот. 2. Функциональные требования 2.1. Прием и обработка сигналов Получение сигналов от

Proje bilgisi

Bütçe
50+ USD
Geliştirici için
45 USD