Tarea técnica
//@version=5
indicator("Enhanced SMA Crossover with RSI Confirmation", shorttitle="SMA Cross RSI", overlay=true)
// Define the length of the short-term and long-term moving averages
shortLength = input.int(9, title="Short-term Moving Average Length")
longLength = input.int(21, title="Long-term Moving Average Length")
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.int(70, title="RSI Overbought Level")
rsiOversold = input.int(30, title="RSI Oversold Level")
// ATR settings for calculating Take Profit and Stop Loss
atrLength = input.int(14, title="ATR Length")
atrMultiplier = input.float(1.5, title="ATR Multiplier")
// Calculate the short-term and long-term moving averages
shortSMA = ta.sma(close, shortLength)
longSMA = ta.sma(close, longLength)
// Calculate RSI
rsi = ta.rsi(close, rsiLength)
// Calculate ATR
atr = ta.atr(atrLength)
// Define Take Profit and Stop Loss levels
takeProfit = atr * atrMultiplier
stopLoss = atr * atrMultiplier
// Plot the moving averages
plot(shortSMA, color=color.blue, title="Short-term SMA")
plot(longSMA, color=color.red, title="Long-term SMA")
// Generate entry signals with RSI confirmation
longCondition = ta.crossover(shortSMA, longSMA) and rsi < rsiOverbought
shortCondition = ta.crossunder(shortSMA, longSMA) and rsi > rsiOversold
// Plot entry signals on the chart with labels
plotshape(series=longCondition, location=location.belowbar, color=color.green, style=shape.labelup, text="BUY", title="Buy Signal")
plotshape(series=shortCondition, location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", title="Sell Signal")
// Labels for entry points with Take Profit and Stop Loss
if (longCondition)
label.new(bar_index, low, text="BUY\nTP: " + str.tostring(close + takeProfit, format.mintick) + "\nSL: " + str.tostring(close - stopLoss, format.mintick),
style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
if (shortCondition)
label.new(bar_index, high, text="SELL\nTP: " + str.tostring(close - takeProfit, format.mintick) + "\nSL: " + str.tostring(close + stopLoss, format.mintick),
style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
// Display alerts
alertcondition(longCondition, title="Buy Alert", message="Buy Signal: Short-term SMA crossed above Long-term SMA with RSI confirmation")
alertcondition(shortCondition, title="Sell Alert", message="Sell Signal: Short-term SMA crossed below Long-term SMA with RSI confirmation")
Han respondido
1
Evaluación
Proyectos
22
9%
Arbitraje
4
50%
/
50%
Caducado
1
5%
Trabajando
2
Evaluación
Proyectos
3
33%
Arbitraje
2
0%
/
100%
Caducado
0
Libre
3
Evaluación
Proyectos
30
20%
Arbitraje
8
63%
/
13%
Caducado
9
30%
Libre
4
Evaluación
Proyectos
84
26%
Arbitraje
24
13%
/
58%
Caducado
7
8%
Trabaja
5
Evaluación
Proyectos
12
8%
Arbitraje
3
33%
/
67%
Caducado
1
8%
Libre
6
Evaluación
Proyectos
1
0%
Arbitraje
1
0%
/
0%
Caducado
0
Trabaja
7
Evaluación
Proyectos
5
40%
Arbitraje
0
Caducado
0
Libre
8
Evaluación
Proyectos
470
39%
Arbitraje
102
40%
/
24%
Caducado
78
17%
Ocupado
Ha publicado: 2 ejemplos
9
Evaluación
Proyectos
945
47%
Arbitraje
309
58%
/
27%
Caducado
125
13%
Libre
10
Evaluación
Proyectos
7
0%
Arbitraje
3
33%
/
33%
Caducado
3
43%
Trabajando
11
Evaluación
Proyectos
24
50%
Arbitraje
1
100%
/
0%
Caducado
6
25%
Libre
12
Evaluación
Proyectos
550
35%
Arbitraje
79
32%
/
42%
Caducado
198
36%
Trabajando
13
Evaluación
Proyectos
5
0%
Arbitraje
2
50%
/
50%
Caducado
2
40%
Libre
14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Evaluación
Proyectos
11
18%
Arbitraje
0
Caducado
0
Libre
16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Dear MQL5 Freelancer, I'm searching a professionell developer for my new EA.The EA is based on my own Indicator "Imba Indicator". I have the source code from the Indicator. I am sending the settings and details for the EA in the attachment. Please read carefully and let me know if anything is unclear. I am happy to send the source code for the indicator if you are interested in coding the EA. I need the Source code
Hi developers, I need someone to help me create a simple EA with my indicators and trading plan... I will give you all parameters and you help me create... 2 moving averages, one candle pattern
Please a need a very good expert for this jou I want to create 2 robot one a trade manager Perfect — here’s a clean, professional order description you can post directly to an EA freelancer (MQL5). I’ve written it so it’s clear, serious, and attractive to skilled developers 👌 MQL5 Trade Manager EA – Development Request I am looking for an experienced MQL5 developer to build a robust Trade Manager Expert Advisor for
Henryy999
30 - 3000 USD
The Ai robot must help me with forex and I don't have money soon can the Ai robot give me some money and I will pay it back if the Ai robot does a good job making me rich
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
StrategyQuant X (SQX) – Trading Template Build
100 - 500 USD
I am looking for an experienced StrategyQuant X (SQX) developer to build a reusable trading template , not a single strategy. ⚠️ Please do NOT apply unless you actively use StrategyQuant X and have access to it. This project cannot be completed without SQX. 1. Session and Time Filters Trading restricted to fixed GMT sessions per index Sessions must convert correctly to broker server time and remain correct through
PipJuice Indicator available?
30 - 300 USD
Is there someone who coded the PipJuice indicator? Here is the link: https://www.pipjuice.io/ Unfortunately, I don‘t have access to the indicator or the code. If someone have it please send me some screenshots
Strategy Development: Suggest a high-probability trading strategy based on Technical Analysis (using indicators like RSI, MACD, or Price Action). Risk Management: Explain how to calculate position sizing so I don't lose more than 1-2% of my capital per trade. Market Analysis: Teach me how to identify Support and Resistance levels and how to spot a trend reversal. Psychology: Give me 5 golden rules to maintain
Grid EA with percentage trade allocation with Hedge
250 - 500 USD
A Grid EA with a hedge that open trades on a percentage based on whats is opened on the other side, closes losing trades with current profits made and utilizes a grid trading strategy combined with hedging technique to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Información sobre el proyecto
Presupuesto
30+ USD