EA TO ACTIVATE BUY AND SELL POSITIONS USING A THRESHOLD PRICE POSITION DETERMINED AT BEGINNING OF MONTH/PERIOD

MQL4 Asesores Expertos

Tarea técnica

Hello,

I usually prepare a report at the beginning of every Month which has a middle position at the beginning of the Month. The Yellow coloured area is the starting price of the Month and all positions above and below are estimates.

I want the market to follow the direction of the prices and once a price position is achieved, the position will revert back to take an opposite bid. So at the beginning for example, all prices above the yellow colour will be Buy and all prices below will be sell.

After the prices are achieved and activated at each position, then the price below will activate a SELL and the prices above will activate a BUY.

The EA will have variables as starting position prices, which will be determined by me, variable gap positions which will help predict every price above and below the predicted start positions. An example of my Monthly template design is below


 

The above position is usually determined before end of previous Month. After the new Month Commences or at the activation of the EA, it will run for the whole Month using the figures computed above.

The middle line 5/6 above shows the starting positions at the beginning of the Month as determined by me. Number 1-4 shows positions expected to activate a BUY and positions 7-10 shows positions expected to activate a SELL. There will however be exceptions based on the market movement which will be explained as a sample below.  Using real life performance situation


 

The Orange coloured positions above shows which of the bids have been activated in the course of the Month of review.

The above products have 3 scenerios which will be identified as follows:

 AUDJPY,  GOLD, AND NASDAQ.  

SEE EXAMPLES

AUDJPY

Price started at 69.88 and moved down to 68.755 and moved back up again. So if 68.755 activates as a SELL, then bid prices at 69.88 and above will reactivate at twice the pip size of the previous bid position. If Price moves down to 67.63 for example, then 68.755 will activate a BUY but at a normal lot size until it reaches the middle price where it will activate a double lot size.  Prices should activate an opposite bid if it has achieved a 60% gap position to reactivate an opposite bid.

 

GOLD

Price started at 1684 and moved to a low of 1665. Which supposed to have activated a SELL assuming price reached 1664 and moved back up. As a result, as the price moved down and went upwards the bid will activate a BUY from 1684 upwards. For every position at the top the price activates, it will activate the opposite bid as set by the rule after a certain gap is achieved in the course of the move.

 

NASDAQ

Price started at 8880, then moved downwards to below 8655. Now SELL will activate from 8655 downwards and BUY will activate for the upper prices from 8880 upwards at double lot size. 

 

The settings should be as follows

First I will have a start price to be put on the EA. Once I put in the start price, it will have a gap/pip for each product. So that everytime I set the start price, it sets up 4 bids above and 4 bids below using the gap size for each step.

 

EG if I have a gap size of 1 and a start price of 10, then it will set up 4 prices at the top and 4 prices below as follows:

TOP=                10+1, 10+2, 10+3, 10+4

START PRICE=   10

LOW=                10-1, 10-2, 10-3, 10-4

 

Second, after the setup of positions, then market begins to move up and down in the real market environment. ALL prices above will be a BUY and all prices below will be a SELL. So at start price, all TOP PRICES will be a BUY and all BELOW PRICES will be a SELL.

If price Moves from 10 to 12.5 for example, EA will activate 11(10+1), 12(10+2) as BUY and then reactivate 11 and 10 as SELL (Based on previous top moves), while it will then double the lot size of bid for the prices at the LOW position from the start (ie 9, 8, 7 and 6).

 

Everytime a bid activates from either side of the position at every start period, ie whenever the start price is changed, then the first side the market goes will be at normal lot size set at the beginning of the period, while the opposite side bids will be made at twice the lot size. So in the example above, once 11 activates at say .01 lot size, and current price at 12.5, then 11 and 10 will activate a SELL at .01 and 9, 8, 7 and 6 will activate a SELL at .02.

 

So the start line becomes a support and resistance position especially once the market activates a first bid at the top or lower position of the line.

 

I will be needing at least 15 working days to test the EA initially at the end of project before we close the payment on the site. After which I will still need 60 days to be able to properly test the EA and revert back in case I have any issue at no cost.

 

I will be needing the code at end of the project.

 

Thanks


Han respondido

