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

Job finished

Execution time 3 days
Feedback from customer
Developer understands my requirement specification and also developed the product with accurate. Resolved all my queries is additional advantage
Feedback from employee
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.

Specification

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

Responded

1
Developer 1
Rating
Projects
1
0%
Arbitration
3
0% / 67%
Overdue
0
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(6)
Projects
6
17%
Arbitration
1
0% / 0%
Overdue
0
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(152)
Projects
228
80%
Arbitration
22
27% / 50%
Overdue
11
5%
Free
Published: 24 articles, 1882 codes
6
Developer 6
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
7
Developer 7
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
8
Developer 8
Rating
(4)
Projects
9
11%
Arbitration
11
18% / 64%
Overdue
4
44%
Free
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Similar orders
Gold robot 3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot 3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
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

Project information

Budget
30+ USD