Tradeview Pinescript to MT5 and MT4

MQL5 专家 转化中

指定

Looking to have converted to MT5 and MT4



Below is the PINE SCRIPT. 


strategy(shorttitle="SSL EMA strat", title="ssl ema", overlay=true)


// Moving average

hma(src, len) =>

    wma(2 * wma(src, len / 2) - wma(src, len), round(sqrt(len)))


ma = input(title="MA type", defval="EMA", options=["EMA", "SMA", "Hull", "WMA"])


MA(price, length) =>

    current = if ma == 'EMA'

        ema(price, length)

    else

        if ma == 'SMA'

            sma(price, length)

        else

            if ma == 'WMA'

                wma(price, length)

            else

                hma(price, length)

    current


price = input(close, title='Price')

maFast = MA(price, input(50))

maSlow = MA(price, input(100, title='MA Slow'))

maTurtle = MA(price, input(200, title='MA Turtle'))

viewCrossFlag = input(false, title='View MA Slow/Turtle crossover')


plot(maTurtle, title="MA Turtle", style=plot.style_circles, linewidth=4, color=maFast >= maSlow ? #CCCCCC : #222222)

plot(maFast, title="MA Fast", style=plot.style_circles, linewidth=4, color=color.yellow, transp=0)

plot(maSlow, title="MA Slow", style=plot.style_circles, linewidth=4, color=color.purple, transp=0)


//plotchar(viewCrossFlag and crossunder(maSlow, maTurtle), char='✜', color=red, location=location.top, transp=0, size=size.tiny)

//plotchar(viewCrossFlag and crossover(maSlow, maTurtle), char='✜', color=green, location=location.bottom, transp=0, size=size.tiny)


period = input(title="Period", defval=10)

len = input(title="Period", defval=10)

smaHigh = sma(high, len)

smaLow = sma(low, len)

Hlv = int(na)

Hlv := close > smaHigh ? 1 : close < smaLow ? -1 : Hlv[1]




sslDown = Hlv < 0 ? smaHigh : smaLow

sslUp = Hlv < 0 ? smaLow : smaHigh


plot(sslDown, linewidth=2, color=color.red)

plot(sslUp, linewidth=2, color=color.lime)

// rsi


length = input( 14 )

overSold = input( 50 )

overBought = input( 50 )

pricev = close


tp = input(200)

sl = input(100)


vrsi = rsi(pricev, length)

co = crossover(vrsi, overSold)

cu = crossunder(vrsi, overBought)


plotchar(crossunder(sslUp, sslDown) and cu and maTurtle > maSlow and maSlow > maFast and maFast > close , char='✜', color=color.red, location=location.top, transp=0, size=size.tiny)

plotchar(crossover(sslUp, sslDown) and co and maTurtle < maSlow and maSlow < maFast and maFast < close ,  char='✜', color=color.green, location=location.bottom, transp=0, size=size.tiny)





strategy.entry("short",strategy.short, when= crossunder(sslUp, sslDown) and maTurtle > close and cu)//,and maTurtle > maSlow and maSlow > maFast and maFast > close  )

strategy.exit("tp/sl", profit=tp, loss=sl)

strategy.close("short", when = crossover(sslUp, sslDown) ,comment="exit_cond")


strategy.entry("long",strategy.long, when= crossover(sslUp, sslDown)  and maTurtle < close and co)//, and maTurtle < maSlow and maSlow < maFast and maFast < close )

strategy.exit("tp/sl", profit=tp , loss=sl )//when = crossunder(sslUp, sslDown),comment="exit_cond")

strategy.close("long", when = crossunder(sslUp, sslDown) ,comment="exit_cond")




//alertcondition(crossunder(maFast, maSlow), title='MA cross sell', message='We have a MA sell signal!')

//alertcondition(crossover(maFast, maSlow), title='MA cross buy', message='We have a MA buy signal!')


// Remember to use SMA 50 and SMA 200 on daily frame to get valid Golden and Death cross signals.

//alertcondition(crossunder(maSlow, maTurtle), title='Death cross', message='Death cross. We have a MA slow crossing under the Turtle. Generally a strong sell signal!')

//alertcondition(crossover(maSlow, maTurtle), title='Golden cross', message='Golden cross. We have a MA slow crossing over the Turtle. Generally a strong buy signal!')


反馈

1
开发者 1
等级
(337)
项目
455
52%
仲裁
22
50% / 27%
逾期
5
1%
已载入
2
开发者 2
等级
(58)
项目
66
8%
仲裁
39
26% / 56%
逾期
12
18%
工作中
3
开发者 3
等级
(68)
项目
111
26%
仲裁
17
6% / 71%
逾期
15
14%
空闲
4
开发者 4
等级
(800)
项目
1371
72%
仲裁
112
29% / 48%
逾期
341
25%
已载入
5
开发者 5
等级
(236)
项目
265
64%
仲裁
6
17% / 33%
逾期
8
3%
已载入
6
开发者 6
等级
(38)
项目
50
10%
仲裁
1
0% / 0%
逾期
8
16%
空闲
7
开发者 7
等级
(253)
项目
408
38%
仲裁
86
43% / 19%
逾期
70
17%
工作中
8
开发者 8
等级
(548)
项目
825
73%
仲裁
15
53% / 13%
逾期
193
23%
工作中
相似订单
Hello, I am looking for someone to convert my well defined MQL4 code project to MQL5 (EAs) A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
Hi, I would like the HARSI RSI indicator from TradingView (link below) converted to MT4: Heikin-Ashi RSI Oscillator on TradingView It appears that Mr. Tools from Forex Station has already created an MT4 version of this indicator. I've included the reference indicator here: !!rsi - heiken ashi averages smoothed (mtf + sw + alerts + arrows). I don't need the divergence settings in the indicator. I only need the
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
I need an expert to convert a TradeStation script over to pine please let me know if this is something you can do perfectly. I will be expecting your message. thanks
Hello, I have indicators for tradestation written in easylanguage and I need them in tradingview pinescript. So I need someone to convert these tradestation indicators to tradingview. Do you think you can help me with that
Dear Freelancers, I'm seeking a skilled MT4/MT5 developer to collaborate on a valuable trading indicator. Project Description: I'm looking to develop a powerful Elliott Wave indicator compatible with the MT4 and MT5 trading platforms. This indicator will be based on the highly successful [LuxAlgo] indicator currently available on TradingView. Key Features: In-indicator Alerts: The ability to receive pop-up
I am currently seeking a highly skilled developer for an important project. I need a professional developer to convert an Indicator to tradingview on MT4. If you are highly skilled and capable of handling this project, kindly reach out now
I HAVE A EX4 FILE,I NEED TO CONVERT THE EX5 FILE AS A EXPERT ADVISOR, I WANT SAME INPUT OF EX4. I ATTACHED MY EX4 FILE WITHHERE. PLS CONVERT THE SAME INPUT TO EX5. Thanks
Hello there, I'm looking for an experienced developer to convert a TradingView indicator script into an MT4 (MetaTrader 4) compatible format. The script, written in Pine Script version 5, includes custom indicators and graphical elements such as lines, boxes, and labels that we need to be accurately replicated in MT4. Check the attached file below

项目信息

预算
30 - 300 USD
开发人员
27 - 270 USD