Create MT4 and MT5 Expert from an existing Tradeview Pine Script

MQL5 Experts Convertir

Tâche terminée

Temps d'exécution 28 jours

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(58)
Projets
66
8%
Arbitrage
39
26% / 56%
En retard
12
18%
Travail
2
Développeur 2
Évaluation
(17)
Projets
22
5%
Arbitrage
7
14% / 29%
En retard
3
14%
Gratuit
3
Développeur 3
Évaluation
(409)
Projets
537
75%
Arbitrage
9
44% / 0%
En retard
24
4%
Gratuit
4
Développeur 4
Évaluation
(42)
Projets
88
14%
Arbitrage
31
29% / 55%
En retard
36
41%
Travail
5
Développeur 5
Évaluation
(254)
Projets
283
65%
Arbitrage
6
17% / 33%
En retard
10
4%
Chargé
6
Développeur 6
Évaluation
(171)
Projets
194
11%
Arbitrage
37
38% / 35%
En retard
5
3%
Chargé
7
Développeur 7
Évaluation
(109)
Projets
140
44%
Arbitrage
19
16% / 53%
En retard
20
14%
Chargé
8
Développeur 8
Évaluation
(481)
Projets
510
53%
Arbitrage
10
60% / 20%
En retard
3
1%
Gratuit
9
Développeur 9
Évaluation
(261)
Projets
425
38%
Arbitrage
86
44% / 19%
En retard
71
17%
Chargé
10
Développeur 10
Évaluation
(300)
Projets
450
65%
Arbitrage
5
40% / 0%
En retard
4
1%
Gratuit
11
Développeur 11
Évaluation
(131)
Projets
173
39%
Arbitrage
4
25% / 50%
En retard
13
8%
Travail
12
Développeur 12
Évaluation
(550)
Projets
827
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Travail
Commandes similaires
It is using EMA/SMA for triggers of long or short (green long/red short) and the line above or below is the stop loss, profit triggers would need to figure out or allow it until next trigger. Already in thinkscript And add parameters
I have been using Tradingview for a few years and have now found an MT5 strategy (scalper for forex markets) that I would like to have converted into a Pine code. The strategy should be able to output the corresponding signals on Tradingview and also be usable in the Strategy Tester for backtesting. I am enclosing the relevant MT5 code, although I do not know whether it is error-free. Please note the following
A “grid” display style like the attached image. User can choose up to 3 EMA’s to monitor on up to 6 Time Frames. If the EMA slope is greater than 0 = Green If the EMA slope is less than 0 = Red If the EMA slope is 0 = Black The grid should be customizable on it’s size, colors, and placement on the chart. Each EMA should update per tick. A label at the top of the grid should read “SLOPES” Indicator 2: A “grid” display
Requirement: 1. Convert Pivot source code .mq4 to Sierra Chart mq4 source code is provided .mq4 as attached .mq4 2. upon conversion to add a button code on Sierra chart .cpp to allow display/hide the pivot line in Sierra Chart ---- *no need alert, make it light without any alert, just a button to display/hide pivot line will do :) to continue, pivot font text also no need I"ve mark with red cross to remove see
I have 2 (indicators) I coded and I use on Tradingview I just need converted to use on Ninjatrader i will be looking for great developer to bid for it and for more details
I've use most of code from this script, add some more filter, and added different kind of moving avg instead of rsi input .. please check the source code .. . 70-80% is similar to it. Please check can you convert And are you familiar with backtest.py library? Oky. This library has ML approach to get the optimized backtest parameters right ? included for this but let me know what you think? can you install backtest.py
i am looking for somebody how can convert my pine script code into an MT5 EA. Are you able to do it? Find the pine script code attached. Kindly send a message if you can do this and let me know the time frame and budget. Thanks
Hello developers, I would like to hire someone can convert the Radar Signal indicator: https://www.youtube.com/watch?v=5DmKcy7rb-U&nbsp ; to it's TradingView equivalent. Radar signal indicator is the combination of 7 classic MT4 indicators. They include ADX, RSI , CCI , OsMA, ATR, WPR. The indicator shows the values of these indicators in blue and red. Red color indicates a bearish market condition and the blue shows
Greetings to all developers that see this post, I have a task, I would like to work with an expert. I have an indicator that is written in the Pine script (TradingView) language; I would like it converted to MQL5, which will then lead to the creation of a trading bot based on the circumstances. I'll give you access to the indicator file
Hi, we are looking for professional programmers to convert MT4 EA to MT5 EA. The number of these requests will be large. Please let us know if you are interested in this offer with enough qualified experience. We will need programmers who understand Chinese first

Informations sur le projet

Budget
30 - 500 USD
Pour le développeur
27 - 450 USD