Terminal CloseAll open trades using a trailing stop to catch profits.

MQL5 エキスパート

仕事が完了した

実行時間19 時間
依頼者からのフィードバック
Really, really fast and did aspects of development that other developers find difficult. Top developer!
開発者からのフィードバック
Clear and Detailed job specifications. Fast testing and confirmation. Best.

指定

 

Outline

I just want a simple EA that closes all open trades on a terminal and shows the current input values (for the trigger level and trail) on the chart.  There should also be an emergency button to “Close All”.

If either of these trigger the Close All action, Algo trading on the terminal should be switched off.

I use a group of trending EA's that often collectively go into profit, only to watch the profit disappear when the trend retraces, usually hitting stop losses, so the profit becomes a loss.

So, I want to experiment with a trailing stop on the open profit and close all open trades.  Trading should then stop and Algo trading should be switched off.

It's like treating the complete portfolio of EA's as a single trade.

The EA should have two functions

1.       A profit Trail.

2.      An emergency “Close All” button to be used manually.

The Profit Trail

The EA should have inputs for:

Profit to trigger the trailing stop (just an integer).

The trail amount also just an integer.

So, the Input for the trigger amount might be 10 (using the currency of the terminal) so for me this would be £10.

Trail amount input might be 5 (£5)

If the overall profit of the collective trades on the terminal reaches 10 the trail will be triggered. If the profit figure falls back to 5, all trades should be closed and Algo trading switched off. Usually a trailing stop gets hit for an ordinary trade.  We live in hope and there should be no upper limit on the profit reached if it just keeps going in the right direction.

There should be a display on the chart, as below

Profit Trigger 10

Trail Profit 5

I tend to use a lot of EAs which may also have multiple trades each.  So for instance a single magic number could have more than 10 associated trades.

Over all there could be hundreds of open trades achieving small profits and losses. Hopefully net profit loss for this scenario.

The EA’s all have their own operating hours allowed.  So I want to be able to switch on Algo trading on the terminal and the EA’s will then pick up with new trades when their operating hours allow. I don’t want to have to go into each EA and set them back to trading again!

Emergency “Close All”

Clicking the button should close all open trades and switch off Algo trading on the terminal.

Display on Chart

Something very like this (See zipped word requirements for the suggested display)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Commercial requirements

 

I have looked for something like this on the Metatrader Market but none of the ones that I have tried work properly.  Or others have had too much complexity added.

 

I want delivery of the ex5 file as well as the mq5.

 

Please be aware that I plan to give this away to friends of mine, if I think that it could add value and if they want it! 

 

Feel free to put your details somewhere on the chart (no larger than font size 16) and in the code.

 

Feel free to give this away on the Metatrader market but please don’t charge for it.  Treat it like a marketing giveaway.

 

 

Thanks

 

Ian Fraser


ファイル:

応答済み

1
開発者 1
評価
(74)
プロジェクト
121
43%
仲裁
12
33% / 50%
期限切れ
17
14%
2
開発者 2
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
3
開発者 3
評価
(368)
プロジェクト
398
70%
仲裁
3
100% / 0%
期限切れ
2
1%
取り込み中
4
開発者 4
評価
(63)
プロジェクト
84
26%
仲裁
23
22% / 48%
期限切れ
23
27%
類似した注文
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode

プロジェクト情報

予算
30+ USD
VAT(付加価値税) (23%): 6.9 USD
合計: 36.9 USD
開発者用
27 USD