EA developer for gold trading bot

명시

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


응답함

1
개발자 1
등급
(325)
프로젝트
506
19%
중재
33
42% / 30%
기한 초과
34
7%
바쁜
2
개발자 2
등급
(22)
프로젝트
21
10%
중재
4
25% / 75%
기한 초과
0
무료
3
개발자 3
등급
(13)
프로젝트
18
11%
중재
5
40% / 60%
기한 초과
1
6%
무료
게재됨: 1 코드
4
개발자 4
등급
(272)
프로젝트
401
27%
중재
39
41% / 49%
기한 초과
1
0%
무료
5
개발자 5
등급
(39)
프로젝트
54
61%
중재
2
50% / 50%
기한 초과
0
무료
6
개발자 6
등급
프로젝트
1
0%
중재
4
0% / 50%
기한 초과
0
작업중
7
개발자 7
등급
(7)
프로젝트
8
13%
중재
3
0% / 67%
기한 초과
2
25%
무료
8
개발자 8
등급
(6)
프로젝트
6
0%
중재
2
50% / 0%
기한 초과
1
17%
무료
9
개발자 9
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
0
무료
10
개발자 10
등급
(77)
프로젝트
243
74%
중재
7
100% / 0%
기한 초과
1
0%
무료
게재됨: 1 기고글
11
개발자 11
등급
(7)
프로젝트
8
0%
중재
4
0% / 100%
기한 초과
3
38%
무료
12
개발자 12
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
13
개발자 13
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
14
개발자 14
등급
(2)
프로젝트
4
0%
중재
3
33% / 67%
기한 초과
2
50%
작업중
15
개발자 15
등급
(295)
프로젝트
474
39%
중재
103
41% / 23%
기한 초과
79
17%
바쁜
게재됨: 2 코드
비슷한 주문
Copying third party from telegram. I have quite a number of them There is many different of them, I will consolidate all of them and send you Usually is a price range, so when hit the range will trigger Option for both fix or scale with equity I would like to have both, option to choose to follow the SL/TP signal provided or not This copier will trigger my DCA bot function. So don’t need set max position limit and
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
TORUNZ 😎 30+ USD
The robot should use different indicators for a example smart money indicator and market structure structure and break indicators in order for it to enter the market, it should also be able to tell false breakouts is the Bollinger indicator, and if the market is confirmed to be profitable,the robot should rebuy or resell the market according to the predictions made, it should execute the trades if the market reverses
I need an advisor created that opens a position with 0.10 lot size when a bull cross arrow appears on the m5 time frame and closes the trade after exactly one candle stick, the ea does the same thing over and over, a bull cross appear on m5 timeframe, and it opens 1 position with 0.10 lot size, and closes it after one candlestick on m5... If possible, provide a demo version
Description I am looking for an experienced MQL5 developer to investigate and fix a suspected memory or resource usage issue in my MT5 Expert Advisor. The EA itself works correctly from a strategy and trading logic perspective . The trading model must remain exactly as it currently operates. I am not looking for any changes or optimisation to the strategy . The goal of this job is purely to identify and fix a
Cash Flow EA 30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session

프로젝트 정보

예산
30 - 50 USD
기한
에서 1  3 일