Converting TradingView Strategy into MQL5 EA Ro

Trabajo finalizado

Plazo de ejecución 6 días

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(412)
Proyectos
543
75%
Arbitraje
9
44% / 0%
Caducado
24
4%
Libre
2
Desarrollador 2
Evaluación
(2)
Proyectos
2
0%
Arbitraje
3
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(38)
Proyectos
50
10%
Arbitraje
1
0% / 0%
Caducado
8
16%
Libre
Solicitudes similares
Looking for a developer to implement a multi-timeframe strategy based on liquidity zones, 2 oscillators (ADX and Stochastic RSI), and basic candlestick patterns (bullish/bearish engulfing, morning/evening star, hammer, falling star, piercing, black cloud cover - those are strictly specified in the specification to be shared privately). Developer needs basic knowledge of those oscillators and candlestick patterns, as
I would like you to create an expert advisor or robot based on a closed source Trading View indicator ‘Stop Hunt by _Nephew_Sam’. You have to first check this indicator out and be sure you can replicate the source code’s logic before you apply for this gig. If you read to this point, include closed source in your reply to this post
Project Description: I am looking for an experienced developer to create an Expert Advisor (EA) compatible with both MT4 and MT5 with the following functionalities: 1. Capital and Position Sizing Management: Automatically calculate and determine the appropriate trade size based on account balance and predefined risk parameters. Enforce strict capital management rules to prevent excessive exposure and control overall
Project Description: We are looking for an experienced developer to create a plugin named "Anti-Scalper" , designed to prevent scalping activities by restricting trading actions within a specified time window. The plugin should be secure, efficient, and offer real-time configurability via a web-based GUI. Core Features: Configurable Time Range Restriction Admin should be able to set a configurable time range (e.g
Here are the requirements for a potential developer: 1. *Task*: Create a detailed specification for image editing tasks. 2. *Key Features*: - Describe the type of image (e.g., photo, graphic). - Specify edits (add, remove, change elements). - Define desired output format and resolution. 3. *Deliverables*: - A clear, concise document outlining the task. - Estimated complexity and cost assessment. -
I'm looking for someone who can help me create an EA that can both backtest and trade automatically according to a specific strategy that I've developed myself. The strategy is NOT based on any indicator but rather on market structure regarding higher highs, lower lows, liquidity etc. I need someone who has done such EA's before and have a deep experience
Category: Trading robots (Expert Advisors) Platform: MetaTrader 5 Budget: $300 (fixed) Description: I need an experienced MQL5 developer to build a **high-performance scalper EA** for MT5 designed to **pass a prop firm challenge within one week** while fully complying with prop firm rules (daily drawdown, max loss, profit target). This is a paid job with a strict requirement for **full source code delivery and IP
Hello, I’m looking for a skilled developer to create a Telegram-to-MT4 & MT5 signal copier bot/EA with the following features: Core Features: Copy signals (both text and images) from Telegram and execute trades in MT4 and MT5 (two separate versions). AI parsing mode: Option to enable AI to read and interpret signals before execution. Fully optimized, stable, and bug-free performance. Prop firm compatibility
Modify bot mt5 100+ USD
i nee a change the bot velocity vector 2.0 modification indicator profitable ems trading bot I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
A Grid EA with a hedge that closes losing trades with current profits utilizes a grid trading strategy combined with hedging techniques to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial direction, a hedge (opposite position) is opened. If the market reverses, the losing

Información sobre el proyecto

Presupuesto
30 - 35 USD
IVA (22%): 6.6 - 7.7 USD
Total: 36.6 - 42.7 USD
Para el ejecutor
27 - 31.5 USD