Expert Advisor based on Tradingview Strategy

MQL4 Uzman Danışmanlar

İş tamamlandı

Tamamlanma süresi: 14 gün

İş Gereklilikleri

Hi,

I would like to get a Tradingview strategy coded into an EA for MT4. 

Here is a link to the strategy:

**for some reason it won't let me link to the trading view strategy.  Pine script is below.  The strategy can be found on Tradingview by searching: 

MULTIPLE TIME-FRAME STRATEGY(TREND, MOMENTUM, ENTRY)


I would like an additional features added:

  • Fixed TP and SL (if 0 is entered then this feature is off)
  • ATR based TP and SL such that user can input a multiple of the ATR for each the TP and SL.  Toggle true/false for each, TP and SL, for turning feature off or on.  Want to be able to use ATR SL even if ATR TP is turned off.


And here is the Tradingview Pine script for the strategy:

//@version=2

strategy("TUX MTF", overlay=true)


// MULTIPLE TIME FRAME STRATEGY

// LONG TERM --- TREND

// MED TERM --- MOMENTUM

// SHORT TERM --- ENTRY


// ENTRY POSITION TIMEFRAME

entry_position = input(title="Entry timeframe (minutes)", type=integer, defval=5, minval=1, maxval=1440)

med_term = entry_position * 4

long_term = med_term * 4


// GLOBAL VARIABLES

ma_trend = input(title="Moving Average Period (Trend)", type=integer, defval=50, minval=5, maxval=200)


// RSI

length = input(title="Stoch Length", type=integer, defval=18, minval=5, maxval=200)

OverBought = input(title="Stoch OB", type=integer, defval=80, minval=60, maxval=100)

OverSold = input(title="Stoch OS", type=integer, defval=20, minval=5, maxval=40)

smoothK = input(title="Stoch SmoothK", type=integer, defval=14, minval=1, maxval=40)

smoothD = input(title="Stoch SmoothD", type=integer, defval=14, minval=1, maxval=40)

maSm = input(title="Moving Avg SM", type=integer, defval=7, minval=5, maxval=50)

maMed = input(title="Moving Avg MD", type=integer, defval=21, minval=13, maxval=200)


// LONG TERM TREND

long_term_trend = security(ticker, tostring(long_term), sma(close,ma_trend)) > security(ticker, tostring(long_term), close)

plot(security(ticker, tostring(long_term), sma(close,ma_trend)), title="Long Term MA", linewidth=2)

// FALSE = BEAR

// TRUE = BULL


// MED TERM MOMENTUM

k = security(ticker, tostring(med_term), sma(stoch(close, high, low, length), smoothK))

d = security(ticker, tostring(med_term), sma(k, smoothD))


os = k >= OverBought or d >= OverBought

ob = k <= OverSold or d <= OverSold


// SHORT TERM MA X OVER

bull_entry = long_term_trend == false and os == false and ob == false and k > d and security(ticker, tostring(entry_position), crossover(sma(close, maSm), sma(close, maMed)))

bear_entry = long_term_trend == true and os == false and ob == false and k < d and security(ticker, tostring(entry_position), crossunder(sma(close, maSm), sma(close, maMed)))


bull_exit = crossunder(k,d)

bear_exit = crossover(k,d)


if (bull_entry)

    strategy.entry("Long", strategy.long, 10000)

    

if (bear_entry)

    strategy.entry("Short", strategy.short, 10000)

  

strategy.close("Long", when = bull_exit == true)

