Vdub Fx SnipperVX3

MQL4 专家 脚本

指定

I copied and pasted a coding strategy from www.tradingview.com. I fix all the corrections in the coding when making it as an expert advisor. When I compiled the file, there were two errors, 2 errors which I don't know how to fix but if an expert can do it then it won't take him 2 seconds. Please help me get this file completed and ready to be used by millions of traders like me. It will also benefit you also. It's only two errors I'm sure it won't take long. The two errors are:

 'len' - declaration without type Vdub FX SniperVX3 .mq4 15 1

 ')' - unexpected end of program Vdub FX SniperVX3 .mq4 132 42

That's the only two errors, and it's annoying me I can't fix it. Please if anyone can fix it and send it back to me so I can install it and see how it works and also put it out for everyone. Thank you so much, pease e-mail me if any questions kevinmanrriquee@gmail.com, I respond very quickly to emails. Thank you so much, everyone!

 The person that created this amazing strategy is Vdubus and his website is www.vdubus.co.uk, he's an amazing guy but I couldn't reach him because I'm sure he has a very busy 

 

The one I made and try to fix is in the bottom attached, just need to download it and open it. But the original coding will be under here:  

 strategy(title='Vdub FX SniperVX3 / Strategy  v3', shorttitle='Vdub_FX_SniperVX3_Strategy', overlay=true, pyramiding=0, initial_capital=1000, currency=currency.USD)


//Candle body resistance Channel-----------------------------//

len = 34

src = input(close, title="Candle body resistance Channel")

out = sma(src, len)

last8h = highest(close, 13)

lastl8 = lowest(close, 13)

bearish = cross(close,out) == 1 and falling(close, 1)

bullish = cross(close,out) == 1 and rising(close, 1)

channel2=input(false, title="Bar Channel On/Off")

ul2=plot(channel2?last8h:last8h==nz(last8h[1])?last8h:na, color=black, linewidth=1, style=linebr, title="Candle body resistance level top", offset=0)

ll2=plot(channel2?lastl8:lastl8==nz(lastl8[1])?lastl8:na, color=black, linewidth=1, style=linebr, title="Candle body resistance level bottom", offset=0)

//fill(ul2, ll2, color=black, transp=95, title="Candle body resistance Channel")


//-----------------Support and Resistance 

RST = input(title='Support / Resistance length:', type=integer, defval=10) 

RSTT = valuewhen(high >= highest(high, RST), high, 0)

RSTB = valuewhen(low <= lowest(low, RST), low, 0)

RT2 = plot(RSTT, color=RSTT != RSTT[1] ? na : red, linewidth=1, offset=+0)

RB2 = plot(RSTB, color=RSTB != RSTB[1] ? na : green, linewidth=1, offset=0)


//--------------------Trend colour ema------------------------------------------------// 

src0 = close, len0 = input(13, minval=1, title="EMA 1")

ema0 = ema(src0, len0)

direction = rising(ema0, 2) ? +1 : falling(ema0, 2) ? -1 : 0

plot_color = direction > 0  ? lime: direction < 0 ? red : na

plot(ema0, title="EMA", style=line, linewidth=1, color = plot_color)


//-------------------- ema 2------------------------------------------------//

src02 = close, len02 = input(21, minval=1, title="EMA 2")

ema02 = ema(src02, len02)

direction2 = rising(ema02, 2) ? +1 : falling(ema02, 2) ? -1 : 0

plot_color2 = direction2 > 0  ? lime: direction2 < 0 ? red : na

plot(ema02, title="EMA Signal 2", style=line, linewidth=1, color = plot_color2)


//=============Hull MA//

show_hma = input(false, title="Display Hull MA Set:")

hma_src = input(close, title="Hull MA's Source:")

hma_base_length = input(8, minval=1, title="Hull MA's Base Length:")

hma_length_scalar = input(5, minval=0, title="Hull MA's Length Scalar:")

hullma(src, length)=>wma(2*wma(src, length/2)-wma(src, length), round(sqrt(length)))

plot(not show_hma ? na : hullma(hma_src, hma_base_length+hma_length_scalar*6), color=black, linewidth=2, title="Hull MA")


//============ signal Generator ==================================//

Piriod=input('720')

ch1 = security(tickerid, Piriod, open)

ch2 = security(tickerid, Piriod, close)

longCondition = crossover(security(tickerid, Piriod, close),security(tickerid, Piriod, open))

if (longCondition)

    strategy.entry("BUY", strategy.long)

shortCondition = crossunder(security(tickerid, Piriod, close),security(tickerid, Piriod, open))

if (shortCondition)

    strategy.entry("SELL", strategy.short)


///////////////////////////////////////////////////////////////////////////////////////////

 

 

 

反馈

1
开发者 1
等级
(2)
项目
2
0%
仲裁
13
8% / 92%
逾期
1
50%
空闲
2
开发者 2
等级
(1)
项目
2
0%
仲裁
3
0% / 100%
逾期
0
空闲
相似订单
Project Overview: I am looking for a highly experienced MetaTrader 4 (MQL4) developer to build a sophisticated automated trading system. This is not a standard grid bot; it requires complex trade management, dynamic exposure rebalancing, and a custom "Salami" liquidation module for partial loss mitigation . Key Features to Implement: Virtual Grid & Dynamic Trend: Price-action-based grid triggers without pending
Spread filter: Do not trade if spread > 35 points Retest tolerance: 5 pips from breakout level Break structure defined as recent swing high / swing low on M5 Project Description: Project Description: I am looking for an experienced MT5 developer to build a professional Expert Advisor for XAUUSD based on a structured trend-following breakout strategy. This EA must be built with strict risk management rules (no
ищу разработчика для создания мультивалютного сетевого советника (желательно говорить на руском языке - для лучшего понимания моих технических задач) прошу обратить внимание я не торгуюсь в тех задание будет всё указанно и оговоренная сумма подразумевает выполнение задание а не торговля
hi i am looking for profitable ea which can generate 4-5% a month with stable drawdown . no martingales or grid or dca method will be used ,should be based on price action with tp and sl
We are looking for a professional developer or trader who already has a proven profitable EA or strategy based mainly on price action logic. Important requirements: No Martingale No Grid No Micro-scalping Avoid heavy indicator-based strategies Strategy should be based mainly on price behavior / market structure We are not looking for aggressive systems that promise unrealistic returns. Our focus is on stable
I run an ea it makes good profits bit that one bad grid blows up the account. I want an EA which runs parallel to it which can intelligently close bad trades or grids. It shouldn't close recoverable trades but close very bad entries and grids. It can even close with hedging. The goal recover max and also not blow up the account
I need a bot that open a trade when I click on a button. the only use case is for prop firm to see that I am operating from a bot. It need only the lot size and direction input
I am looking for an expert MQL5 developer to build a high-precision Hedging System between two different MT5 brokers running on the same local PC. Core Objective: Execute opposite (inverse) trades between a Master and Slave account (e.g., Master BUY = Slave SELL, Master SELL = Slave BUY). The Challenge: Standard "Trade Copiers" are insufficient as they cannot prevent single-legged exposure when using manual trading
Aranda 30+ USD
- Project Overview: A brief description of the project’s purpose and the main problem it solves. - Core Features: List the essential functionalities required (e.g., user registration, payment gateway integration, real-time data tracking). - Technical Stack Preferences: Specify if you require a particular programming language, framework, or platform (e.g., Python/Django, React Native, MQL5). - User Interface (UI)
I want robot that can help me trade and make some money so that I can be able to learn from it while I'm still in depot account now.Is how it gonna help me with some money

项目信息

预算
10 USD