Required an expert adviser for creating bot based on indicator

İş Gereklilikleri

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 exit buy position when sell signal is given.

3. For sell side, sell after closing of second candle when sell signal is given and exit sell position when buy signal will be given.

4. for buy position lot size should be 0.01

5. for sell position lot size should be 0.01


//@version=4

study(title="UT Bot Alerts", overlay = true)

// Inputs
a = input(1,     title = "Key Vaule. 'This changes the sensitivity'")
c = input(10,    title = "ATR Period")
h = input(false, title = "Signals from Heikin Ashi Candles")

xATR  = atr(c)
nLoss = a * xATR

src = h ? security(heikinashi(syminfo.tickerid), timeframe.period, close, lookahead = false) : close

xATRTrailingStop = 0.0
xATRTrailingStop := iff(src > nz(xATRTrailingStop[1], 0) and src[1] > nz(xATRTrailingStop[1], 0), max(nz(xATRTrailingStop[1]), src - nLoss),
   iff(src < nz(xATRTrailingStop[1], 0) and src[1] < nz(xATRTrailingStop[1], 0), min(nz(xATRTrailingStop[1]), src + nLoss),
   iff(src > nz(xATRTrailingStop[1], 0), src - nLoss, src + nLoss)))
 
pos = 0  
pos :=   iff(src[1] < nz(xATRTrailingStop[1], 0) and src > nz(xATRTrailingStop[1], 0), 1,
   iff(src[1] > nz(xATRTrailingStop[1], 0) and src < nz(xATRTrailingStop[1], 0), -1, nz(pos[1], 0)))
   
xcolor = pos == -1 ? color.red: pos == 1 ? color.green : color.blue

ema   = ema(src,1)
above = crossover(ema, xATRTrailingStop)
below = crossover(xATRTrailingStop, ema)

buy  = src > xATRTrailingStop and above
sell = src < xATRTrailingStop and below

barbuy  = src > xATRTrailingStop
barsell = src < xATRTrailingStop

plotshape(buy,  title = "Buy",  text = 'Buy',  style = shape.labelup,   location = location.belowbar, color= color.green, textcolor = color.white, transp = 0, size = size.tiny)
plotshape(sell, title = "Sell", text = 'Sell', style = shape.labeldown, location = location.abovebar, color= color.red,   textcolor = color.white, transp = 0, size = size.tiny)

barcolor(barbuy  ? color.green : na)
barcolor(barsell ? color.red   : na)

alertcondition(buy,  "UT Long",  "UT Long")
alertcondition(sell, "UT Short", "UT Short")

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(21)
Projeler
20
10%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(204)
Projeler
331
16%
Arabuluculuk
23
35% / 30%
Süresi dolmuş
17
5%
Meşgul
3
Geliştirici 3
Derecelendirme
(36)
Projeler
45
36%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(9)
Projeler
11
45%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(97)
Projeler
119
39%
Arabuluculuk
9
89% / 0%
Süresi dolmuş
0
Çalışıyor
6
Geliştirici 6
Derecelendirme
(42)
Projeler
62
8%
Arabuluculuk
12
58% / 42%
Süresi dolmuş
1
2%
Serbest
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(10)
Projeler
25
28%
Arabuluculuk
3
0% / 0%
Süresi dolmuş
1
4%
Yüklendi
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
(62)
Projeler
190
73%
Arabuluculuk
4
100% / 0%
Süresi dolmuş
1
1%
Serbest
11
Geliştirici 11
Derecelendirme
(163)
Projeler
232
22%
Arabuluculuk
16
63% / 19%
Süresi dolmuş
1
0%
Meşgul
Benzer siparişler
hi, I have a strategy coded in Python on Jupiter but I have trouble converting it to Quantconnect. Could you do that? The strategy is based on trading with 10 most liquid crypto coins on Binance rebalanced each month and tracking when the price break 20 day high or low plus some other indicators
Hello! UPDATE TO THE PROJECT: the name of the EA is SUPERSONIC I am looking for an experienced developer to create: An MT5 EA for any FX pair. It needs to randomly generated magic numbers every time it is applied to a chart (8 digit magic number) every time the EA is applied to a chart. The magic number has to be shown as an input field in the CONFIG PROMPT of the EA. When the EA is applied to a chart, It needs to
Modification of EA 30 - 50 USD
i have my personal EA This EA sometimes opens a new trade without closing the opposite trade in the live market But everything works fine in the strategy tester. i need Our EA should be execution 100%
Preciso de um robô que faça compra e venda simultânea, sem stop loss e com gain fixo (editável) e sempre que fechar uma posição de gain já abra outra na mesma direção
Both way entry with crossover of Multiple EMAs with additional features. Exit shall also be consider based on EMAs, Multiple lot with multiple numbers shall have to consider. News filtering has to be considered with run time and trailing stop loss
Hello, I need an robot that will allow me to makes money IF you have a robot that makes real cool money , kindly message with the robot functional and provide demo acc to test how it making money before I buy the real robot with the source code
Need a Coding Expert. Fully automated Robot for Trading with minimal losses. It should be able to open/close trades automatically according to the strategy. Also, there should be an option to select maximum leverage for Trading FOREX, COMMODITIES, ENERGIES, etc. The forecast reports of trading strategies to be shared automatically to a specified Email, WhatsApp and Telegram accounts. TO DEVELOP A TRADING MANAGEMENT
Robot 30+ USD
numbers of trad pre day, atr stoplost breakeven opening of odrtger buy = Upper neutral leve 40, previous less than level 50, new >= level 50 sell = Lower neutral level 60, previous less than level 50, new => level 50
Hello everyone, I am a forex Telegram channel owner who wants to offer the members an option to buy a Telegram to MT4/5 copier, which is developed for our company. Functionality I am looking for is: - Customizable lot size. - Up to 3 TP points, with an option to take partial profits on each TP. - Option to set SL at breakeven once certain TP is hit. - Ability to copy from multiple channels (including private) I know
Trade Mirroring Solution 100 - 150 USD
Hey there! I was wondering if you could help me with copy trading an EA’s action on Cronos markets (uses CTrader) into a prop firm account that I bought with TooOne Trader (uses TradeLocker to execute trades). Actually, I have 3 prop firm accounts with them that I am trying to pass with this particular EA. 1) Each of these 3 accounts is $250,000 (different account numbers that cannot be combined. 2) I currently have

Proje bilgisi

Bütçe
50+ USD
Son teslim tarihi
from 1 to 10 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0