Specification
//@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")
Responded
1
Rating
Projects
27
7%
Arbitration
9
33%
/
33%
Overdue
1
4%
Working
2
Rating
Projects
3
33%
Arbitration
2
0%
/
100%
Overdue
0
Free
3
Rating
Projects
30
20%
Arbitration
8
63%
/
13%
Overdue
9
30%
Free
4
Rating
Projects
90
29%
Arbitration
24
13%
/
58%
Overdue
7
8%
Working
5
Rating
Projects
20
20%
Arbitration
3
33%
/
67%
Overdue
3
15%
Free
6
Rating
Projects
1
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
7
Rating
Projects
5
40%
Arbitration
0
Overdue
0
Free
8
Rating
Projects
478
40%
Arbitration
105
40%
/
24%
Overdue
82
17%
Loaded
Published: 2 codes
9
Rating
Projects
945
47%
Arbitration
309
58%
/
27%
Overdue
125
13%
Free
10
Rating
Projects
8
0%
Arbitration
3
33%
/
67%
Overdue
4
50%
Free
11
Rating
Projects
24
50%
Arbitration
1
100%
/
0%
Overdue
6
25%
Free
12
Rating
Projects
565
35%
Arbitration
81
31%
/
44%
Overdue
204
36%
Free
13
Rating
Projects
6
0%
Arbitration
4
25%
/
75%
Overdue
2
33%
Free
14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Rating
Projects
11
18%
Arbitration
0
Overdue
0
Free
16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
PROJECT TITLE: MT5 Semi-Auto EA - Volume & Doji Reversal Strategy (On-Chart UI Required) 1. GENERAL OVERVIEW · Platform: MetaTrader 5 (MT5). · Symbol: XAUUSD (Gold). · Language Requirement: English only (for both source code and User Interface). · Timeframe: Adjustable via Input Parameters. The EA must calculate all candle, MA, and volume logic based ONLY on the timeframe selected in the settings
Lokingo for an Expert MT5 Indicator Developer
30 - 300 USD
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200
50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy
300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Supply and Demand EA
50 - 250 USD
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
Xau trading bot with 99.9% profit
2000+ USD
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
Project information
Budget
30+ USD