Specifiche

//@version=5
strategy("SMA 20 + Engulfing Strategy", overlay=true)

// Define strategy inputs
smaPeriod = input(20, title="SMA Period")
stopLossPercent = input(1, title="Stop Loss %")
takeProfitPercent = input(2, title="Take Profit %")

// Calculate SMA
smaValue = ta.sma(close, smaPeriod)

// Determine bullish engulfing condition
isBullishEngulfing = ta.isbullishengulfing(close, open)

// Determine bearish engulfing condition
isBearishEngulfing = ta.isbearishengulfing(close, open)

// Define entry and exit conditions
enterLong = crossover(close, smaValue) and isBullishEngulfing
enterShort = crossunder(close, smaValue) and isBearishEngulfing
exitLong = ta.change(close) < 0
exitShort = ta.change(close) > 0

// Calculate stop loss and take profit levels
stopLossLevel = close * (1 - stopLossPercent / 100)
takeProfitLevel = close * (1 + takeProfitPercent / 100)

// Execute trades based on entry and exit conditions
if (enterLong)
    strategy.entry("Buy", strategy.long)
    strategy.exit("Sell", "Buy", stop=stopLossLevel, limit=takeProfitLevel)

if (enterShort)
    strategy.entry("Sell", strategy.short)
    strategy.exit("Cover", "Sell", stop=stopLossLevel, limit=takeProfitLevel)

// Plot the SMA on the chart
plot(smaValue, color=color.blue, title="SMA 20")

Con risposta

1
Sviluppatore 1
Valutazioni
(28)
Progetti
37
14%
Arbitraggio
7
29% / 43%
In ritardo
5
14%
Gratuito
2
Sviluppatore 2
Valutazioni
(64)
Progetti
68
25%
Arbitraggio
12
42% / 42%
In ritardo
4
6%
Gratuito
3
Sviluppatore 3
Valutazioni
(4)
Progetti
6
0%
Arbitraggio
4
25% / 75%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(491)
Progetti
562
33%
Arbitraggio
27
44% / 44%
In ritardo
9
2%
Occupato
5
Sviluppatore 5
Valutazioni
(482)
Progetti
511
53%
Arbitraggio
10
60% / 20%
In ritardo
3
1%
Gratuito
6
Sviluppatore 6
Valutazioni
(300)
Progetti
450
65%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
Caricato
7
Sviluppatore 7
Valutazioni
(32)
Progetti
41
68%
Arbitraggio
5
0% / 60%
In ritardo
14
34%
Gratuito
8
Sviluppatore 8
Valutazioni
(119)
Progetti
127
41%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 0%
In ritardo
0
In elaborazione
10
Sviluppatore 10
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
31
29% / 55%
In ritardo
36
41%
In elaborazione
11
Sviluppatore 11
Valutazioni
(564)
Progetti
933
47%
Arbitraggio
303
59% / 25%
In ritardo
125
13%
Caricato
Ordini simili
The job is simple, I want a custom indicator which consist of a combination of 3 indicators in separate window as I will show you in the screenshot of my mt5 trading platform. The indicators are RSI(period 14, Apply to close) Level 10 Buy, Level 50 Take profit, level 90 Sell) MA( Period 200, Method Exponential, Apply to Median price, Shift 0) BB (Period 25, Apply to close, Deviation 0.035, Shift 0) Ideally on a 1
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started

Informazioni sul progetto

Budget
30 - 200 USD
Per lo sviluppatore
27 - 180 USD