Translate the source code of an indicator from Pinescript to MT5

MQL5 Indikatoren Forex

Auftrag beendet

Ausführungszeit 1 Stunde
Bewertung des Kunden
Great job, Stephan! Fast Delivery!

Spezifikation

I need the service of a coder who understands both MQL5 and Pinescript Languages. I already have the source code for the indicator I want to create in Pinescript. I only need it to be translated to MQL5 so that I can use it on MetatTrader 5. The indicator is a combination of Apirine Slow RSI and a moving average which plots the average values of the Slow RSI. I have the standalone Apirine Slow RSI indicator which I downloaded from the market section of MT5 but I've tried adding the moving average to it on my charts but the plotting of the moving average isn't consistent across different zoom levels. So I thought adding the moving average in the source code should solve the problem.

NB: If possible, write the code for the moving average in such a way that it has three modes - Simple, Exponential and Smoothed.

Below is the Pinescript code for the indicator (I call it Trend Catcher) I want to create:

//@version=4
study("Trend Catcher", shorttitle="Trend_Catcher", overlay=false)

// Input variables
smaPeriod = input(20, title="SMA Period", minval=1)
oversoldLevel = input(20, title="Oversold Level", minval=0, maxval=100)
midLevel = input(50, title="Middle Level", minval=0, maxval=100)
overboughtLevel = input(80, title="Overbought Level", minval=0, maxval=100)

// Slow RSI Calculation
smooth = input(14, title="RSI Period Length", minval=1, maxval=100)
price = close
fn(src, length) =>
    MA_s = 0.0
    MA_s := (src + nz(MA_s[1]) * (length - 1)) / length
    MA_s

r1 = ema(price, 5)
r2 = iff(price > r1, price - r1, 0)
r3 = iff(price < r1, r1 - price, 0)
r4 = fn(r2, smooth)
r5 = fn(r3, smooth)
slowRSI = iff(r5 == 0, 100, 100 - (100 / (1 + (r4 / r5))))

// Simple Moving Average Calculation
sma = sma(slowRSI, smaPeriod)

// Plotting the indicators
plot(slowRSI, title="Slow RSI", color=color.blue, linewidth=1)
plot(sma, title="SMA", color=color.red, linewidth=1, style=plot.style_circles)

// Plotting the Oversold, Middle, and Overbought levels
hline(oversoldLevel, "Oversold", color=color.green)
hline(midLevel, "Middle", color=color.orange)
hline(overboughtLevel, "Overbought", color=color.red)



Bewerbungen

1
Entwickler 1
Bewertung
(132)
Projekte
178
39%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
14
8%
Frei
Ähnliche Aufträge
I am looking for an experienced MQL5 developer to code a simple grid trading strategy into an Expert Advisor. The strategy logic is already defined, and I am looking for someone with strong MQL5 development experience to implement it accurately and efficiently. If you are interested and have relevant experience, please get in touch so we can discuss the project details
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution
Looking for a Prop Firm Trading Bot (Gold/XAUUSD Preferred) I am looking for an experienced developer who can either: Create a custom prop firm trading bot, or Provide an existing, proven prop firm trading bot. Requirements: Preferably trades Gold (XAUUSD) . Designed to pass prop firm evaluation challenges. Must respect the following risk parameters: Daily Drawdown: Maximum 5% Overall Maximum Drawdown: 10% Strong
احتاج استراتيجية مع تحويله لمؤشر وفي المستقبل لربورت تداول مع وقف خسارة متحرك يعمل علي mt5وعمل علي مناطق دخول ىخروج يعمل علي الناسداك والعمل علي تقويتها باقصى نسبه نجاح بنسبه ٩٥ بالميه
Brotus AI 32+ USD
And let's talk about Linux and more about those technologies, ideas, those AI ideas.Let's make an AI technology summit for us base on wgat i wanna build and their example pictures of roadmapBoss can we take those idea all we've talked about base on technology, tech, UI...J.A.R.V.I.S...eDEX-UI into reality (solution) using laptop cause I think it give accces to build app amd more
أحتاج إلى برنامج تداول آلي (EA) مربح للمضاربة السريعة على الذهب. لا أرغب في استخدام استراتيجيات الشبكة أو المارتينجال. إذا كان لديك برنامج متطور وجاهز للعمل، يُرجى التواصل معي. يجب أن تكون قادرًا على توفير نسخة تجريبية
I have a bot working XAUUSD. Need another bot to work in XAUUSD as a stoploss @ 10 dollar per trade. A universal one which can work with or without magic number
I want a robot that executes round-the-clock trades on Gold, starting with a 0.01 lot size and increasing to 0.02 if the trade moves against the position. The first reinforcement (averaging) step should trigger after a $5 drop; then, the lot size should increase to 0.04 after another $5 drop, and to 0.08 after a further $5 drop. This doubling pattern should continue for every $5 movement up to a total range of $50
setup trading alerts on mt5 from hikin Ashi candles i have a strategy script convert it to sent alerts as signals ans sl/tp in mt5 same as tradingview hikin ashi

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 1 bis 3 Tag(e)