Can you convert this small Pinescript indicator into MT5 ?

 

Hi I'm looking to someone that can convert this indicator into an MT5  :

If you help me, I will share my strategy with you :-D


Thanks

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// @version=5

indicator('Test', overlay=true, timeframe="")

// Settings
src = input.source(close, 'Source')
h = input.float(8., 'Lookback Window', minval=3.)
r = input.float(8., 'Relative Weighting', step=0.25)
x_0 = input.int(25, "Start Regression at Bar")
smoothColors = input.bool(false, "Smooth Colors")
lag = input.int(2, "Lag")
size = array.size(array.from(src)) // size of the data series
test = 0.0

kernel_regression(_src, _size, _h) =>
    float _currentWeight = 0.
    float _cumulativeWeight = 0.
    for i = 0 to _size + x_0
        y = _src[i] 
        test = y
        w = math.pow(1 + (math.pow(i, 2) / ((math.pow(_h, 2) * 2 * r))), -r)
        _currentWeight += y*w
        _cumulativeWeight += w
    _currentWeight / _cumulativeWeight

// Estimations
yhat1 = kernel_regression(src, size, h)
// Plot
plot(yhat1, "Estimate", color=color.lime, linewidth=2)

Thank's for the help

 
Vincent V.:

Hi I'm looking to someone that can convert this indicator into an MT5  :

If you help me, I will share my strategy with you :-D


Thanks

Thank's for the help

The value of indicator depends on all previous values on price chart. This is too much from processing point of view. MT platform is not designed for such indicator. But you may create a freelance order for this conversion.
 
Yashar Seyyedin #:
The value of indicator depends on all previous values on price chart. This is too much from processing point of view. MT platform is not designed for such indicator. But you may create a freelance order for this conversion.
Where can I order this ? 
 
Vincent V. #Where can I order this ? 

https://www.mql5.com/en/job

Trading applications for MetaTrader 5 to order
Trading applications for MetaTrader 5 to order
  • 2023.03.24
  • www.mql5.com
The largest freelance service with MQL5 application developers