An expert advisor from a pine script

MQL4 Experten

Auftrag beendet

Ausführungszeit 4 Tage

Spezifikation

I am seeking help writing an MQL4 EA based off a pine script strategy I made.


//@version=4

strategy("VWAP Strategy", overlay=false)

 

// === VWAP===

plot(vwap, color=color.white, title="vwap")

 

// === RSI Bar Color ===

sources = close, lengths = input(14, minval=1, title="Length")

upward = rma(max(change(sources), 0), lengths)

downward = rma(-min(change(sources), 0), lengths)

rsi = downward == 0 ? 100 : upward == 0 ? 0 : 100 - (100 / (1 + upward / downward))

 

 

src1 = close, len1 = input(55, minval=1, title="UpLevel")

src2 = close, len2 = input(45, minval=1, title="DownLevel")

isup() => rsi > len1

isdown() => rsi < len2

barcolor(isup() ? color.blue : isdown() ? color.yellow : na )

 

// === Tillson 3 ===

 

length1 = input(8, "T3 Length")

a1 = input(0.7, "Volume Factor")

 

e1 = ema(close, length1)

e2 = ema(e1, length1)

e3 = ema(e2, length1)

e4 = ema(e3, length1)

e5 = ema(e4, length1)

e6 = ema(e5, length1)

c1 = -a1 * a1 * a1

c2 = 3 * a1 * a1 + 3 * a1 * a1 * a1

c3 = -6 * a1 * a1 - 3 * a1 - 3 * a1 * a1 * a1

c4 = 1 + 3 * a1 + a1 * a1 * a1 + 3 * a1 * a1

T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3

 

col1 = T3 > T3[1]

col3 = T3 < T3[1]

color_1 = col1 ? color.green : col3 ? color.red : color.yellow

plot(T3, color=color_1, linewidth=3, title="T3")

 

 

 

// === STRATEGY RELATED INPUTS ===

tradeInvert     = input(defval = false, title = "Invert Trade Direction?")

// the risk management inputs

inpTakeProfit   = input(defval = 200, title = "Take Profit", minval = 0)

inpStopLoss     = input(defval = 500, title = "Stop Loss", minval = 0)

inpTrailStop    = input(defval = 0, title = "Trailing Stop Loss", minval = 0)

inpTrailOffset  = input(defval = 0, title = "Trailing Stop Loss Offset", minval = 0)

 

// === RISK MANAGEMENT VALUE PREP ===

// if an input is less than 1, assuming not wanted so we assign 'na' value to disable it.

useTakeProfit   = inpTakeProfit  >= 1 ? inpTakeProfit  : na

useStopLoss     = inpStopLoss    >= 1 ? inpStopLoss    : na

useTrailStop    = inpTrailStop   >= 1 ? inpTrailStop   : na

useTrailOffset  = inpTrailOffset >= 1 ? inpTrailOffset : na

 

// === STRATEGY RISK MANAGEMENT EXECUTION ===

// finally, make use of all the earlier values we got prepped

strategy.exit("Exit BUY", from_entry = "BUY", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)

strategy.exit("Exit SELL", from_entry = "SELL", profit = useTakeProfit, loss = useStopLoss, trail_points = useTrailStop, trail_offset = useTrailOffset)

 

 

 

longCondition = (close>vwap) and (vwap > vwap[1]) and (T3 > T3[1]) and (isup())

if (longCondition)

    strategy.entry("BUY", strategy.long)

shortCondition = (close<vwap) and (vwap < vwap[1]) and (T3 < T3[1]) and (isdown())

if (shortCondition)

    strategy.entry("SELL", strategy.short)


Bewerbungen

1
Entwickler 1
Bewertung
(849)
Projekte
1454
72%
Schlichtung
122
29% / 48%
Frist nicht eingehalten
356
24%
Arbeitet
Veröffentlicht: 3 Artikel
2
Entwickler 2
Bewertung
(38)
Projekte
50
10%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
8
16%
Frei
3
Entwickler 3
Bewertung
(12)
Projekte
12
25%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
5
Entwickler 5
Bewertung
(132)
Projekte
178
39%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
14
8%
Frei
6
Entwickler 6
Bewertung
(41)
Projekte
46
28%
Schlichtung
9
0% / 100%
Frist nicht eingehalten
7
15%
Frei
7
Entwickler 7
Bewertung
(468)
Projekte
486
75%
Schlichtung
6
67% / 17%
Frist nicht eingehalten
0
Arbeitet
Ähnliche Aufträge
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was
Rsi divergence 30+ USD
You need to create an EA that executes buy and sell based on the signals of an rsi divergence indicator in trading view. The indicator is not in MT5 and must be added separately. pine script availabel
I WANT A TRADING ROBOT WITH GOLD STRATEGY THAT COULD TAKE ME TO 1MILLION$ TODAY,PLEASE KINDLY GENERATE THE BOT, DEBUGG COMPILE AND THEN GIVE ME WHEN EVER YOU ARE READY, ILL BE WAITING THANK YOU

Projektdetails

Budget
30 - 100 USD
Ausführungsfristen
von 1 bis 3 Tag(e)