Convert tradingview indicator onto an EA

MQL5 지표 전문가

작업 종료됨

실행 시간 2 일
고객의 피드백
Smart and helpful developer - I would highly recommend
피고용인의 피드백
verry good

명시

Hi

I need someone to create an EA based on a tradingview indicator (trendicator)

The EA would trade based on the indicator 

This is the open source script

//@version=6
indicator('Trendicator', overlay = true)

// Input options for multi-timeframe
EMA1 = input.int(8, 'Quick Moving Average Length')
Sour = input(close, 'Quick Moving Average Source')
EMA2 = input.int(21, 'Slow Moving Average Length')
Colo = input.bool(true, "Use Crossover Colours")
Bool = input.bool(false, "Labels")

timeframe = input.timeframe('', title = 'Chart Timeframe (leave empty for current)')
timeframeSource = input.timeframe('', title = 'Moving Average Timeframe (leave empty for current)')

// Define MA calculations with multi-timeframe support
// Slow MAs (using close and open respectively)
EMABuy  = ta.sma(request.security(syminfo.tickerid, timeframe, close), EMA2)
EMASell = ta.sma(request.security(syminfo.tickerid, timeframe, open), EMA2)
// Quick MA (using the chosen source)
EMA = ta.sma(request.security(syminfo.tickerid, timeframeSource, Sour), EMA1)

// Define colors (initialize)
var col1 = color.new(color.green, 0)
var col2 = color.new(color.red, 0)

// --- Corrected Buy and Sell Conditions ---
// Instead of comparing slow vs. quick the “wrong way,” we now say:
// Buy when the quick MA (EMA) is above both slow MAs,
// Sell when the quick MA is below both slow MAs.
Buy1  = EMA > EMABuy
Buy2  = EMA > EMASell
Sell1 = EMA < EMASell
Sell2 = EMA < EMABuy

// Define flags to track crossovers and avoid multiple triggers
var bool buySignal = false
var bool sellSignal = false

// Detect crossovers and set flags
buyCrossover  = Buy1 and Buy2 and not buySignal[1]
sellCrossover = Sell1 and Sell2 and not sellSignal[1]

// Update flags to ensure single triggers
buySignal  := buyCrossover ? true : sellCrossover ? false : buySignal
sellSignal := sellCrossover ? true : buyCrossover ? false : sellSignal

// Update color based on conditions if using crossover colours
if Buy1 and Buy2 and Colo
    col1 := color.new(color.lime, 0)
    col2 := color.new(color.lime, 0)
if Sell1 and Sell2 and Colo
    col1 := color.new(color.red, 0)
    col2 := color.new(color.red, 0)

// Plot the moving averages
p = plot(EMA, 'Quick Moving Average', color = col1, linewidth = 3)
q = plot(EMABuy, 'Slow Moving Average',  color = col2, linewidth = 3)

// Fill the area between the two MAs based on trend
fill(p, q, color = Buy1 and Buy2 ? color.new(color.lime, 80) : Sell1 and Sell2 ? color.new(color.red, 80) : na)

// Alert conditions
alertcondition(buyCrossover,  title = 'Uptrend',   message = 'Buy')
alertcondition(sellCrossover, title = 'Downtrend', message = 'Sell')

// Add labels on crossovers
if buyCrossover and Bool
    label.new(x = bar_index, y = low, text = 'Buy', color = color.lime, textcolor = color.white, style = label.style_label_up, size = size.small)
if sellCrossover and Bool
    label.new(x = bar_index, y = high, text = 'Sell', color = color.red, textcolor = color.white, style = label.style_label_down, size = size.small)



응답함

