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
I need an Expert Advisor for MetaTrader 5 based on SMT and CISD strategy using NASDAQ and S&P500. Strategy logic: - The bot compares NASDAQ and S&P500. - Timeframe: 3 minutes. - First condition: One of the pairs must take liquidity from a previous high or low while the other pair does NOT take that liquidity (SMT divergence). - Second condition: The pair that took liquidity must close back below the high (or above
A robot 80+ USD
De breedste selectie betaalde en gratis robots, die een breed scala aan handelsstrategieën implementeren — selecteer degene die het beste bij uw handelsstijl past. Gedetailleerde productbeschrijvingen met screenshots en video's, maar ook recensies van andere kopers helpen u bij het maken van de juiste keuze. Profiteer van gratis tests om de producteigenschappen te evalueren voordat u het aanschaft. Uitgebreid prijzen
Cash Flow EA 30+ USD
I want a trading robot with proper risk management and good trading strategies it must make money ,place stop loss below the entry and place a take profit no loss only wins mostly trade major
Busco un robot para trading de scalping en oro o forex, el robot debe ser rentable en esos mercados, podemos automatizar mi estrategia basada en medias móviles con estrategia de scalping o bien si él desarollador tiene uno que funcione así y sea rentable podemos ver la opción de un demo o cuenta de lectura para estar seguros de la rentabilidad en el robot
MT4 EA TO TAKE TRADES FROM (A) HYDRA TREND RIDER AND (B) IQ GOLD GANN LEVELS ON MQL5.COM The MT4 version of these two indicators can be found on the mql5.com website with the following links: Hydra Trend Rider: https://www.mql5.com/en/market/product/111010?source=Site +Profile+Seller IQ Gold Gann Levels: https://www.mql5.com/en/market/product/134335?source=Site +Profile+Seller (1) ENTRY (a) Hydra Trend Rider
I have a strategy for US100 where I want a bot to trade according to my strategy, contact me who have proven experience in making bots for MT4 or MT5
I want a person who can help me to create bot. Setup would be 25 ema 50 ema cross over, when 25 ema cross 50 ema we will buy on upside and when it cross down side we will sell, condition is ADX I want to add ema of adx which I can explain in trading view only but I want to use this one in as a bot so how can we do it ? Need to do it in mt5 platform
I am currently looking to purchase a ready-made MT5 Expert Advisor designed specifically for prop firm trading . Requirements: Strategy must be safe for prop firm rules Maximum daily drawdown: below 4% Maximum overall drawdown: below 8% Target performance: 10% monthly return No martingale or high-risk grid strategies Must be able to run consistently on MT5 Purchase Conditions: I will require full source code (.mq5)
أنا أبحث عن مبرمج محترف لإنشاء روبوت تداول (Expert Advisor) يعمل على منصة MetaTrader 4 أو MetaTrader 5. مواصفات الروبوت: يعمل على زوج XAUUSD (الذهب) يفتح صفقة شراء أو بيع حسب الإشارة يعتمد على مؤشرين: Moving Average RSI عندما يتقاطع الموفينغ أفريج مع الاتجاه ويؤكد مؤشر RSI يتم فتح الصفقة. إدارة المخاطر: تحديد Stop Loss تحديد Take Profit عدم فتح أكثر من صفقة في نفس الوقت إمكانية تغيير الإعدادات بسهولة. مطلوب: كود نظيف
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session

Información sobre el proyecto

Presupuesto
30+ USD