Convert indicator from Tradingview's Pine script to MT4 + EA

Tarea técnica

Hello, I have an indicator/strategy written using Pine Script editor for the TradingView website with 76.32% winning/profitable trades from 382 total trades in strategy tester which I'd like to have 2 outputs:

1. A parallel version in MQL4 so i can use it on MT4 (or if not possible in MQL5 for MT5);
2. An EA which opens and closes positions (buy and sell) based on the indications given by the indicator aforementioned.


In the EA I'd like to be able to customize the following values:
A. tick interval (30m, 1h, 4h, ..)
B. lot size
C. symbol/pair currency
D. stop loss
E. few others internal variables

Plus, in the EA I'd like to have the following features:
F. Indicator should also be attached to the MT4 graph
G. send email both when it opens and closes a position
H. ability to close the position manually, when this happens the EA has to understand the position has been closed manually and doesn't have to open again a new position (even if the conditions are still met) for a set amount of time (amount of time which I'd like to be able to customize) or until the conditions change. If I'll close manually then I don't have to re-attach the EA to the graph to make it work again.
I. check all opening/closing signals are actually executed
L. the stop loss can be set or not
 
I'll require the original code, which I would prefer with comments in it, so that I can understand, thanks.

Han respondido

1
Desarrollador 1
Evaluación
(621)
Proyectos
972
47%
Arbitraje
32
38% / 34%
Caducado
96
10%
Trabajando
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(69)
Proyectos
93
34%
Arbitraje
10
40% / 30%
Caducado
5
5%
Libre
3
Desarrollador 3
Evaluación
(5)
Proyectos
6
17%
Arbitraje
2
0% / 50%
Caducado
0
Libre
Solicitudes similares
"Hello! I am an experienced programmer specializing in automated trading software for MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5). My goal is to help traders turn their manual strategies into fully automated robots (Expert Advisors) and custom indicators. My services include: Developing Expert Advisors (EA) from scratch based on your strategy. Creating Custom Indicators and Scripts. Modifying existing EAs (adding
I have a simple strategy that need coding on tradingview Strategy using high low at seleted time and when breakout to entry buy sell. Everything will be explained on private
I am looking for an experienced MQL5 developer to modify and enhance my existing Expert Advisor, "Gold Levels Trader". The current version has a low win rate (~30%) and issues with ATR-based Stop Loss execution. I want to replace the current "pips drop/rise" logic with Fibonacci Retracement levels for entry signals, implement a Daily Drawdown Limit , and add Pending Orders functionality
I want developer who know how to create bot which immediately transfer specific crypto coin deposit to one crypto address to another specific address in just a second,, if you know about this then only comment on this post
So the things we need in algorithm of mql5 language EA in mt5 1. Depending on timeframe it can recognise the previous swing high and low 2. Timeframe is 5m,15m,1h,4h 3. It can recognise the basic Market bias that is market is bullish or bearish we can identify using (ema,rsi,basic smc bias,ict bias structure mapping) or use anything to find bias structure 4. EA should have option to change timeframe and change risk
require the development of a high-speed, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically detect
# Copyright 2025, MetaQuotes Ltd. # https://www.mql5.com import importlib . util mt5_spec = importlib . util . find_spec ( "MetaTrader5" ) if mt5_spec is None : mt5 = None else : import MetaTrader5 as mt5 # pyright: ignore[reportMissingImports] def main (): if mt5 is None : print ( "MetaTrader5 module not available" ) return print ( 'Python executable:' , __import__ ( 'sys' ).executable) ok = mt5
Scope of Work Develop 15 individual Expert Advisors (MT4 and/or MT5) Each EA will have: Unique trade logic and execution rules Configurable inputs (risk %, lot size, TP/SL, filters, sessions, etc.) Clean, modular, well-commented code Error-free compilation Backtest-ready functionality Core Features (Across EAs) Market & pending order execution Risk-based position sizing Time/session filters Trade limits (per day /
MetaTrader 5 (MQL5) için Expert Advisor geliştirecek TÜRK MQL5 yazılımcı arıyorum. 📌 Gereksinimler: - MQL5 diline hâkim (MT5 native) - Daha önce çalışır EA / indikatör teslim etmiş - Temiz, modüler ve yorumlu kod yazabilen - Debug ve backtest sürecine destek verebilen - Kaynak kodu (.mq5) teslim edebilen 📌 EA Özeti: - Kendi stratejime uygun işlem alacak - Xauusd ve SPX500 işlem alacak. - Günlük bias kontrolü
//+------------------------------------------------------------------+ //| ScalperEA.mq5 | //+------------------------------------------------------------------+ #property copyright "Template" #property version "1.00" #property strict input int FastEMA = 8; input int SlowEMA = 21; input int AtrPeriod = 14; input double StopAtrMult = 1.2; input double TpAtrMult = 1.0; input double RiskPercent = 0.5; // percent account

Información sobre el proyecto

Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 3 a 5 día(s)