Spécifications
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.
Répondu
1
Évaluation
Projets
148
59%
Arbitrage
16
38%
/
13%
En retard
25
17%
Gratuit
Publié : 1 code
Commandes similaires
Great Martingale with Series
30+ USD
The Great Martingale and Classic Martingale will be coded selectively in one . The Coder should know well both of Great and Classic Martingale and calculation of both of their lot sizing. Should understand the below Formulas of lot sizing after one loss or consecutive loses. if not understand the below please do not apply . A different trailing stop which calculates all profits/losses in a serie will be applied
Our advanced automated trading robot is designed to analyze the financial markets and execute trades without requiring constant manual intervention. Using intelligent algorithms, it monitors market trends, price movements, and technical indicators in real time to identify potential trading opportunities. The robot automatically opens, manages, and closes trades based on its predefined strategy, helping to remove
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
Fx tp
30+ USD
# Safe Forex Bot Example (conceptual) def forex_bot(price_data): # Strategy: Moving Average Crossover short_ma = moving_average(price_data, 20) long_ma = moving_average(price_data, 50) if short_ma > long_ma: place_trade("BUY", risk=0.02, stop_loss=30, take_profit=60) elif short_ma < long_ma: place_trade("SELL", risk=0.02, stop_loss=30, take_profit=60) # Risk management: max drawdown 25% if
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the
Qut GoldScalper VIP
30+ USD
Qut GoldScalper VIP EA (frequently referred to in trading circles and third-party stores as Gold VIP / GoldScalper VIP , developed by Nguyen Chung) is a fully automated Expert Advisor (EA) designed exclusively for trading Gold ( XAUUSD ) on the MetaTrader platforms. Unlike primitive grid or martingale bots that blindly multiply trades, this system relies on a blend of trend filtering and progressive position scaling
I'm looking for an experienced Python developer with a strong understanding of market microstructure, order flow, and electronic trading to help build a research-driven gold trading system. This is not a typical indicator or retail trading bot. The project focuses on analysing COMEX Gold Futures Market-by-Order (MBO) data to detect institutional order-flow behaviour and generate trading signals for XAUUSD (MetaTrader
WORKING EA
35+ USD
I Need an existing proven profitable EA. EA should have at least 3 months track record of consistency. My budget is $35 and nothing more. If you do not have the working EA for that amount, please do not apply. I'm not paying a dime more. Again do not apply if you are not willing to take the above amount
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
Informations sur le projet
Budget
30+ USD