I Have 2 pine scripts that I want to create an EA out of.

Trabalho concluído

Tempo de execução 4 dias
Comentário do cliente
Developed what I asked. Good Job.
Comentário do desenvolvedor
Thank you!

Termos de Referência

I would like to have these 2 pine scripts created into 2 different indicators for MT4.

UT BOT

//@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")





2ed Pine Script Supertrend


//@version=4

study("Supertrend", overlay = true, format=format.price, precision=2, resolution="")


Periods = input(title="ATR Period", type=input.integer, defval=10)

src = input(hl2, title="Source")

Multiplier = input(title="ATR Multiplier", type=input.float, step=0.1, defval=3.0)

changeATR= input(title="Change ATR Calculation Method ?", type=input.bool, defval=true)

showsignals = input(title="Show Buy/Sell Signals ?", type=input.bool, defval=true)

highlighting = input(title="Highlighter On/Off ?", type=input.bool, defval=true)

atr2 = sma(tr, Periods)

atr= changeATR ? atr(Periods) : atr2

up=src-(Multiplier*atr)

up1 = nz(up[1],up)

up := close[1] > up1 ? max(up,up1) : up

dn=src+(Multiplier*atr)

dn1 = nz(dn[1], dn)

dn := close[1] < dn1 ? min(dn, dn1) : dn

trend = 1

trend := nz(trend[1], trend)

trend := trend == -1 and close > dn1 ? 1 : trend == 1 and close < up1 ? -1 : trend

upPlot = plot(trend == 1 ? up : na, title="Up Trend", style=plot.style_linebr, linewidth=2, color=color.green)

buySignal = trend == 1 and trend[1] == -1

plotshape(buySignal ? up : na, title="UpTrend Begins", location=location.absolute, style=shape.circle, size=size.tiny, color=color.green, transp=0)

plotshape(buySignal and showsignals ? up : na, title="Buy", text="Buy", location=location.absolute, style=shape.labelup, size=size.tiny, color=color.green, textcolor=color.white, transp=0)

dnPlot = plot(trend == 1 ? na : dn, title="Down Trend", style=plot.style_linebr, linewidth=2, color=color.red)

sellSignal = trend == -1 and trend[1] == 1

plotshape(sellSignal ? dn : na, title="DownTrend Begins", location=location.absolute, style=shape.circle, size=size.tiny, color=color.red, transp=0)

plotshape(sellSignal and showsignals ? dn : na, title="Sell", text="Sell", location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.red, textcolor=color.white, transp=0)

mPlot = plot(ohlc4, title="", style=plot.style_circles, linewidth=0)

longFillColor = highlighting ? (trend == 1 ? color.green : color.white) : color.white

shortFillColor = highlighting ? (trend == -1 ? color.red : color.white) : color.white

fill(mPlot, upPlot, title="UpTrend Highligter", color=longFillColor)

fill(mPlot, dnPlot, title="DownTrend Highligter", color=shortFillColor)

alertcondition(buySignal, title="SuperTrend Buy", message="SuperTrend Buy!")

alertcondition(sellSignal, title="SuperTrend Sell", message="SuperTrend Sell!")

changeCond = trend != trend[1]

alertcondition(changeCond, title="SuperTrend Direction Change", message="SuperTrend has changed direction!")


Respondido

1
Desenvolvedor 1
Classificação
(132)
Projetos
178
39%
Arbitragem
4
25% / 50%
Expirado
14
8%
Livre
2
Desenvolvedor 2
Classificação
(7)
Projetos
7
29%
Arbitragem
3
0% / 100%
Expirado
1
14%
Livre
3
Desenvolvedor 3
Classificação
(70)
Projetos
91
25%
Arbitragem
26
19% / 54%
Expirado
25
27%
Livre
4
Desenvolvedor 4
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
5
Desenvolvedor 5
Classificação
(322)
Projetos
499
67%
Arbitragem
5
40% / 0%
Expirado
4
1%
Livre
Publicou: 8 códigos
6
Desenvolvedor 6
Classificação
(252)
Projetos
462
26%
Arbitragem
139
20% / 60%
Expirado
100
22%
Livre
7
Desenvolvedor 7
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
8
Desenvolvedor 8
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
Pedidos semelhantes
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation

Informações sobre o projeto

Orçamento
30+ USD