Converting TradingView Strategy into MQL5 EA Ro

Trabalho concluído

Tempo de execução 6 dias

Termos de Referência

Hello there. Can someone help me translating a TradingView strategy into a MQL5 strategy?

It's pretty easy and standard the strategy. Around 70 rows of code. This is the code:


------------------------------------------------------



//@version=4

strategy("RSI2", overlay=true)


//inizializzazione parametri


//RSI

src = close

len = input(2, minval=1, title="RSILength")

up = rma(max(change(src), 0), len)

down = rma(-min(change(src), 0), len)

rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - 100 / (1 + up / down)


//medie mobili


mmlen = input(200, title="Slow MA len")

mmflen = input(50, title="Fast MA len")

machoice = input(defval="EMA", options=["SMA", "EMA"])


//soglie RSI

RSIthreshUP = input (90, title="Threshold RSI up")

RSIthreshDWN = input (10, title="Threshold RSI down")


//input ticker

tick=input(0.5,title="Ticker size",type=input.float)

filter=input(true,title="Trend Filter",type=input.bool)


mmslow = if machoice == "SMA"

    sma(close, mmlen)

else

    ema(close, mmlen)


mmfast = if machoice == "SMA"

    sma(close, mmflen)

else

    ema(close, mmflen)


plot(mmslow, color=color.white)

plot(mmfast, color=color.yellow)



//condizioni ingresso ed uscita mercato. Uscita non utilizzate


ConditionEntryL = if filter == true

    mmfast > mmslow and close > mmslow and rsi < RSIthreshDWN

else 

    mmfast > mmslow and rsi < RSIthreshDWN

    

ConditionEntryS = if filter == true

    mmfast < mmslow and close < mmslow and rsi > RSIthreshUP

else

    mmfast < mmslow and rsi > RSIthreshUP

//ConditionExitL = (barssince(close>open)>2)

//ConditionExitS = (barssince(open>close)>2)


//impostazione trailing stop

ts = input(1, title="TrailingStop%", type=input.float)

ts_calc = close * (1/tick) * ts * 0.01


//ingressi ed uscite Mercato

if ConditionEntryL

    strategy.entry("RSILong", strategy.long)


strategy.exit("ExitLong", "RSILong", trail_points=0, trail_offset=ts_calc)

//if (ConditionExitL)

//    strategy.close ("RSILong")


if ConditionEntryS

    strategy.entry("RSIShort", strategy.short)


strategy.exit("ExitShort", "RSIShort", trail_points=0, trail_offset=ts_calc)

//if (ConditionExitS)

//    strategy.close ("RSIShort")

Respondido

1
Desenvolvedor 1
Classificação
(412)
Projetos
543
75%
Arbitragem
9
44% / 0%
Expirado
24
4%
Livre
2
Desenvolvedor 2
Classificação
(2)
Projetos
2
0%
Arbitragem
3
0% / 100%
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(38)
Projetos
50
10%
Arbitragem
1
0% / 0%
Expirado
8
16%
Livre
Pedidos semelhantes
I offer expert services to refine and optimize your MetaTrader 5 Expert Advisors for peak performance. My approach focuses on achieving a maximum Sharpe Ratio while strictly limiting Maximum Drawdown (Max DD) , making the strategy suitable for high-standard environments like prop firm trading . I specialize in indicator-based logic and logical filter enhancements rather than external Telegram signals. With a
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I am a Professional Forex Trader, actively working in the financial markets with a strong focus on how price truly moves. I specialize in logic, market structure, and institutional behavior rather than indicators or guesswork. I have mastered: • Market Structure • Trend Identification • Elliott Wave Theory • Wyckoff Logic My core expertise lies in: • Deep understanding of market structure • Identifying
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
I am a professional trader specializing in technical analysis using a powerful combination of Fibonacci strategies and Dow Theory. With strong experience in reading market structure, I am able to identify major trends, precise entry points, and key support & resistance levels with high accuracy. My approach goes beyond using a single indicator. I combine Fibonacci retracement & extension to pinpoint potential
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
I want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale

Informações sobre o projeto

Orçamento
30 - 35 USD