Converting Pine script (Tradingview) into Expert advisor (Trading robot) in MT5

Lavoro terminato

Tempo di esecuzione 3 giorni
Feedback del dipendente
It's been a pleasure to work on your project. I'll be happy to help you. Thanks for your confidence and I hope the EA brings you great results. =It's been a pleasure working on your project.
Feedback del cliente
Developer understands my requirement specification and also developed the product with accurate. Resolved all my queries is additional advantage

Specifiche

Hi, I have a Pine Script which got backtested in Trading View based on that i need a EA bot in MT5.

//@version=5
strategy("Wyckoff Springs & Upthrusts Strategy [Auto PipSize, Fixed Lot 1]", overlay = true, default_qty_type = strategy.fixed, default_qty_value = 200)

type piv
    float p
    int b
    bool act = true
    int c = 0

// Inputs
pivlen      = input.int(6, 'Pivot Length')
reqVol      = input.bool(false, 'Require Volume Confirmation')
volThresh   = input.float(1.5, 'Volume Threshold')
rangePeriod = input.int(20, 'Trading Range Period')
tpPips      = input.int(50, "Take Profit (Pips)")

// === Auto Detect Pip Size ===
var float pipSize = na

if (syminfo.type == 'forex')
    pipSize := 0.0001
else if (syminfo.ticker == 'XAUUSD' or syminfo.ticker == 'GOLD' or syminfo.ticker == 'XAUUSDtv')
    pipSize := 0.1
else if (syminfo.type == 'index' or syminfo.type == 'crypto')
    pipSize := 1.0  // Adjust if needed
else
    pipSize := 0.01  // Default fallback

// Optional: Display pip size
label.new(bar_index, high, "PipSize: " + str.tostring(pipSize), yloc=yloc.abovebar, color=color.new(color.blue, 85))

// === Core Logic ===
var longPivs  = array.new<piv>()
var shortPivs = array.new<piv>()

pl          = ta.pivotlow(pivlen, pivlen)
ph          = ta.pivothigh(pivlen, pivlen)
avgVol      = ta.sma(volume, rangePeriod)
meetsThresh = volume >= avgVol * volThresh
highRange   = ta.highest(rangePeriod)
lowRange    = ta.lowest(rangePeriod)

// SPRING DETECTION (LONG)
if not na(pl)
    longPivs.unshift(piv.new(low[pivlen], bar_index[pivlen]))

for p in longPivs
    if p.act
        if low < p.p and close > p.p and p.c <= 3 and low <= lowRange and (reqVol ? meetsThresh : true)
            springLow = low
            tpLevel = close + (tpPips * pipSize)
            strategy.entry("Spring Long", strategy.long)
            strategy.exit("TP/SL Long", "Spring Long", stop=springLow, limit=tpLevel)
            p.act := false
        else if low < p.p
            p.c += 1

// UPTHRUST DETECTION (SHORT)
if not na(ph)
    shortPivs.unshift(piv.new(high[pivlen], bar_index[pivlen]))

for p in shortPivs
    if p.act
        if high > p.p and close < p.p and p.c <= 3 and high >= highRange and (reqVol ? meetsThresh : true)
            upthrustHigh = high
            tpLevel = close - (tpPips * pipSize)
            strategy.entry("Upthrust Short", strategy.short)
            strategy.exit("TP/SL Short", "Upthrust Short", stop=upthrustHigh, limit=tpLevel)
            p.act := false
        else if high > p.p
            p.c += 1

// Plotting Trading Range
plot(lowRange, 'Range Low', color = color.red)
plot(highRange, 'Range High', color = color.green)



Is anyone helped me to provide this requirement?

How to know this script converted as same means test for last month 24-Feb-2025 to 24-Mar-2025 in Gold commodity on 5M it's will give $12K as P/L

Con risposta

1
Sviluppatore 1
Valutazioni
Progetti
1
0%
Arbitraggio
3
0% / 67%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(6)
Progetti
6
17%
Arbitraggio
0
In ritardo
0
In elaborazione
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(152)
Progetti
228
80%
Arbitraggio
22
27% / 50%
In ritardo
11
5%
Gratuito
Pubblicati: 24 articoli, 1882 codici
6
Sviluppatore 6
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
7
Sviluppatore 7
Valutazioni
(298)
Progetti
478
40%
Arbitraggio
105
40% / 24%
In ritardo
82
17%
Caricato
Pubblicati: 2 codici
8
Sviluppatore 8
Valutazioni
(4)
Progetti
9
11%
Arbitraggio
11
18% / 64%
In ritardo
4
44%
Gratuito
9
Sviluppatore 9
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
PROJECT: Automatic Gold and Forex Trading Robot for MetaTrader 5 (MQL5) I want a fully automated Expert Advisor (EA) for MetaTrader 5 that can analyze the market and automatically open, manage and close trades on Gold and selected Forex currency pairs. TRADING INSTRUMENTS Gold: XAUUSD Forex: EURUSD, GBPUSD and USDJPY, subject to broker availability. Allow the user to enable or disable each trading symbol. Support
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you

Informazioni sul progetto

Budget
30+ USD