Lsg. Trading bot

İş Gereklilikleri

//@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")

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(18)
Projeler
22
9%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
1
5%
Yüklendi
2
Geliştirici 2
Derecelendirme
(4)
Projeler
3
33%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(22)
Projeler
30
20%
Arabuluculuk
8
63% / 13%
Süresi dolmuş
9
30%
Serbest
4
Geliştirici 4
Derecelendirme
(57)
Projeler
84
26%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(9)
Projeler
12
8%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
1
8%
Serbest
6
Geliştirici 6
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
7
Geliştirici 7
Derecelendirme
(5)
Projeler
5
40%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(294)
Projeler
470
39%
Arabuluculuk
102
40% / 24%
Süresi dolmuş
78
17%
Meşgul
Yayınlandı: 2 kod
9
Geliştirici 9
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
10
Geliştirici 10
Derecelendirme
(4)
Projeler
7
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
3
43%
Yüklendi
11
Geliştirici 11
Derecelendirme
(12)
Projeler
24
50%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
6
25%
Serbest
12
Geliştirici 12
Derecelendirme
(306)
Projeler
550
35%
Arabuluculuk
79
32% / 42%
Süresi dolmuş
198
36%
Yüklendi
13
Geliştirici 13
Derecelendirme
(6)
Projeler
5
0%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
40%
Serbest
14
Geliştirici 14
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(2)
Projeler
11
18%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
I want an EA that work with my support and resistance indicator. Buy entry condition are: 1. hen candlestick closes in side the support bar. 2. When candlestick break above resistance bar. Likewise sell condition: 1. When candlestick closes inside the resistance bar, 2. When candlestick break below support bar
1. Goal I want a MetaTrader 5 Expert Advisor that trades a simple Supertrend trend‑following idea, but with professional‑grade risk management and filters. It should be robust enough for real money on instruments like XAUUSD and GBP pairs, using small, consistent risk per trade rather than martingale or grid. 2. Strategy Logic Indicators (I will supply the .mq5 files if needed): Supertrend (ATR‑based), with
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
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
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

Proje bilgisi

Bütçe
30+ USD