Spécifications
Below is the pine eidtor script convert it to MQL5 coding language and create bot based on following condition
1. This all should be on 5-minute chart timeframe
2. For Buy side, buy after closing of second candle when buy signal is given and hold buy position until sell signal is given.
3. For sell side, sell after closing of second candle when sell signal is given and hold sell position until next buy signal will be given.
4. Stoploss should be the low of previous 4 candles after giving buy signal
5. for buy position lot size should be 0.01
6. for sell position lot size should be 0.01
//@version=5
strategy("Gold Bot", overlay=true)
// Inputs
a = input(2, title='Key Value (Sensitivity)')
c = input(1, title='ATR Period')
h = input(false, title='Signals from Heikin Ashi Candles')
// EMA Smoothing Inputs
len = input.int(9, minval=1, title="EMA Length")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500, display=display.data_window)
typeMA = input.string(title="Smoothing Method", defval="SMA", options=["SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="Smoothing", display=display.data_window)
smoothingLength = input.int(title="Smoothing Length", defval=5, minval=1, maxval=100, group="Smoothing", display=display.data_window)
// ATR Calculation
xATR = ta.atr(c)
nLoss = a * xATR
// Source Selection
src = h ? request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, close, lookahead=barmerge.lookahead_off) : close
// ATR Trailing Stop Calculation
xATRTrailingStop = 0.0
iff_1 = src > nz(xATRTrailingStop[1], 0) ? src - nLoss : src + nLoss
iff_2 = src < nz(xATRTrailingStop[1], 0) and src[1] < nz(xATRTrailingStop[1], 0) ? math.min(nz(xATRTrailingStop[1]), src + nLoss) : iff_1
xATRTrailingStop := src > nz(xATRTrailingStop[1], 0) and src[1] > nz(xATRTrailingStop[1], 0) ? math.max(nz(xATRTrailingStop[1]), src - nLoss) : iff_2
// Position Calculation
pos = 0
iff_3 = src[1] > nz(xATRTrailingStop[1], 0) and src < nz(xATRTrailingStop[1], 0) ? -1 : nz(pos[1], 0)
pos := src[1] < nz(xATRTrailingStop[1], 0) and src > nz(xATRTrailingStop[1], 0) ? 1 : iff_3
// EMA Calculation
ema = ta.ema(src, len)
// Smoothing Calculation
smoothingLine = switch typeMA
"SMA" => ta.sma(ema, smoothingLength)
"EMA" => ta.ema(ema, smoothingLength)
"SMMA (RMA)" => ta.rma(ema, smoothingLength)
"WMA" => ta.wma(ema, smoothingLength)
"VWMA" => ta.vwma(ema, smoothingLength)
// Buy and Sell Conditions
above = ta.crossover(ema, xATRTrailingStop)
below = ta.crossover(xATRTrailingStop, ema)
buy = src > xATRTrailingStop and above
sell = src < xATRTrailingStop and below
// Stop Loss Calculation
stopLossLevel = ta.lowest(low, 3)
// Strategy Execution
if (buy)
strategy.entry("Long", strategy.long, stop=stopLossLevel)
if (sell)
strategy.close("Long")
// Plotting
plot(ema, title="EMA", color=color.blue, offset=offset)
plot(smoothingLine, title="Smoothing Line", color=#f37f20, offset=offset)
plotshape(buy, title='Buy', text='Buy', style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0), textcolor=color.new(color.white, 0), size=size.tiny)
plotshape(sell, title='Sell', text='Sell', style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0), textcolor=color.new(color.white, 0), size=size.tiny)
barcolor(src > xATRTrailingStop ? color.green : na)
barcolor(src < xATRTrailingStop ? color.red : na)
// Alerts
alertcondition(buy, 'UT Long', 'UT Long')
alertcondition(sell, 'UT Short', 'UT Short')
Répondu
1
Évaluation
Projets
497
19%
Arbitrage
33
42%
/
30%
En retard
32
6%
Occupé
2
Évaluation
Projets
21
10%
Arbitrage
4
25%
/
75%
En retard
0
Gratuit
3
Évaluation
Projets
17
12%
Arbitrage
4
25%
/
50%
En retard
1
6%
Travail
Publié : 1 code
4
Évaluation
Projets
396
27%
Arbitrage
38
39%
/
50%
En retard
1
0%
Gratuit
5
Évaluation
Projets
54
61%
Arbitrage
2
50%
/
50%
En retard
0
Gratuit
6
Évaluation
Projets
1
0%
Arbitrage
4
0%
/
50%
En retard
0
Travail
7
Évaluation
Projets
8
13%
Arbitrage
3
0%
/
67%
En retard
2
25%
Gratuit
8
Évaluation
Projets
6
0%
Arbitrage
2
50%
/
0%
En retard
1
17%
Gratuit
9
Évaluation
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
10
Évaluation
Projets
240
73%
Arbitrage
7
100%
/
0%
En retard
1
0%
Gratuit
11
Évaluation
Projets
8
0%
Arbitrage
4
0%
/
100%
En retard
3
38%
Gratuit
12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Évaluation
Projets
4
0%
Arbitrage
3
33%
/
67%
En retard
2
50%
Gratuit
15
Évaluation
Projets
469
39%
Arbitrage
102
40%
/
24%
En retard
77
16%
Chargé
Publié : 2 codes
Commandes similaires
Hello, I’m interested in buying a solid, profitable EA with verified results. Before purchasing, I’d like to test it first—either a time-limited demo version or another limited evaluation option (for example, a demo-only license or restricted lot size). If you’re selling an EA and can offer something like this, please share the details (strategy type, recommended pairs/timeframes, risk settings, and any live/backtest
MT5 EA required with SMC strategy
40 - 80 USD
Signal Logic - Swing points detected correctly (Fractals or N-bar) - BOS triggers only on bar close beyond swing level (+ optional min break distance) - FVG zones detected correctly (3-candle gap) and stored with clear boundaries - FVG invalidation works as configured (full fill / partial fill / timeout) Entry & Execution - Entry only after BOS (if enabled) and on return to active FVG zone - Bar-close confirmation
LOOKING FOR AN EA WITH HIGH PERFORMANCE
30 - 45 USD
Hi, I’m searching for a developer who already has a high‑performance Gold EA that can beat the results shown in my screenshot. If you have such an EA, please reply with: - A brief description of how it works (grid, scalping, SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next
Need a HFT scalping EA
30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
Converting ex4 file into mq4 file and modifications
100 - 350 USD
Looking for an experienced MQL4/MQL5 developer. Task: EX4 → MQ4 recovery Modify EA logic Convert MQ4 → MQ5 (fully working) Must understand MT4 vs MT5 differences and deliver clean, tested code. This is a paid job, with possible follow-up work if things go well. DM me with your experience and examples of similar work
This EA uses the inbuilt indicators to execute trades. It follows the simple rules of buy signal and sell signal.It will be independent of each other. The same rule follows for each
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
EA for account Protection
50+ USD
Project Overview I am looking for an experienced MT5 (MQL5) developer to modify an existing Account Protection EA and, if required, extend it with custom logic. This is NOT a strategy or trading EA . The EA is purely for risk management, drawdown protection, alerts, and trading lock , suitable for prop-firm and managed accounts . Core Requirements 1. Alerts & Monitoring Alert on trade entry and trade exit Alert when
I’m looking for an experienced MQL5 developer to build TWO MT5 custom indicators that detect multi-condition M30 trade setups and send Telegram alerts before trade execution . This project requires strict close-based logic , multi-indicator buffer processing , and non-repainting behavior . HIGH-LEVEL REQUIREMENTS Indicators must evaluate signals from M30 only All conditions are checked only after candle close Logic
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
Informations sur le projet
Budget
30 - 50 USD
Délais
de 1 à 3 jour(s)