Simple strategy with super trend

MQL5 Experts

Termos de Referência

//@version=5 strategy('Supertrend Strategy - PineConnector', overlay=true) LicenseID = 601234567890 // 1. change to your PineConnector License ID (required) riskvalue = input.int(1, 'Risk Value') // 2. Change the risk value (optional) atrPeriod = input(10, 'ATR Length') factor = input(3, 'Factor') [supertrend, direction] = ta.supertrend(factor, atrPeriod) bodyMiddle = plot((open + close) / 2, display=display.none) upTrend = plot(direction < 0 ? supertrend : na, 'Up Trend', color=color.new(color.green, 0), style=plot.style_linebr) downTrend = plot(direction < 0 ? na : supertrend, 'Down Trend', color=color.new(color.red, 0), style=plot.style_linebr) fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps=false) fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps=false) if ta.change(direction) < 0 strategy.entry('Long', strategy.long) alert(str.tostring(LicenseID)+',buy,' + syminfo.ticker + ',risk=' + str.tostring(riskvalue), alert.freq_once_per_bar_close) if ta.change(direction) > 0 strategy.entry('Short', strategy.short) alert(str.tostring(LicenseID)+',sell,' + syminfo.ticker + ',risk=' + str.tostring(riskvalue), alert.freq_once_per_bar_close) plotshape(ta.change(direction) < 0, style=shape.labelup, location=location.belowbar, color=color.new(#046ff9, 0), size=size.large, text='PineConnector \n Buy', textcolor=color.new(color.white, 0)) plotshape(ta.change(direction) > 0, style=shape.labeldown, location=location.abovebar, color=color.new(#046ff9, 0), size=size.large, text='PineConnector \n Sell', textcolor=color.new(color.white, 0))


I want to implement this fine script in mt5ea.

I want an ea that switches orders to sell if the line changes to red and orders to buy if the line changes to green.

The parameters are factor, atr, and lot size

Arquivos anexados:

PNG
sample.png
130.9 Kb

Respondido

1
Desenvolvedor 1
Classificação
(1175)
Projetos
1565
47%
Arbitragem
50
72% / 12%
Expirado
37
2%
Livre
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(23)
Projetos
29
41%
Arbitragem
0
Expirado
1
3%
Trabalhando
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Trabalhando
5
Desenvolvedor 5
Classificação
(60)
Projetos
84
65%
Arbitragem
2
50% / 0%
Expirado
9
11%
Carregado
6
Desenvolvedor 6
Classificação
(18)
Projetos
19
26%
Arbitragem
1
100% / 0%
Expirado
0
Livre
7
Desenvolvedor 7
Classificação
(266)
Projetos
326
37%
Arbitragem
6
50% / 17%
Expirado
7
2%
Livre
8
Desenvolvedor 8
Classificação
(68)
Projetos
209
72%
Arbitragem
5
100% / 0%
Expirado
1
0%
Trabalhando
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
10
Desenvolvedor 10
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
11
Desenvolvedor 11
Classificação
(4)
Projetos
5
60%
Arbitragem
0
Expirado
0
Trabalhando
12
Desenvolvedor 12
Classificação
(148)
Projetos
264
35%
Arbitragem
12
25% / 58%
Expirado
42
16%
Trabalhando
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
Pedidos semelhantes
I evaluate EA optimized and ready to use (with source code). It must be a newly developed EA based on new technologies and not just based on basic indicators. Thanks Francesco
Looking for an already made forex robot thats profitable and have been backtested with good results. Must have source code. Send me your ea's to test out. Must be a good developer
"I require a custom-built Expert Advisor (EA) for MetaTrader 5 based on a mean reversion strategy. The EA should identify overbought and oversold conditions using the Relative Strength Index (RSI) and Bollinger Bands on the 15-minute timeframe for EUR/USD and GBP/USD. Entry signals should trigger when the RSI crosses above 70 (for sell) or below 30 (for buy) and price touches the outer Bollinger Band. The EA must
MT5 EA IB/REBATE 100 - 800 USD
Looking for an MT5 EA that can work for rebate/IB for our broker. Should take many operations throughout the day and be profitable. Submit results when applying also source code would be required with purchase
Hello, I want to turn my own indicator that I use in TradingView into an automatic robot in MT5. It's not very complicated, there are buy and sell signals. The transaction will be opened when it receives the signal. If conversion will not be done directly from the indicator, I can explain in detail which strategies will be applied
3 step semi auto system: this system include 3 Ema (x,y,z) and Pivot point(daily) step-1: ema crossover (x,y) , than return to the ema(x) step-2: check another ema (z) step-3: check pivot point (daily) than send alert
Modify the code 30+ USD
I have a strategy that works on a 5-minute frame only, but I want to enter the trade after the conditions are met in the middle of the 5-minute candle, but it does not work. I want to develop it. The code is ready. It only needs modification
Hi i want to convert an indicator from tradingview to ctrader, with order block projection, the current tradingview code is current using 1st dev of the move, i want to define this manually --> 1STDEV or 1.5 STDEV
1. Trades opening on the basis of an indicator. Need option to use tf,( whether 2, 3 or 4 tf are showing same signla than open the trade. Trades can be opened as soon as the signals match as well as use the option of using limit orders along with option to manually adjustable pips distance to open limit trades.Also limit orders need an expiry time. 2 Initial lot size manually adjustable. 3 Only profit in pips
This is an mt4 ea that using 2 custom indicators has errors with placing orders. Where it doesn't place orders based on current signal but instead it waits for the next signal. It opens orders of one type regardless of trend. Then a trailing stop feature, small chart panel and email notification should be added

Informações sobre o projeto

Orçamento
30+ USD

Cliente

(1)
Pedidos postados2
Número de arbitragens0