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
等级
(409)
项目
537
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%
空闲
相似订单
Required to develop expert advisory which will work on any pair including crypto , forex, gold, silver, oil, simple stragy which will work on RSI,GRID, take profit, grid distance, start and stop button, only buy and only sell, filter for time frame Like 5m to 4 hr. stop loss and take profit .Detail will be shared once you except order
I need to fix the alerts of my SMC Order Blocks indicator, which is a custom indicator created for me some time ago. This custom indicator already has several types of alerts built-in, but I need to fix specific ones while keeping the other existing alerts unchanged, as those do not have any errors. The alert is for a specific Order Blocks pattern. This indicator graphically provides a zigzag, and from there, CHoCH
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Hi Guys, I am looking to someone that can generate an indicator for MT4 as explained below. Basically I would need that the indicator point out the price that will close my position in stop out/margin call. The indicator should pick automatically the level of trade out for the broker (which can be different from a broker to another broker) It should write (ideally on the bottom on the left) the following information
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later

项目信息

预算
30 - 35 USD
VAT (22%): 6.6 - 7.7 USD
总计: 36.6 - 42.7 USD
开发人员
27 - 31.5 USD