Covert Pine script from Trading View to Meta Trader4/5.

MQL5 Indikatoren Konvertierung

Auftrag beendet

Ausführungszeit 10 Tage
Bewertung des Kunden
Nice Job. looking forward to working together on my next project
Bewertung des Entwicklers
Thank you

Spezifikation

I need some one to covert Pine script from Trading View to Meta Trader4/5.


There are two indicators that i would like to combine, also I would like to be able to make changes to the settings when i need do


1. Keltner bounce from border. No repaint. (Joeli's setting)


//@version=4

study(title="Keltner Zones", shorttitle="KZ", overlay=true)

useTrueRange = input(true)

length = input(24, minval=1)

mult = input(2.25)

src = input(close, title="Source")

count = input(title="Congestion Counter", defval=12)

bullish = input(title="Lower Band", type=input.bool, defval=false)

bearish = input(title="Upper Band", type=input.bool, defval=false)

neutral = input(title="Congestion", type=input.bool, defval=true)

zones = input(title="Paint Zones?", type=input.bool, defval=true)



//KELTNERCHANNEL

ma = ema(src, length)

range = useTrueRange ? tr : high - low

rangema = ema(range, length)

upper = ma + rangema * mult

lower = ma - rangema * mult


congestionUp = ma + rangema * (mult / 2)

congestionDown = ma - rangema * (mult / 2)



incrementer = high < congestionUp and low > congestionDown and neutral ? 1 : 0

inc = 0

if incrementer

    inc := nz(inc[1], 0) + incrementer

    inc

else

    inc = 0

    inc


n1 = if inc >= count

    (high + low) / 2


n2 = if inc >= count and zones

    high + tr


n3 = if inc >= count and zones

    low - tr


up1 = if close > upper and high[1] > high and bearish

    (high + low) / 2

up2 = if close > upper and high[1] > high and bearish and zones

    high + tr

up3 = if close > upper and high[1] > high and bearish and zones

    low - tr


dn1 = if close < lower and low[1] > low and bullish

    (high + low) / 2

dn2 = if close < lower and low[1] > low and bullish and zones

    high + tr

dn3 = if close < lower and low[1] > low and bullish and zones

    low - tr



um = plot(fixnan(up1), style=plot.style_cross)

uz1 = plot(fixnan(up2), style=plot.style_cross)

uz2 = plot(fixnan(up3), style=plot.style_cross)


dm = plot(fixnan(dn1), style=plot.style_cross)

dz1 = plot(fixnan(dn2), style=plot.style_cross)

dz2 = plot(fixnan(dn3), style=plot.style_cross)


nm = plot(fixnan(n1), style=plot.style_cross)

nz1 = plot(fixnan(n2), style=plot.style_cross)

nz2 = plot(fixnan(n3), style=plot.style_cross)


fill(dz1, dz2, color=#8AC926)

fill(uz1, uz2, color=#FE4A49)

fill(nz1, nz2, color=#009FB7)


2. Keltner Channel Joeli's setting buy and sell


//@version=2

////////////////////////////////////////////////////////////

// The Keltner Channel, a classic indicator 

// of technical analysis developed by Chester Keltner in 1960. 

// The indicator is a bit like Bollinger Bands and Envelopes.

// You can change long to short in the Input Settings

// - This script to change bars colors.

////////////////////////////////////////////////////////////

strategy(title="Keltner Channel Joeli's setting", overlay = true)

nPeriod = input(title="Period", type=integer, defval=24, minval=1)

xPrice = sma(hlc3, nPeriod)

xMove = sma(high - low, nPeriod)

reverse = input(false, title="Trade reverse")

xUpper = xPrice + xMove

xLower = xPrice - xMove

pos = iff(close < xLower, -1,

       iff(close > xUpper, 1, nz(pos[1], 0))) 

possig = iff(reverse and pos == 1, -1,

          iff(reverse and pos == -1, 1, pos))       

if (possig == 1) 

    strategy.entry("Long", strategy.long)

if (possig == -1)

    strategy.entry("Short", strategy.short)         

barcolor(possig == -1 ? red: possig == 1 ? green : blue ) 

plot(xPrice, color=blue, title="KSmid")

plot(xUpper, color=red, title="KSup")

plot(xLower, color=green, title="KSdn")

Bewerbungen

1
Entwickler 1
Bewertung
(50)
Projekte
80
39%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(6)
Projekte
8
0%
Schlichtung
0
Frist nicht eingehalten
3
38%
Frei
3
Entwickler 3
Bewertung
(851)
Projekte
1464
72%
Schlichtung
122
29% / 48%
Frist nicht eingehalten
358
24%
Arbeitet
Veröffentlicht: 3 Artikel
4
Entwickler 4
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
5
Entwickler 5
Bewertung
(564)
Projekte
845
73%
Schlichtung
15
53% / 13%
Frist nicht eingehalten
193
23%
Frei
6
Entwickler 6
Bewertung
(22)
Projekte
18
6%
Schlichtung
31
3% / 65%
Frist nicht eingehalten
5
28%
Frei

Projektdetails

Budget
30 - 150 USD
Ausführungsfristen
bis 10 Tag(e)