A simple EA with a not too simple TrailingStop

仕事が完了した

実行時間17 日
依頼者からのフィードバック
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!
開発者からのフィードバック
Very smart and good person. It was nice working with him. I hope for further cooperation. thank

指定

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 ;)

応答済み

1
開発者 1
評価
(54)
プロジェクト
53
17%
仲裁
7
0% / 100%
期限切れ
5
9%
2
開発者 2
評価
(277)
プロジェクト
334
55%
仲裁
14
36% / 29%
期限切れ
1
0%
3
開発者 3
評価
(2660)
プロジェクト
3380
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
4
開発者 4
評価
(49)
プロジェクト
134
27%
仲裁
62
13% / 53%
期限切れ
58
43%
パブリッシュした人: 310 articles, 1 code
5
開発者 5
評価
(169)
プロジェクト
204
30%
仲裁
25
40% / 44%
期限切れ
12
6%
6
開発者 6
評価
(258)
プロジェクト
396
28%
仲裁
69
19% / 49%
期限切れ
121
31%
仕事中
7
開発者 7
評価
(250)
プロジェクト
460
26%
仲裁
140
20% / 59%
期限切れ
100
22%
仕事中
8
開発者 8
評価
(66)
プロジェクト
95
28%
仲裁
20
25% / 55%
期限切れ
24
25%
9
開発者 9
評価
(144)
プロジェクト
285
42%
仲裁
19
63% / 5%
期限切れ
29
10%
パブリッシュした人: 2 codes
10
開発者 10
評価
(568)
プロジェクト
657
32%
仲裁
41
41% / 46%
期限切れ
11
2%
多忙
11
開発者 11
評価
(171)
プロジェクト
195
42%
仲裁
13
8% / 54%
期限切れ
9
5%
パブリッシュした人: 3 codes
12
開発者 12
評価
(1931)
プロジェクト
3552
88%
仲裁
73
40% / 15%
期限切れ
268
8%
類似した注文
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
Pip Scalper Bot 60+ USD
i want a trading bot that is aleast 98% sure,and cam also do scalping 99% correct using smart money concept, ICT, ALL technical analysis on it and also put risk management on it
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
I’m looking for an experienced NinjaTrader developer to complete an existing custom indicator. The project is already partially built and is well organized, completely functional, and well documented. The former developer experienced some personal difficulties and unfortunately cannot continue. Key Requirement (Read Carefully): You MUST have direct, hands-on experience with NinjaTrader and NinjaScript (C#) . This is
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower

プロジェクト情報

予算
50 - 150 USD
締め切り
最低 3 最高 10 日