Termos de Referência
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')
Respondido
1
Classificação
Projetos
372
17%
Arbitragem
23
39%
/
30%
Expirado
18
5%
Carregado
2
Classificação
Projetos
20
10%
Arbitragem
2
50%
/
50%
Expirado
0
Livre
3
Classificação
Projetos
15
7%
Arbitragem
1
0%
/
100%
Expirado
1
7%
Carregado
4
Classificação
Projetos
258
21%
Arbitragem
18
61%
/
17%
Expirado
1
0%
Ocupado
5
Classificação
Projetos
16
19%
Arbitragem
2
50%
/
50%
Expirado
0
Livre
6
Classificação
Projetos
1
0%
Arbitragem
3
0%
/
0%
Expirado
0
Carregado
7
Classificação
Projetos
7
14%
Arbitragem
1
0%
/
0%
Expirado
2
29%
Trabalhando
8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Classificação
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
10
Classificação
Projetos
200
72%
Arbitragem
4
100%
/
0%
Expirado
1
1%
Livre
11
Classificação
Projetos
6
0%
Arbitragem
0
Expirado
3
50%
Carregado
12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Classificação
Projetos
1
0%
Arbitragem
1
0%
/
0%
Expirado
1
100%
Trabalhando
15
Classificação
Projetos
428
38%
Arbitragem
87
44%
/
18%
Expirado
71
17%
Ocupado
Pedidos semelhantes
Hello Here Everyone, I need an expert to help me create a tradingview indicator that works exactly according to my requirements, Even though i will attach a file there review it and let me know if you could do it and we can talk about the price as well
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Best regards ridynaty
Create a Backtesting stimulator similar to ------ https://www.mql5.com/en/market/product/101346?source=External but showing BALANCE AND EQUITY on screen including open trades.. Must have experience with Backtesting softwares or can offer a solution to what am looking to fix.. IF you can develop I can go a bit above my budget
Project Overview: I would like you to develop a Moving Average Crossover Trading Bot for MetaTrader 5 (MT5) , compatible with all trading instruments (Forex, Stocks, Indices, Commodities, etc.). The bot should be customizable, allowing users to adjust various parameters such as risk percentage, moving average periods, stop loss, take profit, and trade duration. The bot will leverage Long Short-Term Memory (LSTM)
Trading View Indicator
30+ USD
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
This project involves converting the a TradingView Pine Script strategy, into a fully functional MT4 Expert Advisor (EA) using MQL5. The strategy includes multiple technical indicators, entry/exit conditions, stop loss (SL), take profit (TP), and custom entry price offsets. The EA should be designed for backtesting and live trading in MT4
Ativar URL WebRequest para meu EA
30 - 100 USD
Olá, preciso ativar em meu EA a função webrequest com URL para poder controlar os acessos de usuários que irão utilizar meu EA. Quero vender meu EA e preciso ter um controle maior de gestão de acessos ao meu EA
I'm planning on building/creating an mt4/5 trading indicator that use a break and retest strategy I will share a link for the idea strategy, Kindly message me to send you the link, I can't send it here
Financial website for market dealings
30 - 180 USD
here we will create market website, where we will display all our assets in graphical form, we will pull data from Metatrader platform and update the website in real time. I need something like this https://NgnRates.com but on our site we will display our own rate based on calculations performed on MT5 source
Informações sobre o projeto
Orçamento
30 - 50 USD
Desenvolvedor
27
- 45
USD
Prazo
de 1 para 3 dias