Tradeview Pinescript to MT5 and MT4

MQL5 Esperti In conversione

Specifiche

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


Con risposta

1
Sviluppatore 1
Valutazioni
(337)
Progetti
455
52%
Arbitraggio
22
50% / 27%
In ritardo
5
1%
Caricato
2
Sviluppatore 2
Valutazioni
(58)
Progetti
66
8%
Arbitraggio
39
26% / 56%
In ritardo
12
18%
In elaborazione
3
Sviluppatore 3
Valutazioni
(68)
Progetti
111
26%
Arbitraggio
17
6% / 71%
In ritardo
15
14%
Gratuito
4
Sviluppatore 4
Valutazioni
(800)
Progetti
1371
72%
Arbitraggio
112
29% / 48%
In ritardo
341
25%
Caricato
5
Sviluppatore 5
Valutazioni
(236)
Progetti
265
64%
Arbitraggio
6
17% / 33%
In ritardo
8
3%
Caricato
6
Sviluppatore 6
Valutazioni
(38)
Progetti
50
10%
Arbitraggio
1
0% / 0%
In ritardo
8
16%
Gratuito
7
Sviluppatore 7
Valutazioni
(253)
Progetti
408
38%
Arbitraggio
86
43% / 19%
In ritardo
70
17%
In elaborazione
8
Sviluppatore 8
Valutazioni
(548)
Progetti
825
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
Ordini simili
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Informazioni sul progetto

Budget
30 - 300 USD
Per lo sviluppatore
27 - 270 USD