1
Desarrollador 1
Evaluación
(219)
Proyectos
370
42%
Arbitraje
145
17% / 41%
Caducado
124
34%
Libre
2
Desarrollador 2
Evaluación
(356)
Proyectos
632
26%
Arbitraje
89
73% / 13%
Caducado
12
2%
Libre
3
Desarrollador 3
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
Solicitudes similares
Hello, I am hoping to automate my trading strategy and have set out the criteria below. Chart: 15m Indicators EMA: 7 period EMA: 14 period ATR: 14 period MACD applied to close: Fast: 7 Slow: 14 Smoothing: 7 Entry criteria for a buy: It is between the hours of 09:00 and 23:00. Price is above both EMAs. The 7-period EMA is above the 14-period EMA, on the previous candle, it was below or equal to the 14-period EMA. The
How can I backtest the news with calendar. I want to know how to backtest the news using an e.a. how can I get this done... Do you have a news trade that can do this... If so please reach out to me... What do I need to do to have the history of news information be drawn to the chart to be tradable in backtest scenarios
custom job to convert my expert to mq5, work will be done remotely more details in private to carry out the task correctly help for converting expert remotely All details will be sent privately
Hello, can you help me convert MT4 EA source code to MT5? I have two versions of an EA for MT4 that I have been using for quite a while and I want to move over to MT5. There are no additional indicators. Everything is inside the EA mq4. Also, could you provide a strategy guide in PDF format for me of both strategies, apply if you are professional enough in the field
I need someone with skills who will help me create expert advisor based on swing trading. I need the EA to have the ability to determine pivot points. And it should open buy or sell based on this criteria. I also want it to have the following: 1. Risk management 2. Take profit/Stop Loss 3. Trailing Stop/Step/Start 4. Dashboard for input parameters ( I need to be able to modify parameters via user interface)
Developer !! i need an robot that is going to analyze the market\pair chart before opening trades ,example if the robot is place on the chart of GBPUSD on H1 time frame the robot should analyze the direction of a market ,then open after knowing the direction,if the can possible make it analyze even on lower time then that would be fantastic. remember the is going to open on its own the trades, thank you NB;i don't
Respected Madam I need an EA in Mql5 which can Buy at certain Increment of points like 100 then 50 then 50 then 25 then 25 then 25 then 25. Possibility of Grid increase. Buys at certain fixed level if the the Price drops like 100 points down then again 100 points down then again 100 points down like this in a grid system, Grid size I will declare. Grid order systems with stop loss and Multiple Reorders if the Stop
Hi, I need an simple MT5 EA which trades based on full body candles at specific trading time. Start Hour Start Minute End Hour End Minute Min full candle body size in points % real body of candle size to count the candle as full body candle Enter buy on bearish full body candle Enter sell on bullish full body candle Enter on same candle if the real body size has reached x points and the % of real body to candle
本人现有一个网格EA,内有马丁加仓平仓,需要升级,加入对冲功能和其他功能.(其他细节后谈) 1 . 網格繫統:可選:YES/NO. 如果:YES,設置:網格間隔,網格層數, 2 . 開倉:條件開倉,可選:YES/NO.(目前默認爲NO) 分爲市價開倉/STOP ORDER/ LIMIT ORDER, 3 . 加倉:分爲:固定手數,如:0 . 03,或末單累加:0 . 01,或:末單倍數如:1 . 5倍.多單和空單的加倉方法可以不同設置. 4 . 移動止盈.(單獨移動,多/空方整體點數移動/或金額移動) 5 . 平倉包括: A.多方/空方止盈線,和多方/空方止損線(可以設置三條價格:每條選擇:平倉 1/3,1/2,或全部) B.單獨止盈/止損 (多方和空方可以設置不同的,)盈利點數或金額 整體止盈/止損.(多方和空方可以設置不同的,)
HFT needed 100+ USD
Need hft ea which working properly as well as demo accounts and live accounts with good daily returns as well as monthly returns need experinced programers to show thier most profible ea programers with more than 100 projects done will be shortlisted . And developer should provide its demo version for test before going to further steps

Información sobre el proyecto

Presupuesto
30+ USD
IVA (23%): 6.9 USD
Total: 36.9 USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 a 30 día(s)