
Converting tradingview pinescript indicator to mt5
- or -
Post a project like this365
£50(approx. $67)
- Posted:
- Proposals: 7
- Remote
- #4228078
- PRE-FUNDED
- Awarded
Digital Solutions|Designer & Developer|Shopify|WordPress|SEO|Data Scraping|Lead Generation|Animation

DATA ENTRY EXPERT |WEB SCRAPPING | PYTHON SCRAPPING | BEAUTIFUL SOAP|ADMIN ASSISTANT

1074267638114782274804114513541122094030753101280754





Description
Experience Level: Entry
I would need an indicator conversion (UT Bot)
From tradingview to mt5
//@version=4
study(title="UT Bot", overlay = true)
//CREDITS to HPotter for the orginal code. The guy trying to sell this as his own is a scammer lol.
src = close
keyvalue = input(3, title = "Key Vaule. 'This changes the sensitivity'", step = .5)
atrperiod = input(10, title="ATR Period")
xATR = atr(atrperiod)
nLoss = keyvalue * xATR
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), src - nLoss, src + nLoss)))
pos = 0
pos := iff(src[1] nz(xATRTrailingStop[1], 0) and 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, color= color.red,textcolor = color.white, transp = 0, size = size.tiny)
barcolor(barcolor? color.green:color.red)
alertcondition(buy, title='UT BOT Buy', message='UT BOT Buy')
alertcondition(sell, title='UT BOT Sell', message='UT BOT Sell')
From tradingview to mt5
//@version=4
study(title="UT Bot", overlay = true)
//CREDITS to HPotter for the orginal code. The guy trying to sell this as his own is a scammer lol.
src = close
keyvalue = input(3, title = "Key Vaule. 'This changes the sensitivity'", step = .5)
atrperiod = input(10, title="ATR Period")
xATR = atr(atrperiod)
nLoss = keyvalue * xATR
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), src - nLoss, src + nLoss)))
pos = 0
pos := iff(src[1] nz(xATRTrailingStop[1], 0) and 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, color= color.red,textcolor = color.white, transp = 0, size = size.tiny)
barcolor(barcolor? color.green:color.red)
alertcondition(buy, title='UT BOT Buy', message='UT BOT Buy')
alertcondition(sell, title='UT BOT Sell', message='UT BOT Sell')

Wolfgang H.
100% (5)Projects Completed
5
Freelancers worked with
5
Projects awarded
38%
Last project
29 Apr 2023
Monaco
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies