Translate a script from Thinkscript used on ThinkorSwim platform to MQL5

Specifiche

so I have this indicator in ThinkScript but I need to convert it to MQL5 im not sure how to write script and call that script function into an indicator function to plot it, Ive done it before in EasyLanguage on Tradestaion but their coding is much simpler than MQL5..... input length = 21;
input lengthG = 8;
input beta = 8; script g {
    input length  = 4;
    input betaDev =  2;
    input data = close;
    def w = (2 * Double.Pi / length);
    def beta = (1 - Cos(w)) / (Power(1.414, 2.0 / betaDev) - 1 );
    def alpha = (-beta + Sqrt(beta * beta + 2 * beta));
    def G = Power(alpha, 4) * data + 
                 4 * (1 – alpha) * G[1] – 6 * Power( 1 - alpha, 2 ) * G[2] + 
                 4 * Power( 1 - alpha, 3 ) * G[3] - Power( 1 - alpha, 4 ) * G[4];
    plot Line = G;
} def val = g(length = lengthG, betaDev = beta, Data = close);
plot Zscore = (close - Average(val, length)) / StDev(val, length); 
plot smoothed = g(data = Zscore);

Con risposta

1
Sviluppatore 1
Valutazioni
(590)
Progetti
789
71%
Arbitraggio
9
33% / 33%
In ritardo
22
3%
Gratuito
2
Sviluppatore 2
Valutazioni
(499)
Progetti
750
63%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
3
Sviluppatore 3
Valutazioni
(785)
Progetti
1351
72%
Arbitraggio
109
28% / 49%
In ritardo
339
25%
Caricato
4
Sviluppatore 4
Valutazioni
(12)
Progetti
12
25%
Arbitraggio
0
In ritardo
1
8%
Gratuito
5
Sviluppatore 5
Valutazioni
(5)
Progetti
7
43%
Arbitraggio
4
0% / 75%
In ritardo
3
43%
Gratuito
6
Sviluppatore 6
Valutazioni
(59)
Progetti
66
24%
Arbitraggio
0
In ritardo
0
In elaborazione
7
Sviluppatore 7
Valutazioni
(41)
Progetti
46
28%
Arbitraggio
9
0% / 100%
In ritardo
7
15%
Gratuito
8
Sviluppatore 8
Valutazioni
(546)
Progetti
823
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
Ordini simili
I am looking for a skilled developer to code my custom Ninjatrader 8 strategy and make it works perfectly. Your expertise is highly needed in this project Kindly reach out to me and let proceed to the project without any further delay thanks
I want a bot developer deriv He has experience and I want a profitable robot, the profit is higher than the loss Or I want someone to sue with me. I have a profitable robot, but I want another robot or to improve another robot I have
i want close on reserve signal, auto lots, time fiter , TP SL TS ETC. I GET PAID ON THE 12TH, SO I WOULD LIKE A DEMO UNTIL 12/05/24 TO TEST IM WILL TOO PAY 60 USD FOR THE LONG WAIT
ICT, SMC, PAMETNI NOVAC KONCEPTI, PAMETNI NOVAC, koncept pametnog novca, podrška i otpor, analiza trenda, radnja cijena, tržišna struktura, blokovi naloga, BOS/CHoCH, blokovi razbijača , pomak momentuma, zona ponude i potražnje/blokovi naloga , jaka neravnoteža, HH/LL/HL/LH, jaz fer vrijednosti, FVG, Zone premije i popusta , Fibonacci retracement, OTE, Likvidnost na strani kupnje, Likvidnost na strani prodaje
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Trend killer 30 - 200 USD
I Will thanks for allowing me to create and that's good for me and u thanks u very muchand I Will make a good job to work and no to scheme people
100% Automated Trading Forex Robot powered by AI (Artificial intelligence) PLUG AND PLAY NB 100% Automated Trading Forex Robot powered by AI (Artificial intelligence) PLUG AND PLAY THE ROBOT MUST ANALYSIS ITSELF AND GIVE ACCURATE SIGNALS AND EXECUTE TRADES WITH THE HELP OF AI ( ARTIFICIAL INTELLIGENCE) FOR ALL THE KING PRO ROBOT VPN SHOULD BE RENTED FROM THE MAIN ORIGINAL COPY AND THERE SHOULD BE AN OPTION FOR THEM
I have a script i will like to convert into Ninjatrader 8. I have the source codes ready, you may contact me if it is some thing you can do. I will love it to work almost the same the pine script source code provided here is the source codes attached to this offer
I am looking for a developer who can convert my Pine script code to MQ5 code. The code is for a trading strategy that I would like to use on the MetaTrader 5 platform. The code needs to be converted accurately and efficiently, with all of the original functionality preserved. The developer should have experience with both Pine script and MQ5, and should be able to provide a high-quality conversion in a timely manner
I want to create a dashboard that would show all currency pairs using my currency strength indicator, ADX, and my support and resistance indicator.I want to the job done as soon as possible

Informazioni sul progetto

Budget
31 - 200 USD
Per lo sviluppatore
27.9 - 180 USD