İş tamamlandı

Tamamlanma süresi: 3 gün
Müşteri tarafından geri bildirim
Thank you
Geliştirici tarafından geri bildirim
Thank you for the project

Şartname

I want you to help me convert my pine script strategy to mql5 with 100% matching and i need the work in 3 days, i could not upload the file so i copy and pate the code below, also like i said earlier pinescript to mql5 must be 100% matching, my fixed budget is $30


//@version=5

// calc_on_every_tick=false és process_orders_on_close=false: 

// A script csak zárt gyertyákon fut le, és a megbízást a következő gyertya nyitóárán teljesíti (Valós viselkedés)

strategy("Combined: Squeeze & Gold [100% NO LOOKAHEAD]", overlay=true, initial_capital=10000, currency=currency.USD, pyramiding=5, calc_on_every_tick=false, process_orders_on_close=false)


// ==============================================================================

// 1. INPUTOK

// ==============================================================================

grp_sqz = "STRAT 1: Volatility Squeeze"

sqz_enable      = input.bool(true, "Squeeze Stratégia Engedélyezése", group=grp_sqz)

sqz_risk_pct    = input.float(2.5, "Fix Kockázat / Trade (%)", minval=0.1, group=grp_sqz) / 100

sqz_bb_len      = input.int(20, "BB Hossz", group=grp_sqz)

sqz_bb_mult     = input.float(2.0, "BB Szórás", group=grp_sqz)

sqz_atr_len     = input.int(14, "ATR Hossz", group=grp_sqz)

sqz_lookback    = input.int(100, "Squeeze Visszatekintés", group=grp_sqz)


sqz_trend_tf    = input.timeframe("D", "Trend EMA Idősík", group=grp_sqz)

sqz_trend_len   = input.int(50, "Trend EMA Hossz", group=grp_sqz)


grp_gold = "STRAT 2: Gold Momentum"

gold_enable     = input.bool(true, "Gold Stratégia Engedélyezése", group=grp_gold)

gold_risk_pct   = input.float(0.75, "Fix Kockázat / Trade (%)", minval=0.1, step=0.05, group=grp_gold) / 100

gold_ema_fast   = input.int(50, "Gyors EMA", group=grp_gold)

gold_ema_slow   = input.int(200, "Lassú EMA", group=grp_gold)

gold_atr_len    = input.int(14, "ATR Hossz", group=grp_gold)

gold_rsi_len    = input.int(14, "RSI Hossz", group=grp_gold)

gold_stop_mult  = input.float(2.0, "Kezdő Stop (ATR szorzó)", group=grp_gold)

gold_trail_mult = input.float(3.0, "Csúszó Stop (ATR szorzó)", group=grp_gold)


grp_time = "STRAT 2: Időzítés (New York Time)"

session_start   = input.int(3, "Session Kezdete (Óra)", group=grp_time)

session_end     = input.int(12, "Session Vége (Óra)", group=grp_time)

news_start      = input.int(8, "Hír Blackout Kezdete (Óra)", group=grp_time)

news_end        = input.int(10, "Hír Blackout Vége (Óra)", group=grp_time)


// ==============================================================================

// 3. INDIKÁTOROK (CSAK ZÁRT ADATOKRA)

// ==============================================================================

// 1. HTF EMA: [1] és lookahead_on a jövőbelátás kizárására

daily_ema = request.security(syminfo.tickerid, sqz_trend_tf, ta.ema(close, sqz_trend_len)[1], lookahead=barmerge.lookahead_on)


[sqz_middle, sqz_upper, sqz_lower] = ta.bb(close, sqz_bb_len, sqz_bb_mult)

sqz_atr = ta.sma(ta.tr, sqz_atr_len)

sqz_bandwidth = (sqz_upper - sqz_lower) / sqz_middle

sqz_avg_bw = ta.sma(sqz_bandwidth, sqz_lookback)

is_squeezed = sqz_bandwidth < (sqz_avg_bw * 1.1)


gold_ema50  = ta.ema(close, gold_ema_fast)

gold_ema200 = ta.ema(close, gold_ema_slow)

