Convert TradingView pine script into MT4 indicator (MQL4 Source file and EX4 file) Without any errors.

MQL5 Indicatori Forex Futures

Lavoro terminato

Tempo di esecuzione 5 minuti
Feedback del cliente
All positive and no negatives. Highly skilled and understand all about mql4. It was fun working with him. Even though there were issues on my side, he helped figure them out.
Feedback del dipendente
Great customer, very diligent and energetic, with fast testing period and payment, thanks.

Specifiche

Hi,

I would like tradingview indicator Trendlines with Breaks [Lux Algo] to be turned into a MT4 indicator with breakout alerts. Also needs to have a buffer for upper trendline breakout and lower trendline breakout, so that I can create a EA with it.

Please check before applying if you can do it within the budget. If not don't apply. If you have any questions please contact me first. Below is the source code. It needs to function exactly the same.

Good Luck

// This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0/
// © LuxAlgo

//@version=5
indicator("Trendlines with Breaks [LuxAlgo]", "LuxAlgo - Trendlines with Breaks", overlay = true)
//------------------------------------------------------------------------------
//Settings
//-----------------------------------------------------------------------------{
length = input.int(14, 'Swing Detection Lookback')
mult = input.float(1., 'Slope', minval = 0, step = .1)
calcMethod = input.string('Atr', 'Slope Calculation Method', options = ['Atr','Stdev','Linreg'])
backpaint = input(true, tooltip = 'Backpainting offset displayed elements in the past. Disable backpainting to see real time information returned by the indicator.')

//Style
upCss = input.color(color.teal, 'Up Trendline Color', group = 'Style')
dnCss = input.color(color.red, 'Down Trendline Color', group = 'Style')
showExt = input(true, 'Show Extended Lines')

//-----------------------------------------------------------------------------}
//Calculations
//-----------------------------------------------------------------------------{
var upper = 0.
var lower = 0.
var slope_ph = 0.
var slope_pl = 0.

var offset = backpaint ? length : 0

n = bar_index
src = close

ph = ta.pivothigh(length, length)
pl = ta.pivotlow(length, length)

//Slope Calculation Method
slope = switch calcMethod
    'Atr'    => ta.atr(length) / length * mult
    'Stdev'  => ta.stdev(src,length) / length * mult
    'Linreg' => math.abs(ta.sma(src * n, length) - ta.sma(src, length) * ta.sma(n, length)) / ta.variance(n, length) / 2 * mult

//Get slopes and calculate trendlines
slope_ph := ph ? slope : slope_ph
slope_pl := pl ? slope : slope_pl

upper := ph ? ph : upper - slope_ph
lower := pl ? pl : lower + slope_pl

var upos = 0
var dnos = 0
upos := ph ? 0 : close > upper - slope_ph * length ? 1 : upos
dnos := pl ? 0 : close < lower + slope_pl * length ? 1 : dnos

//-----------------------------------------------------------------------------}
//Extended Lines
//-----------------------------------------------------------------------------{
var uptl  = line.new(na,na,na,na, color = upCss, style = line.style_dashed, extend = extend.right)
var dntl  = line.new(na,na,na,na, color = dnCss, style = line.style_dashed, extend = extend.right)

if ph and showExt
    uptl.set_xy1(n-offset, backpaint ? ph : upper - slope_ph * length)
    uptl.set_xy2(n-offset+1, backpaint ? ph - slope : upper - slope_ph * (length+1))

if pl and showExt
    dntl.set_xy1(n-offset, backpaint ? pl : lower + slope_pl * length)
    dntl.set_xy2(n-offset+1, backpaint ? pl + slope : lower + slope_pl * (length+1))

//-----------------------------------------------------------------------------}
//Plots
//-----------------------------------------------------------------------------{
plot(backpaint ? upper : upper - slope_ph * length, 'Upper', color = ph ? na : upCss, offset = -offset)
plot(backpaint ? lower : lower + slope_pl * length, 'Lower', color = pl ? na : dnCss, offset = -offset)

//Breakouts
plotshape(upos > upos[1] ? low : na, "Upper Break"
  , shape.labelup
  , location.absolute
  , upCss
  , text = "B"
  , textcolor = color.white
  , size = size.tiny)

plotshape(dnos > dnos[1] ? high : na, "Lower Break"
  , shape.labeldown
  , location.absolute
  , dnCss
  , text = "B"
  , textcolor = color.white
  , size = size.tiny)

