EXPERT TO TAKE BIDS USING % PROJECTION OF CURRENT DISTANCE TO SELL AT TOP AND BUY AT BOTTOM

指定

I want to create an expert advisor that will use an estimated distance (in absolute figure or %)  between the lowest and highest price position to take bids depending on the market Direction. The variables will consider the following:

1.    projected distance between highest and lowest price

2.    updated distance ie actual distance between current highest and lowest

3.     current lowest price

4.     current Highest price

5.    Bid lot sizes in three conditions (a) to remain same (b) To increase by addition  (c)  To increase by multiplication

6.    minimum distance before it activates bids

7.    activate market Direction upwards or downwards EG if market lowest price does not change and highest price changes then Direction is UPWARDS, but if market lowest price changes last then Direction is DOWNWARDS

8.    Direction will change once market crosses the average of the distance between highest and lowest prices

9.    There will be four categories of distance in prices (a) short-term minimum (b)  short-term maximum (c) long-term minimum and (d) long-term maximum

10.  Bids can only activate when they reach short term minimum in same direction until it reaches (higher of (long-term minimum and short Minimum

11.  Bids going against Direction will activate at short term maximum against the direction to a maximum of long term maximum

12.   if market Direction reverts ie after crossing the midpoint against the current direction, then Direction would change and bids condition will activate according to the new Direction using the extreme prices of the previous Direction and the midpoint

13.  Bids will have the option of closing when projected distance between highest and lowest price is achieved or not.

 

 So in summary when the expert advisor is installed it begins to identify the lowest and the highest prices the direction is determined by which price is currently changing between the highest and lowest prices. Once the minimum short-term distance is achieved, the expert advisor activate bids using the gap and towards the direction. BUY if Direction is UPWARDS, example If HIGH price is changing or SELL when price is falling DOWNWARDS and lowest price is changing. Robot will activate a reversal bids at percentage of current distance between highest and lowest and a direction bid using the minimum distance. First reversal bids will be based on minimum short term distance and a percentage of daily adjusted distance. Different lot sizes would be used for Direction bids and reversible bids. All reversal bids must have a minimum distance of 50% short-term maximum for it to activate. If market movements reach the minimum long-term distance then it will reduce bids towards the direction example double the distance between bids to activate new bids as well as use lower lot sizes by then.

 

EXAMPLE OF DESIGN.

Product = AUDJPY, Projected Distance= 4, Start price = 94.5, minimum Low 0.5, Maximum Low= 1.5, Minimum High= 2, Maximum High =  6,  Minimum distance for bid to activate= 1.0. Data below for Day 1-15. Using Daily Highest and Lowest prices and 96.2

 


AUDJPY                                                                                                                                                  DAY     1        2              3              4              5              6              7              8              9          10        11      12        13   14     15       

HIGH   94.8   95.5        95.8        95.95      96.25      95.6        95.4        96.1        95.6    96.55   97.4    97.5   98   98.4                 99

LOW   94.1    94.5        94.6        94.62      94.9        94.8        94.7        94.99      94.99   95.4   95.99   96.6  97   97    97.5

Day 0/ Day 1

Robot  starts at Start price of 94.5(on Day 0)  and goes to low of 94.1, and then High of 94.8 on Day 1. Minimum distance to activate bid is 1, so Current low is now 94.1 and Current Highest is 94.8. BUY at 95.1, SELL at 93.8.

Day 2

Highest at 95.5 and Lowest at 94.5. Using the condition specified, Cumulative LOWEST still remains 94.1, and  Cumulative HIGHEST is now 95.5.  So Direction of market is UPWARDS.  So Buy will activate at 94.1+1=95.1 (First bid) and then future gaps of minimum Low (0.5) ie 95.6. upwards (if bid is based on gap, or can activate based on % of current distance between Highest and lowest prices) . And SELL will be activating at the top of the BUY bids.

NOTE VERY IMPORTANT. At Day 1, Distance is now 94.8-94.1=0.7. So Using condition of 0.7 as 100%, Robot will SELL at 100% to 150% of 0.7, and BUY at 0% to 100% if Highest price changes in DAY 2.

If Lowest price changes in Day 2, then Robot will SELL at 0% to 100% and BUY at 0% to -50% of 0.7 gap. Distance between bids will be determined by % or actual price gap distance for Direction and against direction.

So BUY will activate from 94.1 to 94.8 on Day 2, and SELL will activate between 94.8 and 95.5 in Day 2.

Day 3

Highest at 95.8 and Lowest at 94.6. Using the condition specified, Cumulative LOWEST still remains 94.1, and  Cumulative HIGHEST is now 95.8.  So Buy will activate at 94.1+1=95.1 (First bid) and then future gaps of minimum Low (0.5) ie 95.6. upwards. And SELL will be activating at the top of the BUY bids.

So BUY will activate from 94.1 to 95.5 on Day 3, and SELL will activate between 95.5 and 95.8 in Day 3.

Day 4

Highest at 95.95 and Lowest at 94.62. Using the condition specified, Cumulative LOWEST still remains 94.1, and  Cumulative HIGHEST is now 95.95.  So Buy will activate at 94.1+1=95.1 (First bid) and then future gaps of minimum Low (0.5) ie 95.6. upwards. And SELL will be activating at the top of the BUY bids.

So BUY will activate from 94.1 to 95.8 on Day 4, and SELL will activate between  95.8 and 95.95 in Day 4.

Day 5

Highest at 96.25 and Lowest at 94.9. Using the condition specified, Cumulative LOWEST still remains 94.1, and  Cumulative HIGHEST is now 96.25.  So Buy will activate at 94.1+1=95.1 (First bid) and then future gaps of minimum Low (0.5) ie 95.6. upwards. And SELL will be activating at the top of the BUY bids.

So BUY will activate from 94.1 to 95.95 on Day 5, and SELL will activate between 95.95 and 96.2 in Day 5.

And so on and so forth until Highest distance is achieved Upwards or if market reverts downwards to reach the Maximum distance. Once Maximum distance is achieved, it closes all outstanding bids and starts all over again using the current price as starting price and then the High and Lowest price of the Day, or next Day For taking new bids.

Using the above variables, If lowest price remains 94.1, and projected distance is 4, then EA will close all bids at 94.1+4= 98.1 as much as prices doesn’t go below 94.1. Once it closes all bids at 98.1, it can restart a new cycle at 98.1 and use the same condition to continue.

As above you can see that 98.1 was achieved on Day 14, when we have HIGH of 98.4 and Low of 97. So it closes all Bids by then and  start a new cycle with start price at 98.1, and then uses Day 14 as High and Low or Day 15 as High and Low for Day 1, and then contuse another cycle. 

 

The Plan and concept of the EA is to take bids towards the direction using the current gap and against the direction at an estimated gap. Also NOTE that the EXAMPLE is based on taking direction bids at 100%.

If Direction bids is taken at 80% for example, then i can only BUY from 0% to 80% range of current Cumulative prices while i SELL at 100% to 150% based on 50% external gap bid.

So the % gaps should be set as variables to enable adjustments to determine the range to BUY and the range to SELL from the EXTREME CUMULATIVE position.

 

I believe this is well explained and can be done within the minimum budget and time.


反馈

1
开发者 1
等级
(311)
项目
557
35%
仲裁
79
32% / 43%
逾期
202
36%
工作中
2
开发者 2
等级
(7)
项目
9
0%
仲裁
3
33% / 67%
逾期
2
22%
空闲
相似订单
🔥 Overview Gold Visual Trendline Smart DCA EA is a powerful automated trading system designed specifically for XAUUSD on M1 timeframe . It combines multiple trading concepts into one intelligent system: Dynamic Support & Resistance Automatic trendline detection Candlestick pattern recognition Multi-timeframe trend prediction Smart DCA recovery strategy This EA does not trade randomly — it analyzes market structure
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
Double ma 30+ USD
Create an EA on moving averages. The EA will open a trade when the price is above the averages. It will open another when it is below the averages. Ability to work on any timeframe. Ability to use a news filter and a martingale...or to work on a grid
There is a programming god without EA here. I want to find someone to make an EA to operate gold and silver. There is a model, but it can't run. So I want to find someone to make professional improvements to make my EA run. If you are interested, you can WECHAT: 15113958263. Please note EA when adding friends
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Hello! I want to buy two indicators: A Support and Resistence Indicator and a Trendline Indicator. Support and Resistence Indicators needs to automatically draws Support and Resistance lines based on High and Low Candle in every time-frame (If possible time-frame needs to be in inputs and choose by me what time-frame i want indicator to draw lines) Trendline Indicator needs to automatically draws Trendline Channels
Title: SEEKING: Proven SMC/Order Block EA for XAUUSD – Live Track Record Required (<5% Max DD) ​ Job/Request Description: I am looking to acquire or license a high-performance, fully automated Expert Advisor (EA) specifically optimized for XAUUSD (Gold) . The strategy must be strictly based on Smart Money Concepts (SMC) , utilizing Order Blocks, Liquidity sweeps, and Market Structure Shifts (MSS). ​ Technical
A SPECIFICATION: NESTED MULTI-TIMEFRAME MOMENTUM (NMTM) 1. CORE OBJECTIVE The EA is designed to identify institutional Supply and Demand zones on the H4 timeframe that are "nested" within Daily (D1) zones. It filters for high- momentum "Leg-Out" moves and only trades in the direction of the Daily trend. 2. PHASE 1: TREND & CONTEXT FILTERS (DAILY) The EA must first confirm the Daily bias. No H4 zones are valid if they
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT

项目信息

预算
30+ USD
截止日期
 10 天