gold_rsi    = ta.rsi(close, gold_rsi_len)

gold_atr    = ta.sma(ta.tr, gold_atr_len)


ny_hour = request.security(syminfo.tickerid, timeframe.period, hour(time, "America/New_York"))

is_trading_session = ny_hour >= session_start and ny_hour < session_end

is_news_blackout = ny_hour >= news_start and ny_hour < news_end


// ==============================================================================

// 4. ÁLLAPOTKEZELÉS

// ==============================================================================

var float sqz_stop_level_price = na

var float gold_stop_level_price = na


bool active_sqz_trade = strategy.opentrades.entry_id(strategy.opentrades - 1) == "Squeeze Long"

bool active_gold_trade = strategy.opentrades.entry_id(strategy.opentrades - 1) == "Gold Long"


var int sqz_next_entry_time = 0

sqz_cooldown_ok = time >= sqz_next_entry_time


// ==============================================================================

// 5. STRATÉGIA 1: SQUEEZE

// ==============================================================================

sqz_trend_ok = close > daily_ema

sqz_breakout = close > sqz_upper


if sqz_enable and not active_sqz_trade and sqz_cooldown_ok

    if sqz_trend_ok and is_squeezed and sqz_breakout

        stop_dist = sqz_atr * 2.5

        if stop_dist > 0

            // Belépési pont számítása a ZÁRT ár alapján (következő nyitóár közelítése)

            entry_price = close

            stop_price = entry_price - stop_dist

            

            risk_per_share = entry_price - stop_price

            qty_size = (strategy.equity * sqz_risk_pct) / risk_per_share

            

            strategy.entry("Squeeze Long", strategy.long, qty=qty_size)

            strategy.exit("Exit Sqz", "Squeeze Long", stop=stop_price, comment="Sqz SL")

            

            sqz_stop_level_price := stop_price


// CSÚSZÓ STOP KEZELÉS (Squeeze)

if active_sqz_trade

    // NINCS JÖVŐBELÁTÁS: A csúszó stop az előző, már lezárt gyertya maximumához (high[1]) igazodik

    new_stop = high[1] - (sqz_atr[1] * 2.5)

    

    if not na(sqz_stop_level_price)

        sqz_stop_level_price := math.max(sqz_stop_level_price, new_stop)

    

    strategy.exit("Exit Sqz", "Squeeze Long", stop=sqz_stop_level_price, comment="Sqz Trail")

    

    // Zárás indikátor alapján

    if close < daily_ema

        strategy.close("Squeeze Long", comment="Sqz EMA Exit")

        sqz_next_entry_time := time + (12 * 60 * 60 * 1000)


// ==============================================================================

// 6. STRATÉGIA 2: GOLD

// ==============================================================================

gold_cond = is_trading_session and not is_news_blackout and close > gold_ema200 and gold_ema50 > gold_ema200 and gold_rsi < 70


if gold_enable and not active_gold_trade

    if gold_cond

        dist_to_stop = gold_atr * gold_stop_mult

        if dist_to_stop > 0

            entry_price = close

            stop_price = entry_price - dist_to_stop

            

            pos_size = (strategy.equity * gold_risk_pct) / dist_to_stop

            

            strategy.entry("Gold Long", strategy.long, qty=pos_size)

            strategy.exit("Exit Gold", "Gold Long", stop=stop_price, comment="Gold SL")

            

            gold_stop_level_price := stop_price


// CSÚSZÓ STOP KEZELÉS (Gold)

if active_gold_trade

    // NINCS JÖVŐBELÁTÁS: A csúszó stop az előző, már lezárt gyertya maximumához (high[1]) igazodik

    new_trail = high[1] - (gold_atr[1] * gold_trail_mult)

    

    if na(gold_stop_level_price)

        gold_stop_level_price := strategy.position_avg_price - (gold_atr * gold_stop_mult)


    gold_stop_level_price := math.max(gold_stop_level_price, new_trail)

    

    strategy.exit("Exit Gold", "Gold Long", stop=gold_stop_level_price, comment="Gold Trail")

    

    if close < gold_ema200

        strategy.close("Gold Long", comment="Gold: Trend Broken")

    else if gold_rsi > 85

        strategy.close("Gold Long", comment="Gold: RSI Hot")


