Expert Advisor based on Tradingview Strategy

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 14 giorni

Specifiche

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)

Con risposta

1
Sviluppatore 1
Valutazioni
(170)
Progetti
193
11%
Arbitraggio
37
38% / 35%
In ritardo
5
3%
Caricato
2
Sviluppatore 2
Valutazioni
(41)
Progetti
46
28%
Arbitraggio
9
0% / 100%
In ritardo
7
15%
Gratuito
3
Sviluppatore 3
Valutazioni
(266)
Progetti
540
50%
Arbitraggio
55
40% / 36%
In ritardo
224
41%
Gratuito
4
Sviluppatore 4
Valutazioni
(48)
Progetti
80
28%
Arbitraggio
8
75% / 13%
In ritardo
41
51%
Gratuito
5
Sviluppatore 5
Valutazioni
(803)
Progetti
1374
72%
Arbitraggio
113
28% / 48%
In ritardo
342
25%
In elaborazione
6
Sviluppatore 6
Valutazioni
(6)
Progetti
10
10%
Arbitraggio
9
0% / 78%
In ritardo
1
10%
In elaborazione
7
Sviluppatore 7
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
30
30% / 53%
In ritardo
36
41%
In elaborazione
8
Sviluppatore 8
Valutazioni
(256)
Progetti
415
38%
Arbitraggio
86
44% / 19%
In ritardo
70
17%
Occupato
9
Sviluppatore 9
Valutazioni
(563)
Progetti
932
47%
Arbitraggio
302
59% / 25%
In ritardo
124
13%
Occupato
Ordini simili
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

Informazioni sul progetto

Budget
50 - 200 USD
Per lo sviluppatore
45 - 180 USD
Scadenze
da 1 a 14 giorno(i)