Pine script small indicator to MQL4

MQL4 Indicators Converting

Job finished

Execution time 21 hours

Specification

i need to convert a TradingView (PineScript) indicator to MQL4 
name of the indicator is "Donchian Trend Ribbon"
the source code will be below. 
visuals are important. so make sure the developed indicator will have the visuals 

all ordinal input should be represented. 

General conditions

write clear and well commented code. 

delivery should be within 2 days.
deliveries are the indicator ex4 and the developed source code mq4. 


the pine source code:
//@version=4
study("Donchian Trend Ribbon", precision = 0)
dlen = input(defval = 20, title = "Donchian Channel Period", minval = 10)

dchannel(len)=>
    float hh = highest(len)
    float ll = lowest(len)
    
    int trend = 0
    trend := close > hh[1] ? 1 : close < ll[1] ? -1 : nz(trend[1])
    
dchannelalt(len, maintrend)=>
    float hh = highest(len)
    float ll = lowest(len)
    
    int trend = 0
    trend := close > hh[1] ? 1 : close < ll[1] ? -1 : nz(trend[1])
    maintrend == 1  ? trend == 1  ? #00FF00ff :  #00FF009f :
     maintrend == -1 ? trend == -1 ? #FF0000ff :  #FF00009f :
     na

maintrend = dchannel(dlen)

plot( 5, color = dchannelalt(dlen - 0, maintrend), style = plot.style_columns, histbase= 0)
plot(10, color = dchannelalt(dlen - 1, maintrend), style = plot.style_columns, histbase= 5)
plot(15, color = dchannelalt(dlen - 2, maintrend), style = plot.style_columns, histbase=10)
plot(20, color = dchannelalt(dlen - 3, maintrend), style = plot.style_columns, histbase=15)
plot(25, color = dchannelalt(dlen - 4, maintrend), style = plot.style_columns, histbase=20)
plot(30, color = dchannelalt(dlen - 5, maintrend), style = plot.style_columns, histbase=25)
plot(35, color = dchannelalt(dlen - 6, maintrend), style = plot.style_columns, histbase=30)
plot(40, color = dchannelalt(dlen - 7, maintrend), style = plot.style_columns, histbase=35)
plot(45, color = dchannelalt(dlen - 8, maintrend), style = plot.style_columns, histbase=40)
plot(50, color = dchannelalt(dlen - 9, maintrend), style = plot.style_columns, histbase=45)
//end

Responded

1
Developer 1
Rating
(626)
Projects
985
46%
Arbitration
33
36% / 36%
Overdue
98
10%
Working
Published: 6 codes
2
Developer 2
Rating
(213)
Projects
364
32%
Arbitration
34
41% / 29%
Overdue
108
30%
Free
Published: 1 code
3
Developer 3
Rating
(265)
Projects
597
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Free
Published: 1 article, 22 codes
4
Developer 4
Rating
(553)
Projects
640
33%
Arbitration
41
41% / 46%
Overdue
11
2%
Loaded
5
Developer 5
Rating
(16)
Projects
20
10%
Arbitration
8
38% / 38%
Overdue
3
15%
Working
6
Developer 6
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
7
Developer 7
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
8
Developer 8
Rating
(2645)
Projects
3361
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Working
Published: 1 code
9
Developer 9
Rating
(250)
Projects
460
26%
Arbitration
140
20% / 59%
Overdue
100
22%
Working
10
Developer 10
Rating
(2)
Projects
4
0%
Arbitration
0
Overdue
0
Free
Similar orders
We aim to belong to the Top 5 of Mql5 marketplace sellers. We are already in the Top 20 only after 2 years of presence. We are complying with the best standards in ethics and transparency. We already have a good reputation, numerous performing signals with no tricks, a building up community a presence on all marketplaces and social media Join the team and let's bring value to this marketplace
need a high-quality Expert Advisor for MT5 based on the RSI strategy. ​Key Features: ​News Filter: The EA must stop trading 30 minutes before and after High-Impact news. ​Risk Management: > - Customizable Lot size (Default: 0.05). ​Hard Stop Loss fixed at 10 USD. ​Trailing Stop feature included. ​Strategy: RSI (30/70) entries for Gold and Forex. ​Please provide a professional and clean MQL5 code
I am looking for an experienced MT4 (MQL4) developer to build a Harmonic Pattern Indicator with a PRZ (Potential Reversal Zone) detection system , similar to advanced harmonic scanners. Kindly apply if you can handle this project. Note: I don't want unprofessional developer
hello, i want a convertion of this trading view indicator FVG (NEPHEW_SAM_) to mql5 to be add later to an expert advisor. i want to access this data, gap data printed on current timeframe and multi timeframe that i choose (current, timeF1, timeF2, timeF3, timeF4)(gap time, gap value, top gap value, low gap value, gap type bull / bear, gap type iFVG or FVG). a function that check if the price is checking the gap at
Hello, I am looking for an experienced MT5 (MetaTrader 5) developer to create a simple and reliable Forex trading EA. Broker: Skyriss Platform: MT5 Requirements: • EA should work only on Forex pairs (EURUSD, GBPUSD, USDJPY, USDCHF) • Around 1–2 trades per day is enough • Proper risk management with Stop Loss (SL) and Take Profit (TP) • Prefer low-risk trading with 0.01–0.03 lot depending on balance • No martingale or
Título: Necesito ayuda para usar MetaTrader 4 build 1443 para que funcione mi robot Descripción: Estoy buscando un desarrollador o experto en MetaTrader 4 que pueda ayudarme a utilizar la versión antigua de MT4 build 1443, ya que mi robot de trading solo funciona correctamente en esa versión. Actualmente cuando instalo MetaTrader 4 se actualiza automáticamente a versiones más nuevas (1457 / 1460), y mi robot deja de
hello, please take a moment to review my project. It is for Quanttower. it is very detailed in the instructions. Thank you, Just let me know if you can do it and the whats the cost and timeframe
Indicator buy sell 30 - 225 USD
Looking for a buy and sell indicator Arrows should be placed at closing of candle for confirmation and then not disappear or repaint. I am looking for a serious devleper who doesn't play games waste time and knows what he's doing so I can build a long-time professional relationship with him. I would only be willing to put the deposite down after I know it doesn't repaint because many developers pulled me to
project details : BUILD Custom Pine Script Indicator + Strategy from Logic Spec (NOT a code copy job) I need a Pine Script developer to BUILD a custom indicator and strategy FROM SCRATCH based on a logic specification I will provide. This is not a copy/modify job — if you can only work with source code, this is not for you. WHAT I NEED BUILT: 1. VALID HIGH/LOW DETECTION - Identify swing highs and lows using price
XAU/USD Alert Bot MT4 30 - 120 USD
Project Summary: Create an alert-only MT4 EA for XAU/USD (5-minute chart) that detects a specific sequence of price action events and sends push notifications and optional sound/Telegram alerts when all conditions are met. ⸻ 1. Inputs / Settings • Enable/Disable Alerts → Boolean (true/false) • FVG minimum width (pips) → Default 2 • Order Block maximum width (pips) → Default 30 • Optional time filter → Default

Project information

Budget
37+ USD
Deadline
to 2 day(s)