Lsg. Trading bot

명시

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

응답함

1
개발자 1
등급
(18)
프로젝트
22
9%
중재
4
50% / 50%
기한 초과
1
5%
로드됨
2
개발자 2
등급
(4)
프로젝트
3
33%
중재
2
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(22)
프로젝트
30
20%
중재
8
63% / 13%
기한 초과
9
30%
무료
4
개발자 4
등급
(57)
프로젝트
84
26%
중재
24
13% / 58%
기한 초과
7
8%
작업중
5
개발자 5
등급
(9)
프로젝트
12
8%
중재
3
33% / 67%
기한 초과
1
8%
무료
6
개발자 6
등급
(1)
프로젝트
1
0%
중재
1
0% / 0%
기한 초과
0
작업중
7
개발자 7
등급
(5)
프로젝트
5
40%
중재
0
기한 초과
0
무료
8
개발자 8
등급
(294)
프로젝트
470
39%
중재
102
40% / 24%
기한 초과
78
17%
바쁜
게재됨: 2 코드
9
개발자 9
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
10
개발자 10
등급
(4)
프로젝트
7
0%
중재
3
33% / 33%
기한 초과
3
43%
로드됨
11
개발자 11
등급
(12)
프로젝트
24
50%
중재
1
100% / 0%
기한 초과
6
25%
무료
12
개발자 12
등급
(306)
프로젝트
550
35%
중재
79
32% / 42%
기한 초과
198
36%
로드됨
13
개발자 13
등급
(6)
프로젝트
5
0%
중재
2
50% / 50%
기한 초과
2
40%
무료
14
개발자 14
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
15
개발자 15
등급
(2)
프로젝트
11
18%
중재
0
기한 초과
0
무료
16
개발자 16
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
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

프로젝트 정보

예산
30+ USD