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
Flummox 0.1 30+ USD
//@version=5 strategy("Vol10 Triple Confluence M15", overlay=true, margin_long=100, margin_short=100) // === INPUTS === emaLen = input.int(200, "EMA Trend") rsiLen = input.int(14, "RSI Length") bbLen = input.int(14, "Bands Length") rsiOversold = input.float(25, "RSI Buy Zone") rsiOverbought = input.float(77.38, "RSI Sell Zone") // === INDICATORS === emaTrend = ta.ema(close, emaLen) ema1 = ta.ema(close, bbLen) ema2 =
Foxer trading 30 - 500 USD
Automated Forex trading software is generally evaluated by users on independent forums like Forex Peace Army, Myfxbook, and Trustpilot. The highest-rated systems typically fall into three categories, depending on your risk tolerance and trading style: GPS Forex Robot : Famous for its long-term track record on verified Myfxbook accounts. Users praise its steady trend-following logic and its conservative approach
Raydon read 30+ USD
Instead of an answer key, bots use user-defined settings like lot size, stop-loss, take-profit, and unique identifier numbers (magic numbers).Logic Rules: They scan markets for triggers like moving averages, RSI, or MACD.Execution: Trades happen programmatically to remove human emotion
Tex 30+ USD
Today's Trading Strategy Options: Employ a disciplined execution approach based on the following two price-reaction scenarios: Scenario A. Buy Strategy (Capitalizing on Bullish RSI Momentum) – Trigger: Wait for the price candle to close decisively above the MA 50 (157.815). Take Profit: Set the initial target in the 158.200 range, with a maximum target of 158.500. Stop Loss: Place below the MA 20 or around the
Access and confidentiality restrictions: You will receive only a separately named copy of the Commander . Existing trading EAs, presets, account credentials, Telegram credentials and proprietary entry/exit code will not be shared. The Commander intelligence must be developed using: Defined signal/input interfaces Anonymized historical logs and replay data Mock EA signals and test harnesses Documented authority and
need an EA or indicator done , based on any strategy but with the following specific risk management parameters ; were i am able to do at least 2RR(standard reward-risk ratio for every trade) , fair win rate that is at leat 50% , EA should be able to generate at least 2 trades and above per week , favourable sharpe ratio . total drawdown of not more than 8% any given month and not over 3% any given day , would
I need an MQL5 trading robot for Forex. It should open and close trades based on my strategy rules. Please include money management, stop loss, take profit, and lot size settings. The EA should be stable, easy to edit, and tested before delivery. I will share the exact entry and exit rules with the developer
I need a professional programmer who can code this top tier professional synthetic index EA structure perfectly to my laptop extra perfectly payment after successful job very urgent needed here in Nigeria at onitsha Here is my contact you can message me on my WhatsApp 09121052987/ direct call 09038568050
Hello, I am looking for an experienced MQL5 developer to develop a professional and reliable Expert Advisor (EA) for MetaTrader 5. The EA will be based on a custom automated Forex trading strategy that I have developed and tested. The detailed trading logic and proprietary rules will be provided privately to the selected developer. General requirements: • Development in MQL5 for MetaTrader 5. • The EA will initially
I would like you to create, or if you already have one: purchase a profitable martingale OR grid EA from you that NEVER blows up the account. REQUIREMENTS Platform : only MT4 Pair : any Timeframe : any Strategy : any Profitability : 10% / month, every month. Not an "average", but: every month. Lots : dynamic (as the account grows, so do the lot sizes) THE PROCESS Send me a trial version of the .ex4 file. I will

Projektdetails

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