Convert Pinescript into MQL5 auto trading robot with minor modification

MQL5 Konvertierung

Spezifikation

Below is the script I want to convert to MT5 the only addition is that I want to add a way to each time trade the maximum of my balance or the amount traded must go up with the amount of the 


//@version=2


strategy(title = "Strategy Code Example", shorttitle = "Strategy Code Example", overlay = true, pyramiding = 0, default_qty_type = strategy.percent_of_equity, default_qty_value = 10, currency = currency.GBP)

//
// *** THIS IS JUST AN EXAMPLE OF STRATEGY RISK MANAGEMENT CODE IMPLEMENTATION ***

// === GENERAL INPUTS ===
// short ma
maFastSource   = input(defval = open, title = "Fast MA Source")
maFastLength   = input(defval = 14, title = "Fast MA Period", minval = 1)
// long ma
maSlowSource   = input(defval = open, title = "Slow MA Source")
maSlowLength   = input(defval = 21, title = "Slow MA Period", minval = 1)

// === STRATEGY RELATED INPUTS ===
tradeInvert     = input(defval = false, title = "Invert Trade Direction?")
// the risk management inputs
inpTakeProfit   = input(defval = 1000, title = "Take Profit", minval = 0)
inpStopLoss     = input(defval = 200, title = "Stop Loss", minval = 0)
inpTrailStop    = input(defval = 200, title = "Trailing Stop Loss", minval = 0)
inpTrailOffset  = input(defval = 0, title = "Trailing Stop Loss Offset", minval = 0)

// === RISK MANAGEMENT VALUE PREP ===
// if an input is less than 1, assuming not wanted so we assign 'na' value to disable it.
useTakeProfit   = inpTakeProfit  >= 1 ? inpTakeProfit  : na
useStopLoss     = inpStopLoss    >= 1 ? inpStopLoss    : na
useTrailStop    = inpTrailStop   >= 1 ? inpTrailStop   : na
useTrailOffset  = inpTrailOffset >= 1 ? inpTrailOffset : na

// === SERIES SETUP ===
/// a couple of ma's..
maFast = ema(maFastSource, maFastLength)
maSlow = ema(maSlowSource, maSlowLength)

// === PLOTTING ===
fast = plot(maFast, title = "Fast MA", color = green, linewidth = 2, style = line, transp = 50)
slow = plot(maSlow, title = "Slow MA", color = red, linewidth = 2, style = line, transp = 50)

// === LOGIC ===
// is fast ma above slow ma?
aboveBelow = maFast >= maSlow ? true : false
// are we inverting our trade direction?
tradeDirection = tradeInvert ? aboveBelow ? false : true : aboveBelow ? true : false

// === STRATEGY - LONG POSITION EXECUTION ===
enterLong() => not tradeDirection[1] and tradeDirection // functions can be used to wrap up and work out complex conditions
exitLong() => tradeDirection[1] and not tradeDirection
strategy.entry(id = "Long", long = true, when = enterLong()) // use function or simple condition to decide when to get in
strategy.close(id = "Long", when = exitLong()) // ...and when to get out
// === STRATEGY - SHORT POSITION EXECUTION ===
enterShort() => tradeDirection[1] and not tradeDirection
exitShort() => not tradeDirection[1] and tradeDirection
strategy.entry(id = "Short", long = false, when = enterShort())
strategy.close(id = "Short", when = exitShort())

// === STRATEGY RISK MANAGEMENT EXECUTION ===
// finally, make use of all the earlier values we got prepped
strategy.exit("Exit Long", from_entry = "Long", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)
strategy.exit("Exit Short", from_entry = "Short", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)

Bewerbungen

1
Entwickler 1
Bewertung
(55)
Projekte
96
40%
Schlichtung
13
38% / 62%
Frist nicht eingehalten
25
26%
Frei
2
Entwickler 2
Bewertung
(550)
Projekte
829
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Arbeitet
3
Entwickler 3
Bewertung
(8)
Projekte
13
38%
Schlichtung
0
Frist nicht eingehalten
2
15%
Frei
4
Entwickler 4
Bewertung
(132)
Projekte
176
39%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
14
8%
Frei
5
Entwickler 5
Bewertung
(38)
Projekte
50
10%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
8
16%
Frei
6
Entwickler 6
Bewertung
(71)
Projekte
97
43%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
2
2%
Frei
7
Entwickler 7
Bewertung
(564)
Projekte
933
47%
Schlichtung
303
59% / 25%
Frist nicht eingehalten
125
13%
Beschäftigt
8
Entwickler 8
Bewertung
(67)
Projekte
144
34%
Schlichtung
10
10% / 60%
Frist nicht eingehalten
26
18%
Frei
Ähnliche Aufträge
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

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD