Convert TradingView simple indicator to MT5 - source code below

工作已完成

执行时间4 天
员工反馈
Very good customer, I highly recommend him

指定

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")

反馈

1
开发者 1
等级
(87)
项目
121
68%
仲裁
5
80% / 0%
逾期
12
10%
空闲
2
开发者 2
等级
(272)
项目
401
27%
仲裁
39
41% / 49%
逾期
1
0%
空闲
3
开发者 3
等级
(265)
项目
596
35%
仲裁
64
20% / 58%
逾期
147
25%
工作中
发布者: 1 文章, 22 代码
4
开发者 4
等级
(22)
项目
24
8%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
6
开发者 6
等级
(2)
项目
4
0%
仲裁
0
逾期
0
空闲
相似订单
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
I need an Expert Advisor for MetaTrader 5 (MQL5) to trade XAUUSD based on a simple price movement cycle. Strategy logic: • The EA opens a Buy and a Sell at the same time (one pair per cycle). • Only ONE Sell position must exist at any time. • Every Buy must be opened together with a Sell. Cycle rules: • Step movement = 10 USD in gold price. • CycleEntryPrice = the OPEN PRICE of the last cycle BUY order. • If price
I am looking for a professional MQL5 developer to build a MetaTrader 5 Expert Advisor from scratch. The EA will be called LadyKiller EA. It must trade only the following instruments: • XAUUSD (Gold) • US30 / Dow Jones Index Requirements: • Strong and reliable buy and sell entry logic • Stop Loss and Take Profit system • Risk management (lot size control) • Maximum trades protection • Drawdown protection • Trend
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type

项目信息

预算
30+ USD
截止日期
 1 天