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

工作已完成

执行时间3 天
客户反馈
Developer understands my requirement specification and also developed the product with accurate. Resolved all my queries is additional advantage
员工反馈
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.

指定

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

反馈

1
开发者 1
等级
项目
1
0%
仲裁
3
0% / 67%
逾期
0
空闲
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(6)
项目
6
17%
仲裁
1
0% / 0%
逾期
0
工作中
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(152)
项目
228
80%
仲裁
22
27% / 50%
逾期
11
5%
空闲
发布者: 24 文章, 1882 代码
6
开发者 6
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
7
开发者 7
等级
(298)
项目
477
40%
仲裁
105
40% / 24%
逾期
81
17%
已载入
发布者: 2 代码
8
开发者 8
等级
(4)
项目
9
11%
仲裁
11
18% / 64%
逾期
4
44%
空闲
9
开发者 9
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
相似订单
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
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
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
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
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
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b

项目信息

预算
30+ USD