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

MQL4 Эксперты

Техническое задание

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)


Откликнулись

1
Разработчик 1
Оценка
(224)
Проекты
283
42%
Арбитраж
15
13% / 47%
Просрочено
67
24%
Свободен
2
Разработчик 2
Оценка
(221)
Проекты
369
66%
Арбитраж
10
50% / 0%
Просрочено
46
12%
Свободен
Похожие заказы
Hi, I have the source code of an expert advisor, but it uses a lot of mqh files. I would like to have the source code so that i can see the exact entry conditions, the ordersend functions, sl and tp placing functions, etc. The file will be handed privately. Thank you
Hi, I'm looking for an experienced developer to create an Expert Advisor for MT5 based on variable distance and size order openings. The developer must have already completed similar work. Thanks
The future of the traders be a good traders and patient and humble person faithful loyalty to your job and last be a professional traders and helping a dream of us how to trade and etc,,,,,,,,,,,,,,,,,🤑
Executed every minute when the condition is met Added 3 adjustable parameters 01 Number of orders per order: 0.1 OR 0.01 LOT 02 The upper limit of the number of buy (sell) orders: 5 OR 10 03 ADX start condition: UP OR DOWN I NEED OPEN CODE
I need a simple equity protection EA. This EA will automatically close all open position when a certain margin level % is reached. For example if an account margin level % reaches 500% the EA must close all current opened positions automatically
HFT Scalper EA needed 50 - 500 USD
Overview Develop a high-frequency trading scalper EA for Forex markets Goal: exploit small price movements for rapid profits Key Requirements Trading Strategy Scalping strategy: buy/sell quickly to capture small price movements Use technical indicators (e.g., Moving Averages, RSI) to identify trading opportunities Risk Management Set stop-loss and take-profit levels Implement risk-reward ratio (e.g., 1:2) Order
Boa noite. Preciso de um robô baseado em latência HFT que replique as operações do mt4 nas corretoras de opções binárias. Precisa funcionar em todas as moedas e em todos os tempos. Precisa funcionar principalmente nas corretoras Quotex e Iq option. Ajustável: Quantidade de lotes, stop loss e estop ganhos. Uma área de logins e senha é necessária. tbm um trabalho , pois preciso comercializar o software após os testes
Will handle over the code as soon you are ready :) I have written a more or less simple MT5 EA, which is copying realtime from another MT5 terminal on the same computer. One terminal act as master and the other as slave. Its file absed, means, the master saves his trades into file and the slave copies it from the file
Hi, I have an EA that scans all pairs and based on a unique way of suggested buy or sell direction (all done already, you would just take the buy or sell suggested label this EA suggests for each pair) and then on a seperate chart an EA that will take this reading and when EURUSD says to buy, the EA will buy Just a few options i would need, Stop loss in pips TP in pips TP as an RR (so 1:1, 1:2 etc) Fixed lots % risk
Hello, I am seeking a skilled and experienced MQL4 developer to assist in creating a Metatrader 4 Expert Advisor (EA) that communicates with a WebSocket server to receive trade signals. i need a EA like ( www.mtsocketapi.com ) The project will involve the following key tasks: Develop a DLL or bridge application : The chosen developer will need to create a DLL or bridge application that can manage WebSocket

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD
Сроки выполнения
от 1 дн.