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
(57)
Progetti
82
24%
Arbitraggio
24
13% / 58%
In ritardo
7
9%
Caricato
2
Sviluppatore 2
Valutazioni
(64)
Progetti
68
25%
Arbitraggio
12
42% / 42%
In ritardo
4
6%
Gratuito
3
Sviluppatore 3
Valutazioni
(6)
Progetti
8
0%
Arbitraggio
8
13% / 88%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(539)
Progetti
620
33%
Arbitraggio
36
39% / 53%
In ritardo
11
2%
Caricato
5
Sviluppatore 5
Valutazioni
(511)
Progetti
549
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
6
Sviluppatore 6
Valutazioni
(322)
Progetti
499
67%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
Gratuito
Pubblicati: 8 codici
7
Sviluppatore 7
Valutazioni
(32)
Progetti
41
68%
Arbitraggio
5
0% / 60%
In ritardo
14
34%
Gratuito
Pubblicati: 1 codice
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
Pubblicati: 27 articoli
10
Sviluppatore 10
Valutazioni
(45)
Progetti
91
13%
Arbitraggio
34
26% / 59%
In ritardo
37
41%
Gratuito
11
Sviluppatore 11
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
Ordini simili
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar
The robot will take buy trades when the 2 ema cross over the 10 ema and price has closed above the 50 ema. The take profit and stop loss can be set as an optional level by the user. The robot will take sell trades when the 2 ema cross under the 10 ema and price has closed under the 50 ema. The take profit and stop loss can be set as an optional level by the user. The entry timeframe will be 15 minutes, but it could
GoldTrade EA 30 - 60 USD
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I am looking for someone who has or who can modify the Margin Trader EA by MaryJane preferably the MT5 version by making it pyramid using a fixed lot size addition(preferably 1st trade lot size) instead of using all the margin available to define the lotsize
Create simple EA 30 - 60 USD
Start BUY:- when i click start BUY button new panel should open which should contain bellow points:- Trigger Price Time frame Cross/Close RR ration Trailing Stop ratio Maximum Trade count Risk (percentage or cash) (Option to Increase risk when SL hit) Remove Trigger (True/False ) I will explain above point one by one here bellow •Trigger price :- here we enter price at which when market cross or
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks

Informazioni sul progetto

Budget
30 - 200 USD