EA Modification

MQL4 Experts

Specification

Hello ,

I have an expert advisor for MT4 that works using channels (range trading). It opens a BUY trade after the cross of the lower band , and opens a SELL trade after the cross of the upper band. However it has a problem and needs to be solved. The problem is that once the market sometimes trend , and the trade reaches the Stop Loss , it keeps opening a trade in the opposite direction of the trend , which I do not want. For example ,after the STOP LOSS  is hit on a buy trade , I do not want it to keep opening buy trades  , but instead WAIT for the cross of the UPPER band to open a SELL trade , and the opposite after hitting Stop Loss for a sell trade .

**VERY IMPORTANT : After a BUY trade Stop Loss has been hit , it has to WAIT for the cross of the Upper Band before opening a sell trade. After a SELL trade Stop Loss has been hit, it has to WAIT for the cross of the Lower band before opening a buy trade.

On the visual back test , i noticed that this EA could do much better without this problem.

ALSO, this EA does not do well at all using trending periods. It is only good at ranging periods . I thought about adding AN OPTION of some Moving Average filters in case I wanted to make this EA work successfully on trending markets.

Example : When price crosses upper Band ,open sell only when price/ or channel BELOW the 50 EMA , and When price crosses Lower band ,open buy only when price /or channel is OVER the 50 EMA) . Of course, this should be an OPTION to add to this EA under the ' Filters' options. It should have the feature to turn it on/off. Also we should be able to select the period of the Moving average ( 20 EMA/SMA , 50 EMA/SMA, 100 EMA/SMA etc....) ... and of course we should also be able to use 2 or more Moving averages as filter instead of only one. Maybe choosing more than 1 Moving Average as filter can further improve the results.

ALSO, there should be an OPTION to PAUSE trades after a Stop Loss is hit for 'X' hours. X is the number of hours that will keep the ea from trading. The ea should automatically resume trading once the 'x' number of hours has passed.

So in short , there should be 3 improvements :  1 - Remove the problem of randomly opening new trades once the Stop Loss has been hit.It should WAIT for a new valid signal before opening a new trade.

                                                                    2-  Add a 'FILTER' as OPTION to select 1 or more Moving Averages ,and that is of course if I wanted to use this ea on trending markets.

                                                                    3-  Add a 'PAUSE' as OPTION after Stop Loss is hit

                                                                             

Thank you!

Awaiting for your replies!

Responded

1
Developer 1
Rating
(595)
Projects
927
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
2
Developer 2
Rating
(512)
Projects
773
63%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
3
Developer 3
Rating
(2428)
Projects
3057
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
4
Developer 4
Rating
(2086)
Projects
2646
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
5
Developer 5
Rating
(1)
Projects
4
0%
Arbitration
0
Overdue
2
50%
Free
6
Developer 6
Rating
(15)
Projects
68
46%
Arbitration
6
0% / 100%
Overdue
6
9%
Free
7
Developer 7
Rating
(59)
Projects
182
55%
Arbitration
31
45% / 16%
Overdue
103
57%
Free
8
Developer 8
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
Similar orders
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor the 2 lines in the below pictures and then start to activate bids once they cross each other and then be able to manage all bids afterwards towards the direction of the market by opening and closing them intermittently and profitably until the position at the other
Hi man, How are u? I have an EA and I need to check few aspects of the code, if It works fine? I am looking for an expert coder, who can understand mt4 language and help us to solve this out. This job will hardly take about 3-4 hours max for an experienced coder, when explained detail. Also, I would like to give this to someone, who can understand and speak English well. Also, the coder should be able to come via
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include

Project information

Budget
20 - 40 USD
For the developer
18 - 36 USD
Deadline
from 2 to 10 day(s)