Converting TradingView Strategy into MQL5 EA Ro

작업 종료됨

실행 시간 6 일

명시

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

응답함

1
개발자 1
등급
(412)
프로젝트
543
75%
중재
9
44% / 0%
기한 초과
24
4%
무료
2
개발자 2
등급
(2)
프로젝트
2
0%
중재
3
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(38)
프로젝트
50
10%
중재
1
0% / 0%
기한 초과
8
16%
무료
비슷한 주문
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

프로젝트 정보

예산
30 - 35 USD