// ==============================================================================

// 7. VIZUALIZÁCIÓ

// ==============================================================================

plot(gold_enable ? gold_ema50 : na, "Gold EMA 50", color=color.yellow)

plot(gold_enable ? gold_ema200 : na, "Gold EMA 200", color=color.white)

plot(active_gold_trade ? gold_stop_level_price : na, "Gold Hard Stop", color=color.red, style=plot.style_linebr)

plot(active_sqz_trade ? sqz_stop_level_price : na, "Sqz Hard Stop", color=color.blue, style=plot.style_linebr)



Yanıtlandı

1
Geliştirici 1
Derecelendirme
(143)
Projeler
152
41%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(18)
Projeler
26
0%
Arabuluculuk
4
0% / 100%
Süresi dolmuş
5
19%
Serbest
3
Geliştirici 3
Derecelendirme
(25)
Projeler
29
21%
Arabuluculuk
20
10% / 50%
Süresi dolmuş
8
28%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
5
Geliştirici 5
Derecelendirme
(1)
Projeler
2
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
6
Geliştirici 6
Derecelendirme
(19)
Projeler
23
9%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
1
4%
Yüklendi
7
Geliştirici 7
Derecelendirme
(3)
Projeler
7
14%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
2
29%
Çalışıyor
8
Geliştirici 8
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
10
Geliştirici 10
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
11
Geliştirici 11
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
1
100%
Serbest
12
Geliştirici 12
Derecelendirme
(539)
Projeler
816
62%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
23
3%
Serbest
Yayınlandı: 1 kod
13
Geliştirici 13
Derecelendirme
(16)
Projeler
35
23%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
2
6%
Çalışıyor
14
Geliştirici 14
Derecelendirme
(33)
Projeler
34
59%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
3%
Çalışıyor
Yayınlandı: 5 kod
15
Geliştirici 15
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
17
Geliştirici 17
Derecelendirme
(2)
Projeler
3
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(7)
Projeler
8
0%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
1
13%
Çalışıyor
20
Geliştirici 20
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
📢 Project Title:MT5 Expert Advisor (EA) – Advanced Renko Strategy (Full Automation) 📄 Project Description:I want to develop a fully automated MT5 Expert Advisor (EA) based on my existing TradingView Renko strategy.I already have a working Pine Script that generates Buy/Sell alerts with ATR and other logic. Now I need the same strategy to be fully converted into MT5 EA with built-in Renko logic (no external
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well
I need a MetaTrader 5 Expert Advisor for XAUUSD. Trend Filter : Trade only in the direction of the main trend. Patterns (Buy) : Hammer, Inverted Hammer, Doji, Bullish Harami, Bullish Engulfing + Green confirmation candle close above high. Patterns (Sell) : Shooting Star, Doji, Bearish Harami, Bearish Engulfing + Red confirmation candle close below low. Entry Rule : Wait for one Pullback candle (Red for Buy, Green for
I need any highly profitable MT5 robot which trades any sythetic indices on deriv very profitably. It should have good risk management and any good strategy The EA should have good risk management and can trade small accounts like 50 - 100USD Developers who have already made robots have higher chance
Mk 30+ USD
I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and ranging markets. It should analyze the market using indicators like Moving Averages, RSI, MACD, and
Simple MA indicator with buy and sell arrow with a push notification. Conditions for buy or sell should be when price breaks above or below the MA and then retraced back to the MA creating a HH/HL or LH/LL then the buy/sell signal arrow should be at the reversal candle that forms the HL/HH. And on indicator window1 RSI cross over MA and the RSI line
Hi, I hope you doing Greate, Let me share details , so the original EA already working but you can check and verify everything fine.First you verify that all original EA features are working correctly then add a user dashboard showing the number of detected zones, buy sell both none status, and an on off button. also ensure mitigated zones disappear properly and that trades follow the zone rules, and integrate the

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
from 1 to 3 gün