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
무료
비슷한 주문
Hello, I need a professional MT5 Expert Advisor for currency trading. PAIRS: EURUSD, GBPUSD, USDJPY, USDCHF TIMEFRAME: M15 STRATEGY: - EMA 8 cross EMA 21 (entry signal) - EMA 50 for trend filter - RSI 14 confirmation (Buy > 52, Sell < 48) - No trade if RSI > 75 or < 25 SESSION: London + New York only 07:00 to 17:00 GMT No weekend trading TRADE MANAGEMENT: - Lot size: 0.06 - Take Profit: $15 per trade - Stop Loss: $8
Knight king 30+ USD
1. The bot must start when the markets start. 2.Then his capacity must be $1000. 3.and his trades must start at 0.04 slot and it must open up most available trades
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
I am looking to purchase an existing Multi-Currency MT5 Expert Advisor that is capable of trading multiple currency pairs simultaneously . Please only contact me if you already have a ready-made EA and are willing to sell the full system including the complete source code . ⚠️ Important: If you do not own the EA, do not have the source code, or are planning to ask me build something from scratch, please do
I want to design an EA that can identify key Supports and Resistances. This should be able to work on any timeframe from 1 minute to 1 hour (i.e 1 minute, 5 minutes, 15 minutes and 1 hour time frames.) The EA should be able to determine a Fibonacci retracement from a support and the next resistance point in an uptrend and vice versa (i.e the EA should be able to determine a Fibonacci retracement from a resistance and
Product Requirements Document (PRD) Project Title: Liquidity Sniper Semi-EA (Fibonacci & SMC Based) Platform: MetaTrader 5 (MQL5) Target Asset: XAUUSD (High Volatility) / M5 Timeframe 1. EA Operating Concept (Semi-Automated) Human-Machine Collaboration: The trader manually draws a standard Fibonacci Retracement object on the M15 chart to define the market structure (setting the 1.0 and 0.0 anchor points). EA's Role
Looking for a good EA 30 - 100 USD
Hello guys,i am looking for a good already established ea,that doesnt blow account,only give 5 percent per month with maximum 10 percent drowdown,I need prove,i need to backtest by myself,after that i select the developer
Short Description: I am seeking an experienced MQL4 developer to build a high-frequency Asymmetric Salami Grid EA . This is a sophisticated volatility harvester, not a basic martingale. Key Features to Implement: Virtual Grid Execution: No pending orders; all logic handled in-memory via OnTick . Asymmetric Lot Sizing: Trend-side degression vs. Counter-trend progression . Salami Partial Liquidation: XX% of profits
I would like to convert my MT4 EA to MT5 EA, it should have all the default indicators in it but can remove the custom indicators, it should have the same logic as MT4 EA no chnages at all in the logic
Description: I am looking for an experienced MQL4 developer to create an Expert Advisor (EA) for trading DAX (GER40) based on the confluence of two indicators. I already have both indicators in .ex4/.mq4 format. Key Requirements: Indicators: Use "PivotPoints-All-In-One" and "shved_supply_and_demand" (via iCustom). Entry Logic: Open BUY/SELL only when a Pivot level (PP, S1, R1 etc.) is located inside a "Verified" or

프로젝트 정보

예산
10 USD