Convert a Tradingview Gaussian Channel indicator to MT5

MQL5 Indicatori

Lavoro terminato

Tempo di esecuzione 1 ora
Feedback del dipendente
Super client
Feedback del cliente
Quick accurate work, a real pro

Specifiche

Below is a simplified Tradingview Gaussian Channel indicator, with an extra band
Note: Source is (H + L + C)/3

Please Convert this indicator to MT5 indicator

Maintain the same styling and input fields, feel free to test in Tradingview to see indicator in action
Final indicator should perform the same as in Tradingview.


THANKS!


//@version=6
indicator("GC [ + RANGE]", shorttitle="GC [+ RANGE]", overlay=true)

// === INPUTS ===
src     = input.source(hlc3, "Source")
N       = input.int(4, "Poles", minval=1, maxval=9)
per     = input.int(144, "Sampling Period", minval=2)
mult    = input.float(1.414, "Filtered True Range Multiplier", minval=0)
modeLag = input.bool(true, "Reduced Lag Mode")
modeFast= input.bool(false, "Fast Response Mode")

// === EXTRA BAND INPUT ===
extraMult = input.float(2.0, "Extra Band Multiplier", minval=0)

// === BETA/ALPHA CALC ===
beta  = (1 - math.cos(4 * math.asin(1) / per)) / (math.pow(1.414, 2 / N) - 1)
alpha = -beta + math.sqrt(beta * beta + 2 * beta)
lag   = (per - 1) / (2 * N)

// === LAG-COMPENSATED SERIES ===
srcdata = modeLag ? src + (src - src[lag]) : src
trdata  = modeLag ? ta.tr(true) + (ta.tr(true) - ta.tr(true)[lag]) : ta.tr(true)

// === RECURSIVE GAUSSIAN FILTER ===
var float filtSrc = na
var float filtTr  = na
filtSrc := N == 1 ? alpha * srcdata + (1 - alpha) * nz(filtSrc[1]) : N == 2 ? math.pow(alpha, 2) * srcdata + 2 * (1 - alpha) * nz(filtSrc[1]) - math.pow(1 - alpha, 2) * nz(filtSrc[2]) : N == 3 ? math.pow(alpha, 3) * srcdata + 3 * (1 - alpha) * nz(filtSrc[1]) - 3 * math.pow(1 - alpha, 2) * nz(filtSrc[2]) + math.pow(1 - alpha, 3) * nz(filtSrc[3]) : N == 4 ? math.pow(alpha, 4) * srcdata + 4 * (1 - alpha) * nz(filtSrc[1]) - 6 * math.pow(1 - alpha, 2) * nz(filtSrc[2]) + 4 * math.pow(1 - alpha, 3) * nz(filtSrc[3]) - math.pow(1 - alpha, 4) * nz(filtSrc[4]) : N == 5 ? math.pow(alpha, 5) * srcdata + 5 * (1 - alpha) * nz(filtSrc[1]) - 10 * math.pow(1 - alpha, 2) * nz(filtSrc[2]) + 10 * math.pow(1 - alpha, 3) * nz(filtSrc[3]) - 5 * math.pow(1 - alpha, 4) * nz(filtSrc[4]) + math.pow(1 - alpha, 5) * nz(filtSrc[5]) : srcdata

filtTr := N == 1 ? alpha * trdata + (1 - alpha) * nz(filtTr[1]) : N == 2 ? math.pow(alpha, 2) * trdata + 2 * (1 - alpha) * nz(filtTr[1]) - math.pow(1 - alpha, 2) * nz(filtTr[2]) : N == 3 ? math.pow(alpha, 3) * trdata + 3 * (1 - alpha) * nz(filtTr[1]) - 3 * math.pow(1 - alpha, 2) * nz(filtTr[2]) + math.pow(1 - alpha, 3) * nz(filtTr[3]) : N == 4 ? math.pow(alpha, 4) * trdata + 4 * (1 - alpha) * nz(filtTr[1]) - 6 * math.pow(1 - alpha, 2) * nz(filtTr[2]) + 4 * math.pow(1 - alpha, 3) * nz(filtTr[3]) - math.pow(1 - alpha, 4) * nz(filtTr[4]) : N == 5 ? math.pow(alpha, 5) * trdata + 5 * (1 - alpha) * nz(filtTr[1]) - 10 * math.pow(1 - alpha, 2) * nz(filtTr[2]) + 10 * math.pow(1 - alpha, 3) * nz(filtTr[3]) - 5 * math.pow(1 - alpha, 4) * nz(filtTr[4]) + math.pow(1 - alpha, 5) * nz(filtTr[5]) : trdata

