Convert TradingView simple indicator to MT5 - source code below

İş tamamlandı

Tamamlanma süresi: 4 gün
Geliştirici tarafından geri bildirim
Very good customer, I highly recommend him

İş Gereklilikleri

I just need this relative volatility index  indicator  on TradingView  converted to an MT5 indicator.  The code is below

Project shouldnt take very long.  

Source code is below.    Please only apply if you can get this done in 1 day or less

THE ONLY MA VALUE NEEDED IS   SMA  -   I DONT NEED THE REST  (BOLLINGER, EMA, VMA, ETC)

will need there to be  UPPER BAND and LOWER BAND lines  that can be configured to set values like  70/30

the final result should look something like  this


 


and   here are settings from tradingview

 




//@version=5

indicator(title="Relative Volatility Index", shorttitle="RVI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
length = input.int(10, minval=1)
offset = input.int(0, "Offset", minval = -500, maxval = 500)
maTypeInput = input.string("SMA", title="MA Type", options=["SMA", "Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"], group="MA Settings")
maLengthInput = input.int(14, title="MA Length", group="MA Settings")
bbMultInput = input.float(2.0, minval=0.001, maxval=50, title="BB StdDev", group="MA Settings")
src = close
len = 14
stddev = ta.stdev(src, length)
upper = ta.ema(ta.change(src) <= 0 ? 0 : stddev, len)
lower = ta.ema(ta.change(src) > 0 ? 0 : stddev, len)
rvi = upper / (upper + lower) * 100
ma(source, length, type) =>
    switch type
        "SMA" => [ta.sma(source, length), na, na]
        "Bollinger Bands" =>
            [middleValue, highValue, lowValue] = ta.bb(source, length, bbMultInput)
            [middleValue, highValue, lowValue]
        "EMA" => [ta.ema(source, length), na, na]
        "SMMA (RMA)" => [ta.rma(source, length), na, na]
        "WMA" => [ta.wma(source, length), na, na]
        "VWMA" => [ta.vwma(source, length), na, na]

[rviMA,highValue,lowValue] = ma(rvi, maLengthInput, maTypeInput)

h0 = hline(80, "Upper Band", color=#787B86)
hline(50, "Middle Band", color=color.new(#787B86, 50))
h1 = hline(20, "Lower Band", color=#787B86)
fill(h0, h1, color=color.rgb(126, 87, 194, 90), title="Background")

plot(rvi, title="RVI", color=#7E57C2, offset = offset)
plot(rviMA, "RVI-based MA", color=color.yellow, offset = offset)

bbUpper = plot(highValue, title="Upper Bollinger Band", color=color.green)
bbLower = plot(lowValue, title="Lower Bollinger Band", color=color.green)
fill(bbUpper, bbLower, color = color.new(color.green, 90), title="Bollinger Bands Background Fill")

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(86)
Projeler
118
69%
Arabuluculuk
5
80% / 0%
Süresi dolmuş
11
9%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(268)
Projeler
396
27%
Arabuluculuk
38
39% / 50%
Süresi dolmuş
1
0%
Serbest
3
Geliştirici 3
Derecelendirme
(264)
Projeler
593
35%
Arabuluculuk
64
20% / 58%
Süresi dolmuş
147
25%
Serbest
Yayınlandı: 1 makale, 22 kod
4
Geliştirici 4
Derecelendirme
(22)
Projeler
24
8%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
6
Geliştirici 6
Derecelendirme
(2)
Projeler
4
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
hey developers its a fix 30$ job because it takes less than 5 minutes, i only need a source code for a progress bar and gauge bar, i want to impellent in my code. i have a for loop that i want to keep update it with these 2 objects. i mentioned the requirement in each photo please check it. its super easy and fast for someone who already done it, if you didn't do it before don't bother to request . job will be
1. The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I’m looking for a highly profitable, robust EA for MT5. Targets 3% profit/month with max 1% drawdown Trades 1 signal pair 1+ year stable backtesting "Retard proof" execution Price isn't an issue. Must provide demo for testing + proof of performance Requirements: Demo version for evaluation Source code (.mq5) Serious developers only Only serious developer
Tôi muốn EA siêu lợi nhuận, giá cả không thành vấn đề, chỉ cần bạn có thể chứng minh được, và gửi tôi bản demo để tôi kiểm tra bạn hãy chứng minh bản thân mình trước. EA cần backtest 1 năm hoạt động ổn định
Im looking for an EA with Code. An EA that can capture big impulsive move on any instrument. Open trades only with multiple confirmation and a very high probability setup intraday or swing trading That can do top down/multi time frame analysis like D1 H4 H1 and then implement the trade on shorter time frame to catch the moves from the start. As i want to catch only the impulsive moves so there must be a Volume
Hi I’m looking for an experienced developer to build an ea,the strategy is based on trading XAU and possibly BTC that can execute trades on 1 and 5 minute timeframes using a combination of EMA’s, stochastic Oscillators and a 4-6 max order grid with loss cap if the opening position goes into drawdown. I would like someone experienced who could also add value and implement there ideas as I have no programming
I am looking for an experienced MT5 Expert Advisor developer. Goal: Create a custom MT5 EA that replicates the behavior of a profitable copy trading strategy (behavior-based, not code copying). Specifications: - Symbol: XAUUSD only - Max 1 trade at a time - Fixed risk per trade: 1% - Trades per week: 2–4 - Trading days: Monday to Thursday only - No trading during high-impact USD news (news filter required) - No
So I want to buy fully functional EA that is retard proof and makes money. on a signal trading pair need to make in a singal moth at least 3% profit with max 1% equity drowdown. I don't need screenshots i need demo version
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteri *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid
I need a custom MT5 Expert Advisor named “Dark Venus”. Strategy details: - Timeframe: M5 / M15 - Market: Forex (all major pairs) - Strategy type: Trend + Scalping - Indicators: • EMA (Fast & Slow) • RSI filter • ATR for Stop Loss & Take Profit - Trades only during low-spread sessions (London & New York) Trade Rules: - Buy when fast EMA crosses above slow EMA + RSI confirmation - Sell when fast EMA crosses below

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
to 1 gün