Translate a script from Thinkscript used on ThinkorSwim platform to MQL5

Specification

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);

Responded

1
Developer 1
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
2
Developer 2
Rating
(513)
Projects
775
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
3
Developer 3
Rating
(806)
Projects
1379
72%
Arbitration
113
28% / 48%
Overdue
343
25%
Working
4
Developer 4
Rating
(12)
Projects
12
25%
Arbitration
0
Overdue
1
8%
Free
5
Developer 5
Rating
(5)
Projects
7
43%
Arbitration
4
0% / 75%
Overdue
3
43%
Free
6
Developer 6
Rating
(64)
Projects
71
24%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(41)
Projects
46
28%
Arbitration
9
0% / 100%
Overdue
7
15%
Free
8
Developer 8
Rating
(550)
Projects
827
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
Similar orders
Please I Need A Programmer Who Can Create A Requirement Specification Document For My Trading System THE IDEA OF THE INDICATOR Create A Standard ZigZag Auto Fibo Indicator Combined With A ZigZag Fibonacci Time Zone Indicator Which Has The Specified Levels Written In The Indicator Strategy TEXT FILE/DOCUMENT HOW DOES THE INDICATOR KNOW AN UPTREND MOVEMENT? If Price Hasn't Touched The 123.6% Level Of The Recent Static
QuantumTrader 30 - 200 USD
Request for development of machine learning robots for MetaTrader 5 (MT5) **Description**: Willing to develop experience in programming trading robots using MQL5 language and can learn machine learning on MetaTrader 5 (MT5) platform. The robot should be able to implement a multidisciplinary strategy on a set of technical indicators and multiple rules. I need to develop the robots so that they can work in an
The goal is to develop a system that mirrors trade actions (Buy/Sell) from a CTrader demo account on Cronos Markets to multiple prop firm accounts on TradeLocker, ensuring accurate replication of trades while adjusting risk proportionally. I was wondering if you could help me with copy trading an EA’s action on Cronos markets (uses CTrader) into a prop firm account that I bought with TooOne Trader (uses TradeLocker
Need a Coding Expert. Fully automated Robot for Trading with minimal losses. It should be able to open/close trades automatically according to the strategy. Also, there should be an option to select maximum leverage for Trading FOREX, COMMODITIES, ENERGIES, etc. The forecast reports of trading strategies to be shared automatically to a specified Email, WhatsApp and Telegram accounts. TO DEVELOP A TRADING MANAGEMENT
IBRK fixing 30+ USD
I currently have a trading bot that uses IBKR to trade and the api ib_insync, however my coding knowledge has its boundaries and I need someone to help me build out and fix some parts of my program
Using 3 MA’s, Bollinger Bands and price action, I need an EA made for mt4 and mt5 (preferably) should have good knowledge of forex, risk management and candle stick patterns, and how to incorporate them in the codes. I need a very efficient code. * For the price, I just out anything there, but if you can do it I’ll pay the negotiated price*
Hello, same as title. I do not care about the drawdown I just need a trading strategy that can do 100% return per month return, simple as that. It would be nice if it can be automated into a bot/EA. Most important is the return of at least 100% per month!!! The strategy you provide need to be tested and work fine and have been doing well in the live market by you or someone for a long time. To be clear again - I need
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
// // @author LazyBear // // If you use this code in its original/modified form, do drop me a note. // study(title="Market Cipher B Free version with Buy and sell", shorttitle="Cipher_B_free") n1 = input(10, "Channel Length") n2 = input(21, "Average Length") obLevel1 = input(60, "Over Bought Level 1") obLevel2 = input(53, "Over Bought Level 2") osLevel1 = input(-60, "Over Sold Level 1") osLevel2 = input(-53, "Over

Project information

Budget
31 - 200 USD
For the developer
27.9 - 180 USD