// === FAST MODE ===
filtSrc1 = nz(filtSrc[1])
filtTr1  = nz(filtTr[1])
filt     = modeFast ? (filtSrc + filtSrc1) / 2 : filtSrc
filttr   = modeFast ? (filtTr + filtTr1) / 2 : filtTr

// === BANDS ===
hband = filt + filttr * mult
lband = filt - filttr * mult

// === EXTRA OUTER BANDS ===
hbandExtra = filt + filttr * mult * extraMult
lbandExtra = filt - filttr * mult * extraMult

// === PLOTS ===
plot(filt, title="Filter", color=filt > filt[1] ? color.rgb(10, 255, 104, 75) : filt < filt[1] ? color.rgb(255, 10, 92, 75) : #cccccc, linewidth=1)
uph = plot(hband, title="High Band", color=filt > filt[1] ? color.rgb(10, 255, 104, 50) : filt < filt[1] ? color.rgb(255, 10, 92, 50) : #cccccc)
upl = plot(lband, title="Low Band", color=filt > filt[1] ? color.rgb(10, 255, 104, 50) : filt < filt[1] ? color.rgb(255, 10, 92, 50) : #cccccc)

// === PLOT EXTRA BANDS ===
plot(hbandExtra, title="Extra High Band", color=color.new(color.gray, 70), linewidth=1, style=plot.style_line)
plot(lbandExtra, title="Extra Low Band", color=color.new(color.gray, 70), linewidth=1, style=plot.style_line)


Con risposta

1
Sviluppatore 1
Valutazioni
(279)
Progetti
377
72%
Arbitraggio
19
32% / 47%
In ritardo
15
4%
In elaborazione
Pubblicati: 15 codici
2
Sviluppatore 2
Valutazioni
(268)
Progetti
602
34%
Arbitraggio
64
20% / 58%
In ritardo
147
24%
In elaborazione
Pubblicati: 1 articolo, 22 codici
3
Sviluppatore 3
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
3
0% / 67%
In ritardo
3
15%
Gratuito
5
Sviluppatore 5
Valutazioni
(68)
Progetti
126
40%
Arbitraggio
18
44% / 56%
In ritardo
33
26%
In elaborazione
6
Sviluppatore 6
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(39)
Progetti
52
19%
Arbitraggio
15
27% / 67%
In ritardo
8
15%
Gratuito
Pubblicati: 1 codice
8
Sviluppatore 8
Valutazioni
(20)
Progetti
23
39%
Arbitraggio
4
25% / 50%
In ritardo
1
4%
Gratuito
Pubblicati: 4 codici
9
Sviluppatore 9
Valutazioni
(72)
Progetti
147
67%
Arbitraggio
21
10% / 71%
In ritardo
44
30%
Gratuito
Ordini simili
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL4 developer to build a professional High-Frequency Trading (HFT) / Low-Latency Expert Advisor for MetaTrader 4 (MT4) . The EA will be deployed on an IC Markets Live account and should be optimized for the fastest possible execution using a low-latency VPS located in LD4 or NY4 . The primary instruments will be US30 and XAUUSD (Gold) . The goal is to create an EA capable of
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
I am looking to convert my existing TradingView Pine Script (v5) strategy into an MQL5 Expert Advisor (EA) for MetaTrader 5. Strategy Details: Asset: Gold (XAUUSD) Timeframe: 15-minute Strategy Logic: The strategy is based on a breakout concept. Anchor Candle: The base calculation starts from the Specified Candle Entry Window: The EA should only look for entries As Per Indicator Risk Management: The strategy
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance
Akram boushaba 30 - 500 USD
مرحبا كيف حالكم انا اكرم مهتم بالتداول احاول ان اصمم برنامج روبوت قادر على التداول من تلقاء نفسه من يمكنه ان يساعدني او يعلمني كيف استطيع فهل ذلك وسأكون ممتناً له وشكرا لكم
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically

Informazioni sul progetto

Budget
50 - 80 USD
Scadenze
da 1 a 5 giorno(i)