Convert tradingview indicator onto an EA

MQL5 Indikatoren Experten

Auftrag beendet

Ausführungszeit 2 Tage
Bewertung des Kunden
Smart and helpful developer - I would highly recommend
Bewertung des Entwicklers
verry good

Spezifikation

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)



Bewerbungen

1
Entwickler 1
Bewertung
(240)
Projekte
301
28%
Schlichtung
33
24% / 61%
Frist nicht eingehalten
9
3%
Arbeitet
2
Entwickler 2
Bewertung
(436)
Projekte
688
34%
Schlichtung
33
70% / 9%
Frist nicht eingehalten
22
3%
Arbeitet
3
Entwickler 3
Bewertung
(1)
Projekte
0
0%
Schlichtung
5
0% / 80%
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(12)
Projekte
19
42%
Schlichtung
3
0% / 67%
Frist nicht eingehalten
3
16%
Frei
5
Entwickler 5
Bewertung
(294)
Projekte
469
39%
Schlichtung
102
40% / 24%
Frist nicht eingehalten
77
16%
Beschäftigt
Veröffentlicht: 2 Beispiele
6
Entwickler 6
Bewertung
(77)
Projekte
241
73%
Schlichtung
7
100% / 0%
Frist nicht eingehalten
1
0%
Frei
7
Entwickler 7
Bewertung
(5)
Projekte
4
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
50%
Frei
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
(87)
Projekte
120
68%
Schlichtung
5
80% / 0%
Frist nicht eingehalten
12
10%
Arbeitet
10
Entwickler 10
Bewertung
(39)
Projekte
54
61%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
0
Frei
11
Entwickler 11
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
12
Entwickler 12
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Two EAs 30 - 100 USD
Hello, I will need one indicator in Tradingview converted to a strategy in MT5. The indicator is called ...Multi Kernel Regression [ChartPrime] Indicator. If the indicator says "BUY" then the EA buys, if the indicator says "SELL" then the EA sells. I will need another one that is a strategy in Tradingview converted to a strategy in MT5. "UT Bot Strategy". Two in total. Lets talk
I have build the trade copier for ninja trader as indicator. I need someone to fix the issue i am having or create new one similar to replicanto. here are my issue.. ### 1. Opposing Positions Across Multiple Accounts A counter trade violation occurs when you hold opposite directional positions (Buy vs. Sell) in the same symbol or product across different accounts. * *Example from your report:* In Violation #8
Hello. I am finding an experienced python developer who can implement my trading strategies into robots. I like trend-following swing trading strategies and am going to automate my idea. More details can be discussed by chatting. If you have similar working experience it can be a plus. Thanks
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
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

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 1 bis 3 Tag(e)