Creating a simple expert advisor converting from traidingview scrypt to MT4 (mql4 )

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del dipendente
Good customer! Is clear what he wants, is open for discussions and have patience.
Feedback del cliente
Perfect job. All intime. Was one bug in code, but was fast fixed. Good cooperation. Recommend .

Specifiche

Hi.
Need to convert strategy from tradingview to MQL4.

ATR Smoothed (By dysrupt)_BuySell version

()

The task is to make simple buy/sell expert with drawing on chart  and mark on chart buy/sell points.
The chart and buy/sell points on tradingview and MT4 should be same for same pair and same timeframe.

Prefer developers who already did such or similar code.



Tradingview code is below :
study(title="ATR Smoothed (By dysrupt)_BuySell version", shorttitle="ATR_SM_BuySell", overlay = true)

//Modifyed by @guikroth
////////////////////////////////////////////////////////////////////////////////INPUTS

nATRPeriod      = input(21, "Period")
nATRMultip      = input(6.3, "Multiplier",type=float, minval=0.5, maxval=1000, step=0.1)



/////////////////////////////////////////////////////////////////////////////////ATR

xATR = atr(nATRPeriod)
nLoss = nATRMultip * xATR
xATRTrailingStop = na
xATRTrailingStop :=
 iff(close > nz(xATRTrailingStop[1], 0) and close[1] > nz(xATRTrailingStop[1], 0), max(nz(xATRTrailingStop[1]), close - nLoss),
  iff(close < nz(xATRTrailingStop[1], 0) and close[1] < nz(xATRTrailingStop[1], 0), min(nz(xATRTrailingStop[1]), close + nLoss),
   iff(close > nz(xATRTrailingStop[1], 0), close - nLoss, close + nLoss)))
                       
pos = na
pos :=
 iff(close[1] < nz(xATRTrailingStop[1], 0) and close > nz(xATRTrailingStop[1], 0), 1,
  iff(close[1] > nz(xATRTrailingStop[1], 0) and close < nz(xATRTrailingStop[1], 0), -1, nz(pos[1], 0)))
 
color = pos == -1 ? red: pos == 1 ? lime : blue
//patr=plot(xATRTrailingStop, color=color, linewidth=2, title="ATR Trailing Stop", transp=0)

// Deternine if we are currently LONG
isLong = false
isLong := nz(isLong[1], false)

// Determine if we are currently SHORT
isShort = false
isShort := nz(isShort[1], false)

//Trading
// Buy only if the buy signal is triggered and we are not already long
LONG = not isLong and pos == 1


// Sell only if the sell signal is triggered and we are not already short   
SHORT = not isShort and pos == -1


if (LONG)
    isLong := true
    isShort := false

if (SHORT)
    isLong := false
    isShort := true

barcolor(isLong ? lime : isShort ? red : na)


// Show Break Alerts
plotshape(SHORT, title="Sell", style=shape.labeldown, location=location.abovebar, size=size.normal, text="Sell", transp=0, textcolor = white, color=red, transp=0)
plotshape(LONG, title="Buy", style=shape.labelup, location=location.belowbar, size=size.normal, text="Buy", textcolor = white, color=green, transp=0)


// === /PLOTTING ===
// Send alert to TV alarm sub-system
alertcondition(LONG,title="Sell",message="Sell")
alertcondition(SHORT,title="BuY",message="Buy")
alertcondition(SHORT,title="BuY",message="Buy")
alertcondition(SHORT,title="BuY",message="Buy")

////////////////////////////////////////////////////////////////////////////////VWMA

len2 = input(100, minval=1, title="Smooth")
src = input(close, title="Source")
out = vwma(src, len2)

avg1=avg(out, xATRTrailingStop)
plot(avg1, color=aqua, transp=0, title="ATR")


Con risposta

1
Sviluppatore 1
Valutazioni
(68)
Progetti
124
40%
Arbitraggio
17
47% / 53%
In ritardo
31
25%
Caricato
2
Sviluppatore 2
Valutazioni
(3)
Progetti
6
17%
Arbitraggio
0
In ritardo
1
17%
Gratuito
Ordini simili
Ea make based on smc 40 - 50 USD
I want ea based on SMC concept,, i have good knowledge in smc,, if you have good knowledge then only message me we will discuss,, bos,, imbalance then take trade ,, with fixed sl and rr
hey developers its a fix 30$ job because it takes less than 5 minutes, i only need a source code for a progress bar and gauge bar, i want to impellent in my code. i have a for loop that i want to keep update it with these 2 objects. i mentioned the requirement in each photo please check it. its super easy and fast for someone who already done it, if you didn't do it before don't bother to request . job will be
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I’m looking for a highly profitable, robust EA for MT5. Targets 3% profit/month with max 1% drawdown Trades 1 signal pair 1+ year stable backtesting "Retard proof" execution Price isn't an issue. Must provide demo for testing + proof of performance Requirements: Demo version for evaluation Source code (.mq5) Serious developers only Only serious developer
Tôi muốn EA siêu lợi nhuận, giá cả không thành vấn đề, chỉ cần bạn có thể chứng minh được, và gửi tôi bản demo để tôi kiểm tra bạn hãy chứng minh bản thân mình trước. EA cần backtest 1 năm hoạt động ổn định
Tôi cần một EA giao dịch theo suppertrend MT5 bao gồm các tính năng sau: 1. THÔNG SỐ NHẬN DIỆN (IDENT) MagicNumber: Lấy 6 số cuối cùng của số giao dịch tài khoản. Comment: Ghi tùy chỉnh hoặc cố định nội dung (Ví dụ: GTS_PRO_V1). 2. CHIẾN THUẬT VÀO LỆNH (LOGIC STOP ẢO) Không vào trực tiếp, mà đặt Limit/stop. EA sử dụng lệnh Virtualout (Pending Hide): Điều kiện 1 (Lọc xu hướng): SuperTrend HTF (H1/H4) phải đồng nhất
Im looking for an EA with Code. An EA that can capture big impulsive move on any instrument. Open trades only with multiple confirmation and a very high probability setup intraday or swing trading That can do top down/multi time frame analysis like D1 H4 H1 and then implement the trade on shorter time frame to catch the moves from the start. As i want to catch only the impulsive moves so there must be a Volume
I am looking for an experienced MT5 Expert Advisor developer. Goal: Create a custom MT5 EA that replicates the behavior of a profitable copy trading strategy (behavior-based, not code copying). Specifications: - Symbol: XAUUSD only - Max 1 trade at a time - Fixed risk per trade: 1% - Trades per week: 2–4 - Trading days: Monday to Thursday only - No trading during high-impact USD news (news filter required) - No
Up down trader 40+ USD
Create an expert advisor for meta trader 5 which trades buy and sell alternatively. First trade buy, next trade sell. For example. If a trade of 0.01 lot is placed on a buy and the trade is won, then the next trade is 0.01 on a sell. If the sell trade is won, then the next trade is a buy at 0.01. If there is a loss, then the lot sizes increase by a specified value. eg. 0.025. If there is yet another loss, then the
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteri *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid

Informazioni sul progetto

Budget
30 - 40 USD
Scadenze
da 1 a 5 giorno(i)