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

Spécifications

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!

Répondu

1
Développeur 1
Évaluation
(38)
Projets
50
10%
Arbitrage
1
0% / 0%
En retard
8
16%
Gratuit
2
Développeur 2
Évaluation
(128)
Projets
162
36%
Arbitrage
4
25% / 50%
En retard
13
8%
Travail
3
Développeur 3
Évaluation
(549)
Projets
826
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Travail
4
Développeur 4
Évaluation
(236)
Projets
440
26%
Arbitrage
125
21% / 57%
En retard
96
22%
Travail
5
Développeur 5
Évaluation
(563)
Projets
932
47%
Arbitrage
302
59% / 25%
En retard
124
13%
Occupé
Commandes similaires
Build this Expert Advisor (EA) 1. Risk Management Risk per Trade : The EA will calculate the lot size based on the risk percentage (1-2% of the account balance). This will be a customizable input. Stop Loss & Trailing Stop : The EA will place a stop loss at a defined level (based on strategy parameters like ATR, recent support/resistance, etc.) and will implement a trailing stop to lock in profits as the trade moves
Hello, I have a physically trading keyboard and i want to connect it with tradelocker, mt4,mt5 and ctrader. People need to be able to open and close a position with the keyboard really fast. i need it on macos, windows and linux. (desktop) My competition is: www.magickeys.trade My goal is to be the number 1 to sell the keyboards + software. When people order a tradingkeyboard they will get a mail after the purchase
Hello, I have built and EA with FX Dreema ( https://fxdreema.com/ ) that uses the maximum and minimum vales of the previous candle to entry on a trade. After that, I put a Stop Loss and Trailing Stop on that order, and goes as the market follows up and down. First, I recognize what I'm asking in this project may not be possible. I know about the differences in results comparing Strategy Tester with Real and Live
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc
This Bot will work on strategy which works using moving averages,RSI and candle stick pattern and what I want is that trade will execute when setup will form on both 30 min and 1 hr time frame trade will execute strategy needs all 4 parameters to be on right calculations to execute trade and I want some options where I can select risk to reward ratio to back test this strategy and some other parameters

Informations sur le projet

Budget
30+ USD
TVA (21%): 6.3 USD
Total: 36.3 USD
Pour le développeur
27 USD