strategy.close("Short", when = bear_exit == true)

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(166)
Projeler
189
10%
Arabuluculuk
37
38% / 35%
Süresi dolmuş
5
3%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(41)
Projeler
46
28%
Arabuluculuk
9
0% / 100%
Süresi dolmuş
7
15%
Ücretsiz
3
Geliştirici 3
Derecelendirme
(259)
Projeler
533
50%
Arabuluculuk
54
41% / 37%
Süresi dolmuş
224
42%
Yüklendi
4
Geliştirici 4
Derecelendirme
(48)
Projeler
80
28%
Arabuluculuk
8
75% / 13%
Süresi dolmuş
41
51%
Ücretsiz
5
Geliştirici 5
Derecelendirme
(785)
Projeler
1351
72%
Arabuluculuk
109
28% / 49%
Süresi dolmuş
340
25%
Yüklendi
6
Geliştirici 6
Derecelendirme
(3)
Projeler
8
13%
Arabuluculuk
4
0% / 75%
Süresi dolmuş
1
13%
Yüklendi
7
Geliştirici 7
Derecelendirme
(40)
Projeler
86
13%
Arabuluculuk
29
31% / 48%
Süresi dolmuş
35
41%
Yüklendi
8
Geliştirici 8
Derecelendirme
(249)
Projeler
398
38%
Arabuluculuk
82
41% / 20%
Süresi dolmuş
69
17%
Meşgul
9
Geliştirici 9
Derecelendirme
(555)
Projeler
922
48%
Arabuluculuk
300
59% / 25%
Süresi dolmuş
123
13%
Yüklendi
Benzer siparişler
I currently have an EA (.ex5 file format) running happily on MT5 system. I would like someone to convert it to MQL4 (.ex4 file format) so that I can run that same EA on the MT4 system
Hello, I'm looking for a trade copier from MT5 to NT8. The copier should be able to: 1.) Open/closed trade based on the position in MT5. 2.) Fast executions of trades. 3.) Adjustable Lot Size
Hi all, I'm looking for the conversion of an indicator into an EA based around certain rules. I'm also looking for the EA to have a dynamic target/stop loss based on standard deviations with dynamic order sizing. Likely to be future work after this as well
I need Copy Trade program on MT5 to MT5 With Some Condition..... 1. Trade must be on Reverse (IF Master Buy then On Slave is Sell) 2. Custom Lots Size on Slave 3. Symbols Adjustment 4. TP and SL (on Slave TP and SL +.50 Added) 5. Open and Closed Order on Same time(Also On market Condition)
NEED A DEVELOPER TO CREATE AN INDICATOR USING MOVING AVERAGES AND TO LOCK IT SO THAT ITS NOT EDITABLE OR VALUES CHANGED. I NEED THE INDICATOR TO HAVE LOG IN DETAILS AND A TRIAL RUN, THE CODE WILL EXPIRE AFTER A CERTAIN PERION AND ANOTHER CODE MUST BE OBTAINED FOR THE INDICATOR TO WORK. I WILL PROVIDE THE SETTINGS
Alves bot 30 - 70 USD
I need a honest guy who can create a coded trading robot which can execute trades based on only 3 indicators RSI , MACD AND 2 EMA Iwill provide all the necessary settings needed for macd the rsi and ema. If the robot is not possible then i need someone who can combine all this indicators to work as one indicator to be providing entry points
Buenos días, estoy buscando desarrollar una EA que utilice los retrocesos de fibonacci. y sus extensiones ya que operando manualmente me ha dado buenos resultados, las condiciones son las siguientes: dibujar fibonacci entrada entre el nivel 78.60% y 88.00% stop loss en el nivel 120.00 % take profit entre el 0.00% y el -27.00% lotaje basado en los pips de distancia entre la entrada y el stop loss, siempre arriesgando
"I have a MetaTrader 5 file and I want to convert it to MetaTrader 4. Is there anyone who can easily and quickly help me complete this task? Please let me know, and I will assign this job to them."
EA with two types of trading strategy’s. Each to be turned off and on if I wish. Trading strategy 1 Variables #stoploss #virtual take profit distance for example 5,10,15,20 # only one trade placed at a time. 1m chart if current bar move 200pips in a direction then a buy or sell is placed depending on that direction. Stop loss to be 180 in opposite direction to the trade for example 200 bullish movement then
Scalping bot MT5 100 - 250 USD
Expert (Trading Robot) Scalping bot to trade off Support / Resistance lines Operating on MT5 Used on all Market Watch Symbols (Forex, Commodities, Indicies, Virtual Indicies) Bot must be able to start trading within seconds of being activated Programming to be precise for accurate execution Full detail to be sent to successful applicant

Proje bilgisi

Bütçe
50 - 200 USD
Geliştirici için
45 - 180 USD
Son teslim tarihi
from 1 to 14 gün