Create MT4 and MT5 Expert from an existing Tradeview Pine Script

MQL5 Experts Conversão

Trabalho concluído

Tempo de execução 28 dias

Termos de Referência

Hello 


Im using a indicator in Tradeview and i like to trade with it. Looking to make it work on MT5 and MT4. Not sure price but tell me thoughts and time frame 


I would like it built identical as well as add some other things to the expert. Below are some add ons i would like 


If possible i would like a trailing stop / Breakeven 

so input - 

Breakeven - in Pipis

Trailtrigger - Pips 

trailing distance - pips

trailing step - pipis


filters to trade different sessions to have true or false / on and off


Like to have 

monday - sunday   and to be able to have certain days on or off for trading 

if i want a pause and stop trading time frame to have that option for example the last hour of the NY session because of not wanting to hold trade over night 


i have some other ideas however if we can get started on this and can add more later...... 


is there a way to also have Volume play a roll in if it takes a trade or not as well? 


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!')


Respondido

1
Desenvolvedor 1
Classificação
(58)
Projetos
66
8%
Arbitragem
39
26% / 56%
Expirado
12
18%
Trabalhando
2
Desenvolvedor 2
Classificação
(17)
Projetos
22
5%
Arbitragem
7
14% / 29%
Expirado
3
14%
Livre
3
Desenvolvedor 3
Classificação
(409)
Projetos
537
75%
Arbitragem
9
44% / 0%
Expirado
24
4%
Livre
4
Desenvolvedor 4
Classificação
(42)
Projetos
88
14%
Arbitragem
30
30% / 53%
Expirado
36
41%
Trabalhando
5
Desenvolvedor 5
Classificação
(242)
Projetos
271
65%
Arbitragem
6
17% / 33%
Expirado
8
3%
Carregado
6
Desenvolvedor 6
Classificação
(170)
Projetos
193
11%
Arbitragem
37
38% / 35%
Expirado
5
3%
Carregado
7
Desenvolvedor 7
Classificação
(108)
Projetos
138
43%
Arbitragem
19
16% / 53%
Expirado
20
14%
Carregado
8
Desenvolvedor 8
Classificação
(478)
Projetos
507
53%
Arbitragem
10
60% / 20%
Expirado
3
1%
Livre
9
Desenvolvedor 9
Classificação
(256)
Projetos
415
38%
Arbitragem
86
44% / 19%
Expirado
70
17%
Ocupado
10
Desenvolvedor 10
Classificação
(298)
Projetos
442
64%
Arbitragem
5
40% / 0%
Expirado
4
1%
Trabalhando
11
Desenvolvedor 11
Classificação
(128)
Projetos
162
36%
Arbitragem
4
25% / 50%
Expirado
13
8%
Livre
12
Desenvolvedor 12
Classificação
(549)
Projetos
826
73%
Arbitragem
15
53% / 13%
Expirado
193
23%
Trabalhando
Pedidos semelhantes
CTRADER 30+ USD
can you help me with this project? Retrieve US30 asset price data from Ctrader Convert it to YM futures data Display the converted data on TradingView The reason why I need to convert US30 cfd prices from Ctrader into YM future prices is because all of my trading signals are from ctrader, and i need to trade on tradingview. Thanks
I need help with a small project. Basically I need to convert us30 asset price on Ctrader platform into YM futures on tradingview. Can you do it? It should be quite straight forward this is an example of what my trade signals look like
Skarito98 30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us
hello i need a professional to convert a fully functioning buy and sell signal strategy on tradingview to EA mt4 , the signals trigger when the bar closed match all conditions , it has a specific calculation for strength of each pair
Attached is a ThinkScript Strategy. I would like to convert it into an Expert Advisor for MQL4. Here is a link of a PineScript code for a similar indicator. This is just to give you additional info about the indicator, hence helping you to convert it from Thinkscript to MQL4
Only with feedbacks 30 - 100 USD
PINESCRIPT->MQL4 i need a exactly conversion of the file attached to mql4 with source code (i need the source code), obviously as indicator for mt4 let me know your bid and timeline
C onversion from Ninjatrader to Tradingview. This includes thorough testing and debugging to guarantee that the script functions as intended on Tradingview...If you are in for this job kindly bid
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
Hello great developer, I am a trader and I have an existing indicator in pinescript , but I need an expert to translate the specific concepts and functions of Pine Script to MQL4. I have many information to share with you in the comment section, so please if you are capable of handling this project successfully please apply to this order, looking forward to your response

Informações sobre o projeto

Orçamento
30 - 500 USD
Desenvolvedor
27 - 450 USD