MT5 EA that monitors open positions and creates Pending orders for Y amount of time

MQL5 エキスパート

仕事が完了した

実行時間1 日
依頼者からのフィードバック
Hard working, and great expertise. More than 5 stars if I can!
開発者からのフィードバック
Good Customer

指定

Hello,

Can anybody help me program an EA (I don't need the code source) that will do the following:

  • Monitor open positions and create a pending orders After X distance:
 If I manually open 1 lot BUY EURUSD at 1.0000 and I specify X distance to be 200 points (0.00200):
  1.  Scenario 1, Main position is profitable; The EA should open a pending order in the same direction, BUY LIMIT, when the price reaches 1.00200. The new created pending order should have the main position entry price, which is 1.0000 So at the end, the pending order should open at 1.00200, BUY LIMIT  at 1.00000
  2.  Scenario 2, Main position is losing; The EA should open a pending order in the same direction, BUY STOP, when the price reaches 0.99800. The new created pending order should have the main position entry price, which is 1.0000 So at the end, the pending order should open at 0.99800, BUY STOP  at 1.00000

  •  Pending orders,positions (after they become position from pending orders) should be canceled /closed (killed) after Y amout of time (e.g. 60 seconds), even if they're profitable. 

  • All pending orders, positions (when they become position from pending orders) should have their own SL, TP. Break even, Trailing stop.
  • All pending orders should be reordered at the main position entry price, for Y amount of time (e.g. 60 seconds):
    1. Even when the main position is closed (if I manually close it, or an external EA closes it). 
    2. When the pending orders become a positions and close by TP, SL, Break even, Trailing stop

Here is what I am thinking:

  1. Monitoring time in milliseconds = xx ( in milliseconds)  ; time to monitor for opened position (that I manually open, or another EA opens)
  2. (X)Distance = xx (in points) ; Distance from which pending orders should be created
  3. Closing / expiration time (Y) (in seconds) = xx seconds
  4. MY SL =  xx (in points)
  5. My TP = xx (in points)
  6. Break Even; parameters
  7. Tailing stop; parameters
  8. Magic number = xxxxx 


EXAMPLE:

My setup is the following: (I will not be using break even, nor trailing stop to make it simple)

  1. Monitoring time in milliseconds = 5 ms
  2. X Distance = 100  points
  3. Y time (in seconds) = 120 seconds
  4. MY SL =  200
  5. My TP = 50
  6. Break Even = 0 (for all its values)
  7. Tailing stop = 0 (for all its values)
  8. Magic number = 4557
Here is what I expect from the new EA I need developed:
  • 00s An external EA just opened 1x EURUSD lot - SELL - at 1.000
  • 30 seconds later, the price reaches 1.00080, and the external EA closes the main position
  • 40 seconds later, the price reaches 1.00100, the new EA should open a new 1x lot - SELL STOP at 1.0000 with SL = 200, TP= 50
  • 50 seconds later, the prices reaches 1.0000, the pending order becomes a position
  • 60 seconds later, the price reaches 0.00950, the position (newly created position from pending order) closes BY TP=50
  • 60.005 seconds later, the new EA should open a new 1x lot - SELL LIMIT at 1.0000 with SL = 200, TP= 50
  • 70 seconds later, the prices reaches 1.0000, the pending order becomes a position.
  • 80 seconds later, the price reaches 1.00200, the second new position (newly created position from pending order) closes BY SL=200
  • 80.005 seconds later, the new EA should open a new 1x lot - SELL STOP at 1.0000 with SL = 200, TP= 50
  • 90 seconds later, the price reaches 1.0000, the pending order becomes a position.
  • 120 seconds later, the price is at 1.00100, The Y time has been reached, and the new EA should kill and close the position.

応答済み

1
開発者 1
評価
(620)
プロジェクト
680
57%
仲裁
25
16% / 60%
期限切れ
228
34%
2
開発者 2
評価
(94)
プロジェクト
148
59%
仲裁
16
38% / 13%
期限切れ
25
17%
類似した注文
Pinescript to MQL5 100 - 200 USD
READ IT URGENT, i need to complete this job in 1-2 day so APPLY it only if can do it, if some requirement is not clear tell me, im here, please be careful, i need this in 1-2 days, if you are not sure, not apply it, i dont want leave BAD FEEDBACKS please
Create hedging grid EA with my own logic. Add a Moving Avarage Filter. 2 engine with same logic. Sl TP by $ amount. Add Profit loss Dashboard Virtual all trade close Button
Hi There, my name is Jordan and I’m based in Australia. I’m looking to get an EA developed through freelance work and I’ve outlined some rough details of the intended EA, which is a similar concept to an existing EA by Andrii Hurin called “Time Range Sweep EA”. There are quite a lot of similarities to the reference EA and these include: · Trade on any market and instrument or on several pairs at the same time
Hello, Looking to create an arbitrage EA for MT5. The EA will run on two local MT5 instances (ex. 2 different accounts) and keep track of a certain pair price every 10 seconds. The EA will send data from instance #1 to instance #2 and vice versa. The EA will execute trades on the two accounts if a set of conditions are met. Apply if you have the experience and knowledge
I have an algo that is running on ProRealTime, they have their own language. It is a simple strategy with 5 conditions + SL/TP settings, very basic. I need someone that can convert or just create a functional MT5 algo (EA) from these conditions for me, if you do a good job I have around 10+ more algos that need to be transferred to MT5
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. Posted earlier
Dear Developers, I would have a very simple request. I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. The input would be a csv file that contains two columns: - dates (going back for a few years on a daily basis) - trading signal (it can have only 2 values, either 1: Buy, or -1
Good day i will need a developer to create an EA for me using existing trading view indicator .The EA will open after the indicator has given signal and will close if altenate signal comes.The trading view indicator will be shared and improvement is welcome
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
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

プロジェクト情報

予算
30+ USD
開発者用
27 USD