please covert ut bot indicator into mt4 indicator

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

please covert ut bot indicator into mt4 indicator

Postby merlin1331 » Sat Feb 18, 2023 11:20 am

admin, please covert ut bot indicator into mt4 indicator
https://www.tradingview.com/script/n8ss ... ot-Alerts/


Code: Select all
//@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")
merlin1331
 
Posts: 12
Joined: Sat Feb 18, 2023 10:45 am

Re: please covert ut bot indicator into mt4 indicator

Postby Apprentice » Wed Feb 22, 2023 3:08 am

We have added your request to the development list.
Development reference 165.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: please covert ut bot indicator into mt4 indicator

Postby Cedric02 » Tue Jun 13, 2023 3:45 am

Thank you for everything.

Please I have a request, can you set up the alert to play only when the buy or the sell arrow appears, because right now, when you turn on the alert, it play on every candle.
Thank you.
Cedric02
 
Posts: 5
Joined: Tue Jun 13, 2023 3:27 am

Re: please covert ut bot indicator into mt4 indicator

Postby sohaib2009 » Wed Jan 10, 2024 9:26 am

Hello Sir,

I have used your UT BOT v2 (EA) and found it very good.
However, could you please clarify whether the old signal will close after a new signal appears ?

Thanks
sohaib2009
 
Posts: 10
Joined: Mon Jan 08, 2024 6:36 am

Re: please covert ut bot indicator into mt4 indicator

Postby Apprentice » Sat Jan 13, 2024 3:37 pm

We have added your request to the development list.
Development reference 71
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: please covert ut bot indicator into mt4 indicator

Postby sohaib2009 » Tue Jan 16, 2024 8:55 am

Apprentice wrote:We have added your request to the development list.
Development reference 71


Subject: Follow-Up on EA Development

Hello Admin,

Hope u will be fine.
I just want to know about UT BOT v2 - any development.

Thanks
sohaib2009
 
Posts: 10
Joined: Mon Jan 08, 2024 6:36 am

Re: please covert ut bot indicator into mt4 indicator

Postby Falcon » Wed Jan 17, 2024 10:54 am

Hello Admin,

Your efforts are truly appreciable.

It seems that the UT BOT v2 EA is generally effective; however, it frequently fails to close trades after opening them, even when new signals emerge. This leads to the same trade remaining open throughout the day, irrespective of whether it results in a loss. Please address this issue with the EA.

Best Regards
Falcon
 
Posts: 3
Joined: Wed Jan 17, 2024 10:48 am

Re: please covert ut bot indicator into mt4 indicator

Postby Apprentice » Sat Jan 20, 2024 4:17 am

We have added your request to the development list.
Development reference 78
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36495
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Next

Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 42 guests