EA Buy and Sell Based on Pivot Levels

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 18 días
Comentario del Cliente
Very good job. He was able to understand the requirements. Patient and responsive.
Comentario del Ejecutor
Thank you so much, nice to work with you.

Tarea técnica

This is an simple Ea based on price action. I am testing this strategy... The EA will have 2 price level (Sell_Pivot_Level and Buy_Pivot_Level) and when price moves up above the Sell_Pivot_Level and then back down thru Sell_Pivot_Level, then the EA will sell at market.

When price moves down below the Buy_Pivot_Level and then back up thru the Buy_Pivot_Level, then the EA will buy at market. 

extern parameters

Lot size : 0.1 

Risk per trade : 5% (if 0, the use lot size)

Day Timing: 15:00 to 14:59 (This will define each day from 15:00 to 14:59.. this is used to calculate the buy and sell pivot levels)

Trading Hours: 18:00 to 22:59

Stop Loss (pips) : 5

Take Profit (pips) : 5

Trailing Stop (pips) : 2 (if 0 then EA just take close position when it hits Take Profit)

Break Even Starts (pips) : 5

Break Even Step (pips) : 1 

Sell_Pivot_Level : Open/High/Low/Close (default - open)

Buy_Pivot_Level : Open/High/Low/Close (default - open)

These two pivot levels are calculated based on the Open prices (depending on what was chosen in the above two parameters) of each price bar.

so these two pivot levels will be the same level at the start of the Day (define in Day Timing) and then with each new price bar, the two pivot levels will be updated. Each pivot level needs to be drawn on the chart (Red for Sell_Pivot_level, Blue for Buy_Pivot_Level).

When the Day is over, these two Pivot levels will be redrawn for the new Day.

 

*********************

Sell_Pivot_Level is equal to the highest "Open" (depend on extern parameter) price since Start of Day 15:00

Buy_Pivot_Level is equal to the lowest "Open" (depend on extern parameter) price since Start of Day 15:00



Previous_Day_High is equal to the Price of yesterdays High (15:00 to 14:59)

Previous_Day_Low is equal to the Price of yesterdays Low (15:00 to 14:59)



Current_Day_High is equal to the High price since Start of Day 15:00

Current_Day_Low is equal to the Low price since Start of Day 15:00



Sell_Pivot_Level and Buy_Pivot_Level will be updated at each new price bar from start of day.

Sell_Pivot_ Level and Buy_Pivot_Level will be reset at end of each day. 14:59

Previous_Day_High, Previous_Day_Low, Current_Day_High, Current_Day_Low will also be reset at end of each day. 14:59



Sell Entry

Current_Day_High < Previous_Day_High.
When price goes up above Sell_Pivot_Level and then come back down thru Sell_Pivot_Level, Sell at Market.


Buy Entry



Current_Day_Low > Previous_Day_Low.
When price goes down below Buy_Pivot_Level and the come back up thru Buy_Pivot_Level, Buy at Market.


Trailing Stop

Similar to the previous EA, this EA is to move the SL to Breakeven + 1 pip then the EA is to trail the trade's TP once it has hit Take Profits level. If Trailing Stop = 0, then EA just take profit without trailing. You can use the same trailing stop and the move SL to BE+1 pip when price hits AA pips like the previous EA.

Han respondido

1
Desarrollador 1
Evaluación
(2102)
Proyectos
2674
62%
Arbitraje
114
46% / 25%
Caducado
421
16%
Trabajando
2
Desarrollador 2
Evaluación
(27)
Proyectos
36
19%
Arbitraje
14
21% / 71%
Caducado
12
33%
Libre
3
Desarrollador 3
Evaluación
(133)
Proyectos
185
30%
Arbitraje
77
9% / 73%
Caducado
77
42%
Libre
4
Desarrollador 4
Evaluación
(258)
Proyectos
395
28%
Arbitraje
69
19% / 49%
Caducado
120
30%
Libre
5
Desarrollador 5
Evaluación
(121)
Proyectos
134
66%
Arbitraje
36
25% / 56%
Caducado
22
16%
Libre
6
Desarrollador 6
Evaluación
(1)
Proyectos
4
25%
Arbitraje
1
0% / 100%
Caducado
1
25%
Libre
7
Desarrollador 7
Evaluación
(89)
Proyectos
137
24%
Arbitraje
35
9% / 40%
Caducado
52
38%
Libre
Solicitudes similares
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
EA based on RSI and MA 100 - 400 USD
Program is based on RSI and MA indicators dynamic as triggers, for Open/Close criteria. Runs automatically but inputs can be updated manually. It uses a GUI to manage it. Multi TF analysis. Log register of every operation for analysis (db) Open Source deliver. Kindly apply IF you have previous experience with trading and mql/python/c bot/algo developing. And if you have a good track record . ps: Better if you have a

Información sobre el proyecto

Presupuesto
20 - 40 USD
Para el ejecutor
18 - 36 USD
Plazo límite de ejecución
de 5 a 10 día(s)