Convert TradingView Pine Script to Metatrader 4 Expert Advisor

MQL4 Конвертация

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


Hi,

I need to convert the following  Strategy from Tradingview Pine Script to Meta Trader4 EA, so that it can open and close orders on its own.


//@version=2

strategy("[RichG] Easy MTF Strategy v1.1", overlay=false)

TF_1_time = input("D", "Timeframe 1")
TF_2_time = input("10D", "Timeframe 2")
TF_3_time = input("15D", "Timeframe 3")
TF_4_time = input("30D", "Timeframe 4")
lengthKC=input(20, title="KC Length")
multKC = input(1.5, title="KC MultFactor")
lengthBB=input(20, title="BB Length")
transaction_size = input(100, "Contract/Share Amount")

src = close, len = 20


out = sma(src, len)
width = 5
upcolor = green
downcolor = red
neutralcolor = blue
linestyle = line


kc() =>
    ma = sma(close, lengthKC)
    range = tr
    rangema = sma(range, lengthKC)
    upperKC = ma + rangema * multKC
    lowerKC = ma - rangema * multKC
    [lowerKC, upperKC] 

 
bb() =>
    source = close 
    basis = sma(source, lengthBB)
    dev = multKC * stdev(source, lengthBB)
    upperBB = basis + dev
    lowerBB = basis - dev
    [upperBB, lowerBB]

TF_1 = security(tickerid, TF_1_time, open) < security(tickerid, TF_1_time, close) ? true:false
TF_1_color = TF_1 ? upcolor:downcolor

TF_2 = security(tickerid, TF_2_time, open) < security(tickerid, TF_2_time, close) ? true:false
TF_2_color = TF_2 ? upcolor:downcolor

TF_3 = security(tickerid, TF_3_time, open) < security(tickerid, TF_3_time, close) ? true:false
TF_3_color = TF_3 ? upcolor:downcolor


TF_4 = security(tickerid, TF_4_time, open) < security(tickerid, TF_4_time, close) ? true:false
TF_4_color = TF_4 ? upcolor:downcolor

TF_global = TF_1 and TF_2 and TF_3 and TF_4 
TF_global_bear = TF_1 == false and TF_2 == false and TF_3 == false and TF_4 == false
TF_global_color = TF_global ? green : TF_global_bear ? red : white
TF_trigger_width = TF_global ? 6 : width

plot(1, style=linestyle, linewidth=width, color=TF_1_color)
plot(5, style=linestyle, linewidth=width, color=TF_2_color)
plot(10, style=linestyle, linewidth=width, color=TF_3_color)
plot(15, style=linestyle, linewidth=width, color=TF_4_color)
plot(25, style=linestyle, linewidth=4, color=TF_global_color)    

exitCondition_Long = TF_global_bear 
exitCondition_Short = TF_global

longCondition = TF_global
if (longCondition)
    strategy.entry("MTF_Long", strategy.long, qty=transaction_size)

shortCondition = TF_global_bear
if (shortCondition)
    strategy.entry("MTF_Short", strategy.short, qty=transaction_size)

[kc_lower,kc_upper] = kc()

strategy.close("MTF_Long", when=close < kc_upper)
strategy.close("MTF_Short", when=close > kc_lower)

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

1
Разработчик 1
Оценка
(363)
Проекты
506
40%
Арбитраж
147
18% / 72%
Просрочено
99
20%
Загружен
2
Разработчик 2
Оценка
(50)
Проекты
80
39%
Арбитраж
4
50% / 25%
Просрочено
0
Свободен
Похожие заказы
Convert MT4 EA to MT 5 EA. I just have the EA(ex4): I don't have the code. I want developer to copy same mt4 code and create mt5 EA NO EDITING REQUIRED
Terms of Reference: Development and Update of a MetaTrader 4 and MetaTrader 5 Bot Project Context: I currently own a MetaTrader 4 bot (Expert Advisor - EA) specialized in gold trading. I want to: Update the MetaTrader 4 version to integrate new features and secure the bot. Create a MetaTrader 5 version of this bot, with the same characteristics and functionalities. Project Objectives: Updating the MetaTrader 4 (MT4)
I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA NO EDITING REQUIRED
DON'T REACH OUT IF YOU CAN'T CONVERT STRATEGY ON TRADINGVIEW TO A WELL AUTOMATED EXPERT ADVISOR THAT RUN WITHOUT PROBLEM ON METATRADER 5 Well, I am only looking for a programmer who is proficient in coding and can turn strategy on tradingview to a well customized expert advisor, please reach out if you can work timely on exactly what I just said
Hello Developers, I’m seeking a professional and highly experienced MQL4 developer to assist with converting an existing TradingView indicator into a fully functional MT4 indicator (.exe file). The source code will be provided , and the key task is ensuring that all features and functionality are preserved in the MT4 version. Project Requirements: Proven experience in converting TradingView Pine Script to MQL4
Project Overview: The project is to convert a high-frequency trading strategy from TradingView’s PineScript into an automated MQL5 Expert Advisor (EA). Additional features will be added to the EA which are not part of the TradingView PineScript, details are added below. Key Requirements: Experience: Strong expertise in both TradingView PineScript, MQL5, and FOREX trading is essential. The MQL5 EA must closely
O robot já está feito in jforex Java pra plaforma jforex Java Preciso.: 1 converta robôt jforex Pra egiabmql5 2: depois da conversão é pra adicionar estratégia grid ou seja irá converter jforex Java dukascopy pra mql4 e depois da conversão é pra adicionar dentro do mql4 a estratégia grid
This is a 2000 lines own-made breakout EA that I need to have cleanly converted from mql4 to mql5 for learning purposes The start() is about 400 lines long ; basic breakout with specific features , built for Index CFDs with 2 digits (typically DAX or SP500; TP SL... are expressed in actual Points) The Ontester() is about 400 lines (contains 58 different custom opimizations) The Deinit() is about 150 lines The
**Job Description**: I am looking for an experienced developer to convert my fully functioning TradingView code into an automated trading bot for the MQL5 terminal. The bot will be connected to my Exness account and should execute trades based on specific signals generated by the strategy. **Key Responsibilities**: - Convert existing TradingView Pine Script strategy into MQL5 code. - Ensure the MQL5 bot replicates
Preciso de um orçamento. Conversão de estratégias do TradingView para uso em MQL5. Todas são estratégias abertas, porém, não consigo contato com o desenvolvedor. 🔑 Principais recursos: - 🛠 Configurações personalizáveis ​​do PSAR: ajuste o ponto inicial, o incremento e os valores máximos do PSAR para adaptar o indicador à sua estratégia. - 📏 Padronização: suavize a volatilidade padronizando os valores do PSAR

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

Бюджет
30+ USD
Исполнителю
27 USD