Converting Pine script (Tradingview) into Expert advisor (Trading robot) in MT4

MQL4 Asesores Expertos

Tarea técnica

convert it into a MT4 EA with features to include controlling lot sizes, trailing stops, and stop loss , take profit .

be sure its not repainting .

study("MavilimW buy sell alert by coinsspor", overlay=true)
mavilimold = input(false, title="Show Previous Version of MavilimW?")
fmal=input(3,"First Moving Average length")
smal=input(5,"Second Moving Average length")
tmal=fmal+smal
Fmal=smal+tmal
Ftmal=tmal+Fmal
Smal=Fmal+Ftmal

M1= wma(close, fmal)
M2= wma(M1, smal)
M3= wma(M2, tmal)
M4= wma(M3, Fmal)
M5= wma(M4, Ftmal)
MAVW= wma(M5, Smal)
col1= MAVW>MAVW[1]
col3= MAVW<MAVW[1]
color = col1 ? blue : col3 ? red : yellow

plot(MAVW, color=color, linewidth=2, title="MAVW")

M12= wma(close, 3)
M22= wma(M12, 5)
M32= wma(M22, 8)
M42= wma(M32, 13)
M52= wma(M42, 21)
MAVW2= wma(M52, 34)

plot(mavilimold and MAVW2 ? MAVW2 : na, color=blue, linewidth=2, title="MavWOld")

baraMIrenkMI = input(true, title="Buy sell option on/off , ON >> bar crosses on line... OFF >> depends line colors ")

l1= close>MAVW and close[1]<=MAVW[1]
s1=close<MAVW and close[1]>=MAVW[1]

longCond=baraMIrenkMI ?l1: col1
shortCond=baraMIrenkMI ?s1: col3



last_signal = 0
long_final = longCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == -1)
short_final = shortCond and (nz(last_signal[1]) == 0 or nz(last_signal[1]) == 1)
bgcolor( (nz(last_signal[1]) == 0 or nz(last_signal[1]) == -1) ? blue : green, transp=93)

bgcolor( long_final? blue : na, transp=93)
bgcolor( short_final? red : na, transp=93)
alertcondition(long_final, title="buy alarm", message="buy signal!!!")
alertcondition(short_final, title="sell alarm", message="sell signal!!!")
last_signal := long_final ? 1 : short_final ? -1 : last_signal[1]

plotshape(long_final, style=shape.labelup,
location=location.belowbar, color=blue,size=size.tiny,title="buy label",text="BUY",textcolor=white)
plotshape(short_final, style=shape.labeldown,
location=location.abovebar, color=red,size=size.tiny,title="sell label",text="SELL",textcolor=white)


Han respondido

1
Desarrollador 1
Evaluación
Proyectos
284
42%
Arbitraje
15
13% / 47%
Caducado
67
24%
Libre
2
Desarrollador 2
Evaluación
Proyectos
369
66%
Arbitraje
10
50% / 0%
Caducado
46
12%
Libre
Solicitudes similares
Me gustaría poder crear automaticamente varias ordenes que se queden pendientes pudiendo definir los siguientes parámetros: Tipo de orden (Buy y sell stop, buy y sell limit. Precio de compra / venta. Pudiendo entrarlo manualmente o como un numero de puntos a sumar/restar del precio actual de marcado. Numero de puntos que ocuparan en total las ordenes y numero de ordenes a insertar (Ejemplo: 200 puntos, 4 ordenes, es
tardes desarolladores, quiero hacer un sistema semiatomatico, el deberia abrir las operaciones de venta o compra en un punto donde yo haga el analisis cumpliendo siertos criterios, por ejemplo abrir la operacion despues de que tresvelas del mismo color salga de un punto donde yo deje marcado , abriendo una operación 1/1 tenuendo en cuenta dos lineas que yo dejare marcadas
Hi developer, I need a EA bot with forex news filtering for JPY currency pairs(usdjpy, audjpy,gbpjpy,cadjpy) and USD currency pairs (audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). That's no problem if you can share your own profitable ea to me for 100 usd. I don't have any idea about ea strategy. But, I need profit in this ea Please share backtest, strategy, how ea works and ea's features
Hello, I’m looking for an experienced MQL5 developer to help integrate cloud-based parameter control for an existing MT5 EA. The goal is to allow EA parameters to be adjusted via a secure web interface. Please reach out via private message for more details and to discuss further
Hello, How are you doing?. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform
Hello mate .. i am Looking for a skilled developer to integrate my broker into MetaTrader 5 (MT5). Currently, my broker is not available on the platform, and I need someone with expertise in creating or adapting broker connections for MT5. The ideal candidate will have a strong understanding of MT5 architecture. If you are proficient at working with APls and have a background in trading platform integration, please
Hi developer, I need a EA bot with forex news filtering for USD currency pairs (usdjpy, audUSD,EURUSD, gbpUSD, NZDUSD, USDcad, USDCHF, xauusd). That's no problem if you can share your own profitable ea to me. I don't have any idea about ea strategy. But, I need profit in m30 or other TF. Please share backtest, strategy, how ea works and ea's features
COETZEE EA BOT 30 - 100 USD
Hello I am looking for an EA developer that can create for me a bot that trades prop firms accounts and makes at least $500 a day from a $50,000 account balance. This EA should have SL on every trade as mandatory. I do not have any EMAs strategies but I am willing to accept any strategy the developer has to deploy as long as it produces 0.5% a day and is not HFT
BOT SAFE 30 - 100 USD
Określ swoje wymagania Specyfikacje tutaj punkt po punkcie. Postaraj się krótko i przejrzyście opisać swoje wymagania, aby Twój potencjalny programista był w stanie prawidłowo ocenić ich złożoność i koszt, a także wymagany czas realizacji. Zły lub zbyt ogólny opis spowoduje, że Twoje zamówienie zostanie zignorowane lub spędzisz dużo czasu negocjując szczegóły z każdym wnioskodawcą. Pamiętaj: Lepiej poświęcić
I need to make EA (Expert Advisor) and would appreciate it if you could provide your most competitive quote. Please let me know your best price for completing these changes, as I’m looking to get this done promptly and effectively. Thank you

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 día(s)