//-----------------------------------------------------------------------------}
//Alerts
//-----------------------------------------------------------------------------{
alertcondition(upos > upos[1], 'Upward Breakout', 'Price broke the down-trendline upward')
alertcondition(dnos > dnos[1], 'Downward Breakout', 'Price broke the up-trendline downward')

//-----------------------------------------------------------------------------}


Con risposta

1
Sviluppatore 1
Valutazioni
(174)
Progetti
185
71%
Arbitraggio
0
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
3
Sviluppatore 3
Valutazioni
(571)
Progetti
941
47%
Arbitraggio
304
59% / 25%
In ritardo
124
13%
In elaborazione
4
Sviluppatore 4
Valutazioni
(284)
Progetti
458
39%
Arbitraggio
94
44% / 18%
In ritardo
72
16%
Caricato
Pubblicati: 2 codici
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(255)
Progetti
577
36%
Arbitraggio
64
20% / 58%
In ritardo
147
25%
Gratuito
Pubblicati: 1 articolo, 22 codici
7
Sviluppatore 7
Valutazioni
(170)
Progetti
193
42%
Arbitraggio
9
11% / 44%
In ritardo
9
5%
Gratuito
Pubblicati: 3 codici
Ordini simili
I have an indicator that I want to convert to robot Please after all these, in the nearest possible time, I'll want to build an additional robot. Let's be done with this one first I only want the robot to pick trades from 6 pairs for now 1. Gbpusd 2. Eurusd 3. Xauusd 4. Usdjpy 5. Nasdaq 6. Btcusd From this indicator, it should only pick trades from the following time frames 1. Gbpusd (M1 and M5) 2. Eurusd (M5) 3
Convert Trading View (Pine Text Code) strategy (System) with buy sell signals to MT5 Expert Advisor, EA will trade the exact same buy, sell signals as the Trading View signals this system produces (No Repainting). MT5 EA will :- Please display All visual indicators on MT5 the same as Trading View , buy sell boxes as displayed on TV showing entries exits. Coloured Bars to indicate trend with . Default TP can be a
to compile all the suitable markets for buy and place a buy for the shortest timeframe and place a sell for also a shortest timeframe it should work with all brokers and can automatically place a trade as long as its connected to the internet it should inform where the contracts are placed and for how long
I am looking to hire somebody to take my written description along with the code I have put together and fix it / optimize it and make it a profitable scalping EA that enters and exits positions quickly with profit
Mql5 indicator 30+ USD
I'm looking for an indicator that gives buy sell signals by placing arrows on the chart Signals must not repaint or be placed with an offset I want it to be accurate enough so j can trade from signal to signal amd actually make profit Do anyone have a strategy and skill to create such an indicatore First priority is to mql5
Hello, I am looking for a professional or experienced trader/consultant who can share or build a working, rule-based strategy for BTCUSD on MetaTrader 5. 📌 This project is not for EA development at this stage. Instead, I want to: Evaluate the core logic, edge, and win profile of a strategy Confirm that the strategy is statistically sound and rule-based Ensure it can be automated later if it performs well in
I am looking for a consistently profitable EA that is: Reliable , low-risk , and suitable for long-term use Can meet prop firm rules (e.g., FTMO, MyForexFunds) Must include Stop Loss, Take Profit, and Trailing Stop Capable of making 1% to 2% daily under controlled risk Works on BTCUSD (initial focus) with potential to scale to other assets Should be able to run on MetaTrader 5 🔍 Requirements : The EA must already be
Ola1704 30+ USD
Opracuj Expert Advisor handlujący odwróceniami trendów. Sygnały odwrócenia będą generowane na podstawie wzorców Price Action. Trend będzie określany na podstawie ADX, Alligator i MACD, podczas gdy wybór wskaźnika powinien być dostępny w parametrach wejściowych EA
I’m looking for a highly experienced EA developer who can do more than just code — someone who can help design, build, and test a profitable Expert Advisor for MetaTrader 4 or 5 (your choice). I don’t have a finalized strategy yet, so I’m looking for someone who can: Propose proven EA logic based on live market performance Help me choose from styles like scalping, trend-following, breakout, or swing Build in smart
Project goal: To develop a trading bot that interprets highs and lows for strategic long and short positions. Scope of work: - Develop a bot to long on Higher Low, Lower Low, or Double bottom signals. - Create bot to short on Higher High, Lower High, or Double top signals. - Incorporate support and resistance levels into the strategy. - Suggest improvements considering volume and market trends. Additional

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
da 1 a 5 giorno(i)