032518 Request

MQL5 Asesores Expertos

Tarea técnica

is modification request is centered around creating "as needed" limit orders created until the desired pips goal "y" is obtain.  Meaning, 
limit order positions are created until the "y" is obtained.

<Start position>

The opening positions are a limit "buy" position and a limit "sell" position opened "x" pips away from the current price.

Example-1, let's say EUR/USD is currently @ 1.1000 and x=10

A limit buy position will be placed @ 1.1010
-AND-
A limit sell position will be placed @ 1.0990

<Closure>

The closure of these positions is determined by "y".

Example-2, let's say EUR/USD is currently @ 1.1000 and x=10 y=10

A buy limit position will be placed @ 1.1010
-AND-
A sell limit position will be placed @ 1.0990

If the buy position is opened @ 1.1010, then the closure will be 10 pips -- as determined as "y".
In this case, it will be 1.1020 and the position will be closed along with the removal of the sell limit order @ 1.0900 even
though it was never opened.

<Process>

When a set of limit orders are placed and both the buy and sell orders are opened prior to reaching "y", this is called a "grid lock".  Thus, when a "grid lock" happens, 
an additional set of limit orders are placed--an additional set of buy and sell limit orders.  The placement of the additional set is "x" away from the 1st set of limit orders.

Example-3, let's say x=10 y=10 using Example-1

A buy limit position was placed @ 1.1010 and was opened and did not reach "y"
-AND-
A sell limit position was placed @ 1.0990 and was opened and did not reach "y"

A 2nd set of limit orders are placed "x" away from the 1st set of limit orders.  In this case this would be the following:

A buy limit position placed @ 1.1020 since it is "x" away from the 1st buy limit order @ 1.1010.
-AND-
A sell limit position placed @ 1.0980 since it is "x" away from the 1st sell limit order @ 1.0990.


<Closure>

With the limit orders reaching its 2nd set, the "closure" would be determined by "y".  Remember "y" is the net positive difference off all present opened position.
Once "y" is achieved, all positions are closed and removed.  Thus, ending this cycle.

Example-4

Continuing fomr Example-3
In the 2nd set of limit orders placed, the buy position was opened @ 1.1010 and reached "y". In this case, "y" will be @ 1.1050
sell-1 opened @ 1.0990 closed @ 1.1050 = -60 pips
sell-2 never opened n/a
buy-1 opened @ 1.1010 closed @ 1.1050 = +40 pips
buy-2 opened @ 1.1020 closed @ 1.1050 = +30 pips
----------------------------------------------------------
    Sum = +10 pips
      y = 10 pips

Once "y" is achieved, the "cycle" starts again in Example-1.


<Additional set of limit orders>

Since the market is the market, the total number of "grid locks" occuring will always change.  Thus, the number of sets of limit orders needed to achieve "closure" can vary.
Thus, whenever a "grid lock" happens, an additional set of limit orders is placed. 
If after a new set of limit orders is placed and a "grid lock" doesn't occur, then the next focus would be "Y". "Y" is the total sum of all present opened positions.

<Summary>

This is the process of this request.  It is as follows:

1. |START|

2. Define "X" and "Y" 

3. Place 1st set of limit orders 

4. Did Grid Lock occur? Yes or No

5. If No, proceed to "closure" determined by "Y".  Cycle Ends.  Start over.

6. If Yes, place 2nd set of limit orders. Placement of orders is determined by "X".

7. Did Grid Lock occur? Yes or No

8. If no, proceed to "closure" determined by "Y".  Cycle Ends.  Start over.

9. If yes, place 3rd set of limit orders.  Placement of orders is determined by "X".

10. Did Grid Lock occur? Yes or No.

11.  Repeat this process as needed until there is no "Grid Lock" and "Y" is achieved.


<Significance of Montiero_ea>

In the already provided robot "Montiero_ea" I would like to keep the following variables:
nCycles
Base
Magic

nCycles is number of times you want the robot to complete a closure.
Base is using the balance to determine the number of "lots" for the limit orders.
Magic is the instance number used.

I forsee (as an example) of the following to be the variables|value for this robot request

Variables Value
_1_ __EA Settings__
nCycles Same as Montiero_ea
currencyPair Same as Montiero_ea
Base Same as Montiero_ea
X see example above
Y see example above
Magic Same as Montiero_ea

<END>

If there is any clarification needed on any part of this, please let me know and I will provide greater clarity.

Han respondido

1
Desarrollador 1
Evaluación
(94)
Proyectos
148
59%
Arbitraje
16
38% / 13%
Caducado
25
17%
Libre
Ha publicado: 1 ejemplo
Solicitudes similares
Acrylic-bot 30 - 800 USD
Creating this robot to help trade for you.It all about making profit. A robot that can change lives help people make profits. It’s not just a bot but the way to the future
I need very small modification in MQL4 code, details will be send for selected programmers. Source of code required. Thank you for your patience and attention, Have a nice day! I prefer programmers who will be accepting crypto payment on next project, so please write me in first message if you will be able to accept crypto in the future
Ready hft bot 100+ USD
hello great developer We want a bot like this that flips small accounts We need a bot that works live account and flips small accounts but places 2 direction buy stop and sell stop at the same time brother
SavannaFX Pro 100+ USD
//+------------------------------------------------------------------+ //| SavannaFX Pro | //| Created for Junior | //+------------------------------------------------------------------+ #property strict input int FastMA = 20; input int SlowMA = 50; input int RSIPeriod = 14; input double LotSize = 0.1; input int StopLoss = 300; input int TakeProfit = 600; int
Recent EA 30+ USD
PROP-FIRM FOREX EA (SAFE MODE) 1. EA OBJECTIVE Develop a low-drawdown, high-discipline Forex EA designed to: Pass prop-firm challenges Respect strict risk rules Trade consistently, not aggressively 2. TRADING STYLE Strategy type: Trend continuation + pullback No scalping noise No martingale No grid No hedge abuse 3. TIMEFRAME & SESSIONS Primary TF: M15 Confirmation TF: H1 Trading sessions: London Open → London Close
How long would it take to install automated trading on Ninjatrader and what information would you need ? It urgent if anyone can help with this kind do well by biding to this project and let discuss more
Specification Hi Free lancers, I need an EA which relates to Sure Fire Hedging EA base on Below parameters needed. Overview how it works: This EA will be able to open a trade with either Buy or Sell selection (manual- to be manually switch buy or sell selection ), another selection for automatic open trading can choose only buy. Once the EA already open trade (example -buy position) with starting lot size 0.01
Hedge Lot Plus EA Descriptions: (New EA) 1- The necessary explanations, documentation, and working principle details will be provided after the contract is signed. 2- The chart, button, and dashboard- template sample code will be provided. 3- There is no indicator. and work principle is easy. ** After the contract is signed,sampe code, a sample EA for "Hedge Lot Plus EA" and detailed information about the working
Experienced developer needed for a $100 project. I need to build three trading bots to copy signals from a Telegram channel and execute them on a trading account. The first bot will be used in the second and third bots as well, with some minor modifications. I will pay $40 for the first bot, $30 for the second, and $30 for the third. Contact me for details
1- Parts to Be Updated in Universal EA: 1- For Mode 2 (No Indicator Mode), a candle count parameter will be added for pivot breakout. The EA will determine how many candles after the pivot breakout it will add a position based on this parameter. 2- In Mode 1 (MA Mode), we will fix the error in one of the "Select Take Profit" modes called "Kill Position + Clean One by One." 3- We will fix the errors in Recovery Mode

Información sobre el proyecto

Presupuesto
30+ USD