Trabalho concluído
Tempo de execução 2 dias
Comentário do cliente
Smart and helpful developer - I would highly recommend
Comentário do desenvolvedor
verry good
Termos de Referência
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)
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)
Respondido
1
Classificação
Projetos
329
29%
Arbitragem
36
25%
/
64%
Expirado
10
3%
Trabalhando
2
Classificação
Projetos
719
34%
Arbitragem
35
69%
/
9%
Expirado
22
3%
Trabalhando
3
Classificação
Projetos
0
0%
Arbitragem
5
0%
/
80%
Expirado
0
Livre
4
Classificação
Projetos
20
40%
Arbitragem
3
0%
/
67%
Expirado
3
15%
Livre
5
Classificação
Projetos
478
40%
Arbitragem
105
40%
/
24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
6
Classificação
Projetos
246
74%
Arbitragem
7
100%
/
0%
Expirado
1
0%
Livre
Publicou: 1 artigo
7
Classificação
Projetos
6
0%
Arbitragem
4
25%
/
75%
Expirado
2
33%
Livre
8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Classificação
Projetos
121
68%
Arbitragem
5
80%
/
0%
Expirado
12
10%
Trabalhando
10
Classificação
Projetos
55
62%
Arbitragem
2
50%
/
50%
Expirado
0
Livre
11
Classificação
Projetos
945
47%
Arbitragem
309
58%
/
27%
Expirado
125
13%
Livre
12
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
*Need an MQL5 EA for MT5 to trade gold and forex automatically. Must include Stop Loss, Take Profit, and basic risk management. Budget is $30 to $50. Looking for clean, stable code that works on VPS.*
I need an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5. The EA should: * Follow my trading strategy exactly. * Open Buy and Sell trades automatically. * Have adjustable Lot Size. * Include Stop Loss and Take Profit. * Include Break-even and Trailing Stop. * Allow trading only during selected hours. * Use Magic Number to manage trades. * Prevent duplicate trades. * Work
A lightweight MT5 chart overlay displaying total floating P&L, average entry price, combined lot size, and current symbol exposure as a percentage of account balance, all updating in real time with color-coded profit/loss indicators, delivered with clean object-oriented source code and no DLL dependencies
MT5 EA Development / Enhancement
50 - 100 USD
Hello Developers, I am looking for an experienced MQL5 developer to complete the development of a custom MetaTrader 5 Expert Advisor (EA) based on my proprietary trading strategy. I already have a partially developed EA that includes the required custom indicators and part of the trading logic. The project can either be completed by modifying the existing EA or, if more appropriate, by rebuilding it from scratch
Hello Developers, I want to build a custom Expert Advisor (EA) for MetaTrader 5 (MT5) to trade Gold (XAUUSD) and Bitcoin (BTCUSD). This will be based on my own custom strategy. Here are the project requirements: 1. Platform: MetaTrader 5 (MQL5) 2. Trading Assets: Gold (XAUUSD) and Bitcoin (BTCUSD) 3. Timeframe: Suitable for multi-timeframe execution (I will specify the exact timeframes in private chat) 4. Core
Poptavka ZN
35 - 40 USD
Požadavky: platforma MetaTrader 5, jazyk MQL5; předání úplného a čitelného zdrojového kódu .mq5 a všech potřebných .mqh souborů; zákazů knihoven, DLL, vzdálených serverů a externí licenční kontroly; zákaz martingale, gridu, navyšování pozice po ztrátě a obchodování bez stop-lossu; výpočet velikosti pozice podle procenta rizika a skutečné měny účtu; nastavitelné maximální denní riziko a celkové čerpání; ochrana proti
Buying profitable EA(Budget up to 10k)
100 - 10000 USD
I will pay 10k (negotiable) for an EA for existing MT5 that generates a minimum of 5% or higher a month consistently Please send demo version with optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it in a demo account. You will provide me with the.ex5 file with an expiration of 1 week, so that I can test the EA first on demo account. Developer should be
Trading EA Read description
100 - 800 USD
I am looking for a profitable daily trading system. It can trade any pair of the following, Gold, EURUSD,GBPUSD so either of these three pairs. If it does trade other pairs and is very profitable then send proof. The system shouldnt be a risky system like a blind martingale. It needs to trade everyday and be profitable. It shouldnt be spread sensitive. Ideally i need the system on MT5 but if its on mt4 i can accept
Great Martingale with Series
30+ USD
The Great Martingale and Classic Martingale will be coded selectively in one . The Coder should know well both of Great and Classic Martingale and calculation of both of their lot sizing. Should understand the below Formulas of lot sizing after one loss or consecutive loses. if not understand the below please do not apply . A different trailing stop which calculates all profits/losses in a serie will be applied
Our advanced automated trading robot is designed to analyze the financial markets and execute trades without requiring constant manual intervention. Using intelligent algorithms, it monitors market trends, price movements, and technical indicators in real time to identify potential trading opportunities. The robot automatically opens, manages, and closes trades based on its predefined strategy, helping to remove
Informações sobre o projeto
Orçamento
30+ USD
Prazo
de 1 para 3 dias