仕事が完了した

実行時間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%
類似した注文
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
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
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
Matriks programında güzel bir stratejim var, meta da kayıtlı olmayan iki indikatörümü de metaya yükledim, stratejim belli, ama robot oluşturmak konusunda bilgim eksik. Yardım istiyorum. Acil dönüş bekliyorum. 12-276 üssel ortalamayı hangi yöne keserse, alphatrend indikaörüde bunu desteklesin, kendi gömdüpüm diğer bir indikatörde seviyelere göre alsın satsın
MT5 EA Developer for Structured ICT/SMC Market Logic Requirements Specification: I need an MT5 Expert Advisor only in MQL5. No indicator, no script, no DLL, and no external API. The EA must be built on a rule-based ICT/SMC-style framework with objective, backtestable logic. I am not looking for social-media-style ICT/SMC interpretation. I need a developer who can convert trading concepts into clear coding rules. The
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify
Junior EA 30+ USD
1. EA for MT5, hedging allowed. 2. Entry: 50 EMA crosses 200 EMA on H1. Buy on bullish cross, sell on bearish. 3. SL: 100 pips, TP: 200 pips. No trailing stop. 4. Lot size: 0.01 fixed. Max 3 trades at once. 5. Trade only 08:00-18:00 GMT. No trades if spread > 20 points. 6. Inputs: EMA periods, SL, TP, lot size, start/end time
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
OBJETIVO Criar um Expert Advisor MT5 profissional para XAUUSD focado em: Consistência Baixo drawdown Scalping profissional Proteção da conta Crescimento sustentável Compatibilidade com conta micro e prop firms NÃO utilizar: Martingale Grid Hedge agressivo Recovery system Multiplicação de lotes após perda --- ATIVO XAUUSD apenas --- TIMEFRAMES Timeframe principal M5 Confirmação tendência M15 Confirmação macro opcional

プロジェクト情報

予算
30 - 35 USD