Vdub Fx SnipperVX3

指定

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
類似した注文
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
Dear Developer, I am looking to hire an experienced Meta Trader4 and 5 (MQL5) Expert Advisor developer to build a custom Expert Advisor for XAUUSD (Gold). This project is based on a structured swing trading system using market structure analysis and multi-timeframe confirmation. PROJECT OVERVIEW The Expert Advisor must be designed to trade XAUUSD using the following multi-timeframe approach: • Daily (D1): Optional
Requirements Specification: Custom Trading Robot (Expert Advisor) I am looking for a qualified developer to design and build a fully automated trading robot (Expert Advisor). The system should be reliable, beginner-friendly, and capable of running with minimal manual input once installed. 1. General Purpose The robot should automatically analyze the market and execute trades. It must work on MetaTrader 4 or
Hi, I need a professional MetaTrader 5 Expert Advisor (Pure MQL5, no Python) with a built-in GUI panel and ultra-fast OnTick execution. The strategy is based only on the last two digits after the decimal point and must work in real time with high accuracy. ### Main Requirements * Pure MQL5 Expert Advisor. * Real-time OnTick processing. * Support XAUUSD and any MT5 symbol. * No fixed price levels; price must be
I am looking for an experienced MQL5 developer to build a robust, high performance Expert advisor (EA) designed specifically for passing and managing funded accounts.The primary focus is to make some good money and also focus on risk management, consistent equity growth
Expert Advisor (EA) Requirements – MT5 (MQL5) Project Overview Develop an automated Expert Advisor (EA) for MetaTrader 5 based on EMA crossover signals combined with strict risk management and trade management principles. The EA must be optimized for Forex pairs and indices and should operate automatically without manual intervention. Entry Conditions Buy Setup Fast EMA crosses above Slow EMA. Current candle closes
I am in need of a profitable scalping EA for gold. No grid or martingale strategy pls. If you have one fully developed and working, pls reach out. You should be able to provide trial version
Simple MT5 indicator showing Friday close to Monday open gap on chart. Features: · Draw horizontal line at Friday close · Label showing gap size in pips · Toggle on/off
Hi. I have the statement of the Ea live results that I want to have. Please check this video from YouTube and the statement to see how the robot is working every day. I want a robot like this or better. The robot has 1-4% drawdown and 300-500% profit per month The robot works with ICMarkets Global 1:500 leverage and FPMarkets. The robot works between 10-30 minutes London session. Also the Robot can start trading from
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit

プロジェクト情報

予算
10 USD