1
개발자 1
등급
(240)
프로젝트
301
28%
중재
33
24% / 61%
기한 초과
9
3%
작업중
2
개발자 2
등급
(436)
프로젝트
688
34%
중재
33
70% / 9%
기한 초과
22
3%
작업중
3
개발자 3
등급
(1)
프로젝트
0
0%
중재
5
0% / 80%
기한 초과
0
무료
4
개발자 4
등급
(12)
프로젝트
19
42%
중재
3
0% / 67%
기한 초과
3
16%
무료
5
개발자 5
등급
(294)
프로젝트
469
39%
중재
102
40% / 24%
기한 초과
77
16%
로드됨
게재됨: 2 코드
6
개발자 6
등급
(77)
프로젝트
241
73%
중재
7
100% / 0%
기한 초과
1
0%
무료
7
개발자 7
등급
(5)
프로젝트
4
0%
중재
2
50% / 50%
기한 초과
2
50%
무료
8
개발자 8
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
9
개발자 9
등급
(87)
프로젝트
120
68%
중재
5
80% / 0%
기한 초과
12
10%
작업중
10
개발자 10
등급
(39)
프로젝트
54
61%
중재
2
50% / 50%
기한 초과
0
무료
11
개발자 11
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
12
개발자 12
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
비슷한 주문
Job Title MT5 Developer Needed – Sync Data Feed Between Two MT5 Accounts Job Description I am a trader using multiple MT5 accounts and need a reliable way to have the same market data from one MT5 account reflected in another MT5 account. One account already has a stable and accurate data feed, and I want the second MT5 account to receive identical pricing and symbols for analysis and execution purposes. What I Need
Beschreibung: Ich suche einen erfahrenen MQL5-Entwickler, der meinen bestehenden Expert Advisor für MT5 fertigstellt und optimiert. Der EA basiert auf einer 30-Minuten-Breakout-Strategie für XAUUSD (Gold) und enthält bereits die Grundlogik sowie FTMO-Regeln (Tagesverlust, Gesamtverlust, Handelszeiten, Spread-Filter, Lotbegrenzung). Was gemacht werden muss: Code-Feinschliff und Debugging Überprüfung der Breakout-Logik
Greeting Im in need of a programmer that can help me convert from TOS to trading view? The script is available with me, kindly bid if it is what you can do for me Thanks
can you help me with I need an ATM strategy for NT8, here's the criteria: Forex trade entry 100,000 units with a starting SL of 70 pips. The following proft targets: 33 pips, 68, 125, 180. All targets exit 25,000 units each. As each target is hit, move SL to BE+5, then BE+35, then BE+70. So the SL's are fixed, not trailing. I can't figure this out on my platform
"I need a high-quality, non-repainting TradingView indicator for Gold (XAUUSD) on the 1-minute timeframe. The goal is to catch 'Tops and Bottoms' using a combination of price exhaustion and candlestick confirmation. Key Requirements: The Signal: Must identify reversals at extremes. Please use a combination of Bollinger Bands (Standard Deviation) and RSI . Candlestick Confirmation: Signals should only fire if there is
Hi guys looking for a reversal indicator that places signals on chart Signals must he placed at candle close and not repaint. Since I'm offering a high budget I want everything to run smoothly in these steps 1. Send screenahots of it 2. I'll give you feedback what to change or we'll skip to stage 3 3. Short period demo 4. Deposite send full version and close deal. That will allow safety for both us I know I'm getting
Need to create a New EA that focuses only on closing trades of an Existing EA . The New EA should be attached to the Existing EA and also it should not interfere the functions of Existing EA. The developer of the New EA should provide guidelines in order to attach the New EA to the Existing EA. The existing EA will not be shared to the developer. The conditions of new EA is as follows: The new EA should close all
I’m looking for an experienced MQL4 / MQL5 developer to help with an indicator project. Project overview: I have an existing MT4 arrow indicator that I’ve used for several years. The indicator is compiled only (.ex4) — source code is not available. It does not repaint . The indicator has stopped displaying properly (likely outdated). What I need: Rebuild the indicator from scratch by analyzing its behavior and
HI Iam trading with XU ma simple BT 1.12 INDICATOR Which I got indicator from forexstation forum but mq4 file is not with me,I want to have similar indicator which is non repainting in both mq4 and mq5 formats,it should be similar and signals should match it has 2 moving averages MA1 IS LONG TERM MA,MA2 is short term MA MA 2 SIGNALS FOLLOW THE MA TREND CHANGE not crossing of MA1
I am looking for an experienced developer to build a TradingView Pine Script that generates trading signals and sends them via webhook to MT4 for automated execution. The trading logic must be handled entirely in TradingView (Pine Script) . MT4 will only be responsible for receiving webhook messages and executing trades (no strategy logic inside MT4). The goal is to ensure that TradingView backtest results and live

프로젝트 정보

예산
30+ USD
기한
에서 1  3 일