A simple EA with a not too simple TrailingStop

Lavoro terminato

Tempo di esecuzione 17 giorni
Feedback del cliente
Sergey is probably the most skilled Coder here, he took his time to understand what I want and turned it into an EA, that does exactly what I want it to do. I'll definitely be back for my next Idea!
Feedback del dipendente
Very smart and good person. It was nice working with him. I hope for further cooperation. thank

Specifiche

Inputs:

OnNewCandle        M1, M5, M15, ... MN
Lotsize                   Lotsize
Distance                 Distance from Price for both directions in points
TakeProfit               0=None (=TrailingStop) in points
StopLoss                0=None in Points
MaxPositions          No. of max. positions
Timeout                  0-59 minutes in case a pending order is not triggered or deleted
MagicNumber        to allow it working on other instrumets too

EnableDouble        Yes/No (Checkbox)
DoubleLotsize        Lotsize for Double Position
DoubleTakeProfit    TakeProfit for Double Position 0=None (=TrailingStop) in points
DoubleStopLoss     StopLoss for Double Position 0=None in points

TrailingStart            Start trailing after profit in points
TrailingDistance      initial TrailingDistance below/above price in points

....................................................

The EA should open one Buy Stop and one Sell Stop order simultaneously on every
new candle specified in the OnNewCandle variable regardless the timeframe it
runs on, as long as MaxPositions allows it, with the specified Distance, Lotsize
TakeProfit, StopLoss and Timeout ... for the Instrument it is attached to
Then, if either one of these Stop orders is triggered (becomes a position) and
EnableDouble=Yes it opens another market position in the same direction with
the specified DoubleLotsize, DoubleTakeProfit and DoubleStopLoss at the current
price ... then closes the other (opposite) pending order.
In case a pending order can't be deleted or none of both is triggered, it (they) will
Timeout after xx minutes as specified in Timeout

TrailingStop should be a virtual TrailingStop which after reaching the
TrailingStart amount of profit, decreases TrailingDistance for every price
movement of one point in any direction for one point ... means if
TrailingStart i.e at 100 points of profit is triggered, it starts with a
TrailingDistance of i.e. 75 points ... then price goes up 15 points and down 10
points, TrailingDistance will be decreased by 25 points to 50 points ... until
the position is closed when a TrailingDistance of 0 is reached.
TrailingStop should trail all positions without a TakeProfit from its Instrument
including manually opened positions.

The EA will be used on a VPS and with 5 digit Instruments only and with no more
than about 3 Instruments.

As my Intentions to order this EA are 1. to have something to start automated
trading with and 2. to learn writing and optimizing EA's myself, I want it
delivered with a source code listing or as a .mq5 file to compile it myself.

Yeah ... it's name should be 369 ;)

Con risposta

1
Sviluppatore 1
Valutazioni
(54)
Progetti
53
17%
Arbitraggio
7
0% / 100%
In ritardo
5
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(277)
Progetti
334
55%
Arbitraggio
14
36% / 29%
In ritardo
1
0%
Gratuito
3
Sviluppatore 3
Valutazioni
(2676)
Progetti
3414
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
Pubblicati: 344 articoli, 1 codice
5
Sviluppatore 5
Valutazioni
(169)
Progetti
204
30%
Arbitraggio
25
40% / 44%
In ritardo
12
6%
Gratuito
6
Sviluppatore 6
Valutazioni
(258)
Progetti
396
28%
Arbitraggio
70
19% / 49%
In ritardo
121
31%
In elaborazione
7
Sviluppatore 7
Valutazioni
(252)
Progetti
462
26%
Arbitraggio
139
20% / 60%
In ritardo
100
22%
Gratuito
8
Sviluppatore 8
Valutazioni
(66)
Progetti
95
28%
Arbitraggio
20
25% / 55%
In ritardo
24
25%
Gratuito
9
Sviluppatore 9
Valutazioni
(144)
Progetti
285
42%
Arbitraggio
19
63% / 5%
In ritardo
29
10%
Gratuito
Pubblicati: 2 codici
10
Sviluppatore 10
Valutazioni
(620)
Progetti
724
34%
Arbitraggio
46
48% / 41%
In ritardo
14
2%
Caricato
11
Sviluppatore 11
Valutazioni
(171)
Progetti
195
42%
Arbitraggio
13
8% / 54%
In ritardo
9
5%
Gratuito
Pubblicati: 3 codici
12
Sviluppatore 12
Valutazioni
(1931)
Progetti
3552
88%
Arbitraggio
73
40% / 15%
In ritardo
268
8%
Gratuito
Ordini simili
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA

Informazioni sul progetto

Budget
50 - 150 USD
Scadenze
da 3 a 10 giorno(i)