I want to convert one Indicator from Pinescript from trading view to mt4 metaquotes language

명시

Hello everyone, I watch this indicator from TRADINGRUSH (He design this indicator is not my own) BeepBoop, 

I want to use it in my strategy on MT4, because i dont use tradingview 


This is the code he has on Tradingview: 


//(Improved) Beep Boop Indicator for Trending Markets 

//New and Improved version of the Beep Boop Indicator

//

//@version=4

study(title="Beep Boop", shorttitle="Beep Boop", resolution="")

fast_length = input(title="Fast Length", type=input.integer, defval=12)

slow_length = input(title="Slow Length", type=input.integer, defval=26)

EMATrend = input(title="EMA Trend", type=input.integer, defval=50)

src = input(title="Source", type=input.source, defval=close)

signal_length = input(title="Signal Smoothing", type=input.integer, minval = 1, maxval = 50, defval = 9)

sma_source = input(title="Simple MA(Oscillator)", type=input.bool, defval=false)

sma_signal = input(title="Simple MA(Signal Line)", type=input.bool, defval=false)

ema_signal = input(title="Simple MA(Signal Line)", type=input.bool, defval=false)

col_grow_above = #26A69A

col_grow_below = #FF0000

col_fall_above = #FFFFFF

col_fall_below = #FFFFFF

col_macd = #0094ff

col_signal = #ff6a00

variant_doubleema(src,len) =>

    v2 = ema(src, len)

    v6 = 2 * v2 - ema(v2, len)

    v6

variant_zerolagema(src, len) =>

    price = src

    l = (len - 1) / 2

    d = (price + (price - price[l]))

    z = ema(d, len)

    z

//fast_ma = sma_source ? sma(src, fast_length) : ema(src, fast_length)

//slow_ma = sma_source ? sma(src, slow_length) : ema(src, slow_length)

//macd = fast_ma - slow_ma

//signal = sma_signal ? sma(macd, signal_length) : ema(macd, signal_length)

fast_ma = sma_source ? sma(src, fast_length) : ema_signal ? ema(src, fast_length) : variant_doubleema(src, fast_length)

slow_ma = sma_source ? sma(src, slow_length) : ema_signal ? ema(src, slow_length) : variant_doubleema(src, slow_length)

macd = fast_ma - slow_ma

signal = sma_signal ? sma(macd, signal_length) : ema_signal ? ema(macd, signal_length) : variant_doubleema(macd, signal_length)

hist = macd - signal

histplot = hist

if (hist > 0)

    hist := 0.1


if (hist < 0)

    hist := 0.09

//fastMA = ema(close, EMATrend)

fastMA = ema_signal ? ema(close, EMATrend) : variant_doubleema(close, EMATrend)

//fastMA = 0

plot(hist, title="Histogram", style=plot.style_columns, color=(hist == 0.1 ? ((hist == 0.1) and (close > fastMA) and (open > fastMA) and (low > fastMA) ? col_grow_above : col_fall_above) : ((hist == 0.09) and (close < fastMA) and (open < fastMA) and (high < fastMA)? col_grow_below : col_fall_below) ), transp=0 )

plot(histplot)


Thats the code!

응답함

1
개발자 1
등급
(38)
프로젝트
50
10%
중재
1
0% / 0%
기한 초과
8
16%
무료
2
개발자 2
등급
(132)
프로젝트
178
39%
중재
4
25% / 50%
기한 초과
14
8%
무료
3
개발자 3
등급
(564)
프로젝트
845
73%
중재
15
53% / 13%
기한 초과
193
23%
무료
4
개발자 4
등급
(252)
프로젝트
462
26%
중재
139
20% / 60%
기한 초과
100
22%
무료
5
개발자 5
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
비슷한 주문
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code

프로젝트 정보

예산
30+ USD