Specification
i looking for someone, who can create EA based on RSI * VWAP calculation and pinescript code:
![]()
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © Xaviz
//@version=4
strategy("RSI-VWAP Indicator %", overlay = false, pyramiding = 5, initial_capital = 100000, default_qty_value = 0, commission_value = 0.04, max_labels_count = 500)
//█ Initial inputs
StartDate = timestamp( "01 Jan 2000 00:00 +0000")
Spot = input(false, "Spot Trading (no leverage)", input.bool)
testPeriodStart = input(StartDate, "Start of trading", input.time)
Length = input(16, "RSI/VWAP Length", input.integer, minval = 1)
OverSold = input(18, "RSI/VWAP Oversold", input.float, minval = 0, maxval = 100)
OverBought = input(80, "RSI/VWAP Overbought", input.float, minval = 0, maxval = 100)
EquityPercent = input(25, "% Equity on Longs", input.float, minval = 0, maxval = 100)
PositionPercent = input(50, "% Position on Closings", input.float, minval = 0, maxval = 100)
Risk = input(15, "% Drawdown allowed", input.float, minval = 0, maxval = 100)
MarginRate = input(1.0, "% Margin Rate", input.float, minval = 0) / 100
// RSI with VWAP as source
RsiVwap = rsi(vwap(close), Length)
//█ Plotting
// Rsi-vwap Line Color
RsiVwapLineColor = RsiVwap > OverBought ? color.new(color.red, 50) :
RsiVwap < OverSold ? color.new(color.lime, 50) :
color.new(color.blue, 50)
// Rsi-vwap Fill Color
FillColorOverBought = RsiVwap > OverBought ? color.new(color.red, 75) : na
FillColorOverSold = RsiVwap < OverSold ? color.new(color.lime, 75) : na
// Overbought/Oversold Color
OboughtOsoldColor = color.new(color.gray, 50)
// Rsi-vwap plot
RsiVwapLine = plot(RsiVwap, "RSI/VWAP", RsiVwapLineColor, linewidth = 2)
// Plot of the top line
OverBoughtLine = plot(OverBought, "Overbought", OboughtOsoldColor)
// Plot of the bottom line
OverSoldLine = plot(OverSold, "Oversold", OboughtOsoldColor)
// Fill between plots
fill(RsiVwapLine, OverBoughtLine, FillColorOverBought)
fill(RsiVwapLine, OverSoldLine, FillColorOverSold)
// Information panel
Equity = strategy.equity
Balance = strategy.initial_capital + strategy.netprofit
RealizedPnL = strategy.netprofit
Floating = strategy.openprofit
PercentFloating = (Floating / strategy.initial_capital) * 100
PercentRealizedPnL = (RealizedPnL / strategy.initial_capital) * 100
URealizedPnL = Floating + RealizedPnL
PercentURealizedPnL = ((URealizedPnL) / strategy.initial_capital) * 100
PositionSize = strategy.position_size * strategy.position_avg_price
Cash = Spot ? max(0, Balance - PositionSize) : max(0, Balance - (PositionSize * MarginRate))
Leverage = PositionSize / Balance
Margin = Spot ? 0 : PositionSize * MarginRate
var label labelEquity = na
labelEquity := label.new(bar_index, 50, style = label.style_label_left, textcolor = #9598a1, color = #131722, textalign = text.align_left, size = size.normal,
text = "Position Size: " + tostring(strategy.position_size, '#.########') + " " + syminfo.basecurrency + "\n" +
"Cash: " + tostring(Cash, '#.##') + " " + syminfo.currency + "\n" +
"Margin: " + tostring(Margin, '#.##') + " " + syminfo.currency + "\n" +
"Floating: " + tostring(Floating, '#.##') + " " + syminfo.currency + " / "
+ tostring(PercentFloating, '#.##') + " %" + "\n" +
"Realized PnL: " + tostring(RealizedPnL, '#.##') + " " + syminfo.currency + " / "
+ tostring(PercentRealizedPnL, '#.##') + " %" + "\n" +
"Unrealized PnL: " + tostring(URealizedPnL, '#.##') + " " + syminfo.currency + " / "
+ tostring(PercentURealizedPnL, '#.##') + " %")
// Deleting previous labels
label.delete(labelEquity[1])
//█ Backtest & Alerts
// Quantities
QuantityOnLong = Spot ? (EquityPercent / 100) * ((strategy.equity / close) - strategy.position_size) :
(EquityPercent / 100) * (strategy.equity / close)
QuantityOnClose = (PositionPercent / 100) * strategy.position_size
// Buy/Long shapes
var bool long = na
if crossover(RsiVwap[1], OverSold) and (time > testPeriodStart)
label.new(bar_index, OverSold, tostring(Leverage, "#.#") + "X", textcolor = Spot ? na : #9598a1, color = color.new(color.lime, 25), style = label.style_diamond, size = size.tiny)
long := true
// Sell/Closing shapes
if crossunder(RsiVwap[1], OverBought) and (time > testPeriodStart) and not na(long)
label.new(bar_index, OverBought, color = color.new(color.red, 25), style = label.style_diamond, size = size.tiny)
// Alerts
string BuyMessage = "q=" + tostring(EquityPercent) + "% t=market"
string SellMessage = "q=" + tostring(PositionPercent) + "% t=market"
// (copy and paste on the alert window a message similar to this)
// {{strategy.order.action}} @ {{strategy.order.price}} | e={{exchange}} a=account s={{ticker}} b={{strategy.order.action}} {{strategy.order.alert_message}}
// Market orders on long
if crossover(RsiVwap, OverSold) and (time > testPeriodStart)
strategy.entry("LONG", strategy.long, qty = QuantityOnLong, alert_message = BuyMessage)
// Market orders on close
if crossunder(RsiVwap, OverBought)
strategy.close("LONG", qty_percent = PositionPercent, comment = "CLOSE", alert_message = SellMessage)
// Max Drawdown allowed percent
strategy.risk.max_drawdown(Risk, strategy.percent_of_equity)
// by XaviZ
Responded
1
Rating
Projects
19
11%
Arbitration
2
50%
/
50%
Overdue
0
Working
2
Rating
Projects
6
17%
Arbitration
0
Overdue
0
Free
3
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
0
Free
4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Rating
Projects
59
27%
Arbitration
25
20%
/
52%
Overdue
10
17%
Working
6
Rating
Projects
415
38%
Arbitration
86
44%
/
19%
Overdue
70
17%
Busy
Similar orders
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
A calculator to determine the break even and profit level of any number of scale trades.
30 - 400 USD
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Trend Following with ML
50 - 200 USD
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Next Candle Probability
50 - 150 USD
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Profitable EA HFT
50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
у нас есть стратегия, нам нужно написать mql5-код для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена после согласования цены
A liquidation strategy - smc trap
100 - 170 USD
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Project information
Budget
30 - 50 USD
VAT (23%):
6.9
- 11.5
USD
Total:
36.9
- 61.5
USD
For the developer
27
- 45
USD