Conversion of TradingView Pine Script to MQL5 Indicator

MQL5 Indicatori In conversione

Lavoro terminato

Tempo di esecuzione 22 ore
Feedback del cliente
I hired this developer to create a complex custom indicator. The code was flawless, with zero bugs, and they implemented all my requested features precisely.
Feedback del dipendente
Thanks for your fair order. Wish you safe trades,

Specifiche

Please convert the 2 Pine Scripts below into MQL5 Indicator, it has to be done in 2 days:

1. RMD

//@version=5
indicator('Ranging Market Detector', shorttitle='RMD')

// input paraneters
treshold_level = input.float(title='treshold', defval=4, minval=0, step=1)

//Kalman filter calculation
p = ohlc4

value1 = 0.0
value2 = 0.0
klmf = 0.0

value1 := 0.2 * (p - p[1]) + 0.8 * nz(value1[1])
value2 := 0.1 * (high - low) + 0.8 * nz(value2[1])
lambda = math.abs(value1 / value2)

alpha = (-lambda * lambda + math.sqrt(lambda * lambda * lambda * lambda + 16 * lambda * lambda)) / 8
klmf := alpha * p + (1 - alpha) * nz(klmf[1])


// Calculateing the absolute value of the Kalman filter curve slope
klmf_diff = math.abs(klmf - klmf[1])

// Long term average of the Kalman filter slope
av_klmf_diff = 1.0 * ta.ema(klmf_diff, 200)

// The Kalman filter slope minus the average slope (Decline from the average slope)
// This slope decline is divided by the average slope value to normalize it
normalized_slope_decline = (klmf_diff - av_klmf_diff) / av_klmf_diff

// Condition that defines the trend regime
// Slope declined from the average by not less than the given treshold value
trend_condition = (normalized_slope_decline >= treshold_level) or (normalized_slope_decline[1] >= treshold_level)

bgcol = trend_condition ? color.new(color.yellow, 30) : color.new(color.gray, 30)
// Plot normalized slope decline as histogram plot
plot(normalized_slope_decline, style=plot.style_columns, color=bgcol, linewidth=3)
//plot(lambda, style=plot.style_histogram, color=color.new(color.blue, 0), linewidth=3)
// Plot treshold level line
plot(treshold_level, color=color.new(color.yellow, 0))


2. HalfTrend

//@version=5
indicator('HalfTrend', overlay=true)

amplitude = input(title='Amplitude', defval=1)

channelDeviation = 2
atr_input = 100
showArrows = true
showChannels = true

var int trend = 0
var int nextTrend = 0
var float maxLowPrice = nz(low[1], low)
var float minHighPrice = nz(high[1], high)

var float up = 0.0
var float down = 0.0
float atrHigh = 0.0
float atrLow = 0.0
float arrowUp = na
float arrowDown = na

atr2 = ta.atr(atr_input) / 2
dev = channelDeviation * atr2

highPrice = high[math.abs(ta.highestbars(amplitude))]
lowPrice = low[math.abs(ta.lowestbars(amplitude))]
highma = ta.ema(high, amplitude)
lowma = ta.ema(low, amplitude)

if nextTrend == 1
    maxLowPrice := math.max(lowPrice, maxLowPrice)

    if highma < maxLowPrice and close < nz(low[1], low)
        trend := 1
        nextTrend := 0
        minHighPrice := highPrice
        minHighPrice
else
    minHighPrice := math.min(highPrice, minHighPrice)

    if lowma > minHighPrice and close > nz(high[1], high)
        trend := 0
        nextTrend := 1
        maxLowPrice := lowPrice
        maxLowPrice

if trend == 0
    if not na(trend[1]) and trend[1] != 0
        up := na(down[1]) ? down : down[1]
        arrowUp := up - atr2
        arrowUp
    else
        up := na(up[1]) ? maxLowPrice : math.max(maxLowPrice, up[1])
        up
    atrHigh := up + dev
    atrLow := up - dev
    atrLow
else
    if not na(trend[1]) and trend[1] != 1
        down := na(up[1]) ? up : up[1]
        arrowDown := down + atr2
        arrowDown
    else
        down := na(down[1]) ? minHighPrice : math.min(minHighPrice, down[1])
        down
    atrHigh := down + dev
    atrLow := down - dev
    atrLow

ht = trend == 0 ? up : down

var color buyColor = color.blue
var color sellColor = color.red

htColor = trend == 0 ? buyColor : sellColor
htPlot = plot(ht, title='HalfTrend', linewidth=2, color=htColor)


Con risposta

1
Sviluppatore 1
Valutazioni
(254)
Progetti
572
36%
Arbitraggio
64
20% / 58%
In ritardo
147
26%
Gratuito
2
Sviluppatore 2
Valutazioni
(285)
Progetti
427
63%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
In elaborazione
3
Sviluppatore 3
Valutazioni
(181)
Progetti
231
59%
Arbitraggio
7
29% / 29%
In ritardo
7
3%
In elaborazione
Ordini simili
Hello, I have EA's which were previously developed that are not running correctly and giving errors. Need an experienced MQL developer to fix all issues as well as add some new settings. Thanks
Looking for a developer to create an MT4 indicator and an EA / Robot. Indicator-based strategy consisting of several moving averages, PSAR Indicator and Pinescript indicator called Coral Trend Indicator by LazyBear (pinescript source code will be provided and will need converting to MT4 code - 34 lines of code). Strategy to be an intra-day trading period on 5-minute timeframe for the European session but “Trading”
HI I wish to add a vertical spacing on the 2 indicators which are very similar : S-KG BUYERS vs SELLERS 1M-8D.mq4 S-KG BUYERS vs SELLERS 1M-8D Diff V2.mq4 this has to be a new param to allow by example to use any font and to have a normal spacing for text and number the example on the right is with character 10 and on the left 15 i wish to have the same display (valor & text) on the left if i use by example 15
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I wish an indicator that can import data from the websites below: https://www.fastbull.com/speculative-sentiment?textType=1&amp ;id=-1 https://www.fxblue.com/market-data/tools/sentiment After importing the data. I want the developer to create a simple text dashboard showing at least the major pairs in Forex with the correspondent sentiment from each website. The format of the dashboard or its visual aspects do not
hello, i have indicator to modification. it was not code based on my rules. after testing i see 2 modification to introduce. 1st modification concerns wrong marked tops and bottoms when outside bar is 2nd modifiation concerns update. it schould be update after close candle. now there is not working that. full description is in attached file
1. Display Swap List on Chart. 2. Display Swap Price in Usd. 3. Sort Highest to Lowest. Similiar below, but include Swap Price for Long/Short and Sort Highest to Lowest Swap Rates in usd
Smart trend indicator 30 - 72 USD
I'm looking for a math smart programmer to make a smart indicator . I'm looking for rare and passionate math programmer to make an mq4 indicator code the indicator is based only on price action .Max mathematical precision is required
I have a EA and A Indicator I want to upgrade with some new features I want to add to the Indicator And The EA Also there is a memory error in the system that is showing up in the journal after the ea is ran on multiple charts I will need to get this fixed as well Indicator is 528 lines of code EA is 703 lines of code Indicator Changes I want to change the indicator The Moving Average Ribbon I want to Add a input to
Hello there, I'm looking for an experienced developer to convert a TradingView indicator script into an MT4 (MetaTrader 4) compatible format. The script, written in Pine Script version 5, includes custom indicators and graphical elements such as lines, boxes, and labels that we need to be accurately replicated in MT4. Check the attached file below

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
a 2 giorno(i)