Update an EA producing signal, not auto trading, based on RSI and BB

MQL4 专家

指定

I need to update my existing EA.

I describe existing features that were developed in EA for you to understand easily.

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

PART 1: CREATE SIGNAL

 

1/ I want an EA that have following input parameters:


2/ When running, the EA looking is like this:


 

If RSI is below oversold level, mark it green. If RSI is above overbought level, mark it red.

 

3/ The alert works when it meets these conditions

The idea is that it only alerts/pushes notification if RSI is above the overbought level whereas symbol’s price is at upper band of Bollinger Bands (BB); and vice versa.

 

I describe the conditions in case BUY signal will be fired, SELL signal is opposite.

BUY signal fires when:

1.     When RSI crosses oversold level, EA notices and checks BB until following conditions are met.

2.     After there was a bull(green) candle formed up completely and BB lower band CUTS THROUGH that candle OR the whole candle is below BB lower band, EA fires alert. 

3. The bull candle don't need to form right after RSI crossed level. When RSI crossed level, EA should remember and check BB continuously to find the right green candle.

  

These are some examples:


 

 

4/ It only alerts once when condistions are met. The alert only fires again if RSI goes back into oversold-overbought zone and crosses again

 

5/ The text in app’s  notification looks like: <symbol>_<timeframe>_BUY/SELL

For example: EURUSD_M5_BUY      GBPUSD_M1_SELL

 

PART 2: CHECK BREAKEVEN

I usually use hedge orders to cover losing order. I need to keep track if these orders are breakeven to close all.

For example: I buy 1 lot EURUSD order, after that I create another 2 lot EURUSD order if price decreases. I need EA tracks if the sum of these 2 orders is breakeven and notifies me via my app.

EA will sum all orders of a symbol including commission/swap to broker and anything to be sure that the sum of symbol’s orders is 0.

This alerts only initiated if there are more than 1 order of that symbol (>= 2 order)

EA will notify once time.

Text is: <symbol>_BREAKEVEN

            For example: EURUSD_BREAKEVEN

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

 

And these are features that I want to update in this project:

 

PART 3: SHOW SUM OF ORDERS

In EA table, add a column to show the total sum of all orders of each symbols, including commission & swap.

It is calculated as in the Checking Breakeven feature, but it shows number for easier monitoring.


 

PART 4: COUNT THE NUMBER OF LOT

I need to count the number of lot for all buy or sell orders of each symbol.


For example, I placed these orders of EURUSD:

+ Buy 1 lot

+ Sell 2 lot

+ Buy 4 lot

+ Sell 1 lot

Then, at EURUSD row,3 the BUY LOT column should be 5, SELL LOT should be 3

 

PART 5: AUTO PLACE ORDERS

I want to set multiple waiting orders and EA will place it in order that I set.

The idea is when I place 2 hedged orders, EA will create multiple waiting orders at the prices of those 2 orders to create a zone that if price go to upper/lower band, EA will place order to hedge the opposite orders. BUY order is only created if there was a SELL order placed right before it and vice versa.


So, we need to care about 2 things:

1. Order’s lot

2. Order’s price

---

1.     Order’s lot

The next BUY order’s lot = (parameter Z x total number of lots of current SELL orders) – (total number of lots of current BUY orders)

The next SELL order’s lot = (parameter Z x total number of lots of current BUY orders) – (total number of lots of current SELL orders)

 

For example,

+ parameter Z is 3 and 2

+ 1st order is Buy 1 lot, 2nd order is SELL 2 lot. Z is 3. Then the 3rd order is BUY with lot = 3 x 2 – 1 = 5. 3rd order is BUY 5 lot.

+ The 4th order is SELL with lot = (2 x (1+5)) – 2 = 10.

 

2.     Order’s price

All next BUY orders have the same price as available BUY order

All next SELL orders have the same price as available SELL order

---

 

The parameters for EA: list of parameter Z, separated by comma.

Waiting orders’ lot are calculated consecutively

 

For example: Z = 2,3,1.5,1.5,3,3

1st order uses Z=2

2nd order uses Z=3

3rd order uses Z=1.5

---

*** Notice: all following actions are only initiated when there is the 2nd order placed opposite with 1st order of a symbol***

 

Then EA sets up all waiting orders (NOT pending orders, just virtual orders in EA) following above rules.

After setting up, EA should show table like this on screen

Symbol

Buy/Sell

Lot

Price

Action

EURUSD

Buy

1

1.2504

Delete | Edit | Move up/down

EURUSD

Sell

2

1.2564

Delete | Edit | Move up/down

GBPUSD

Sell

2

1.4455

Delete | Edit | Move up/down

GBPUSD

Buy

1.5

1.4646

Delete | Edit | Move up/down

 

All waiting orders will be listed in this table.

In Action column:

    + Delete: delete that order

    + Edit: edit symbol, lot, price and buy/sell
    + Move up/down: to adjust the order of that waiting order. I don’t know if there is more convenient way to move, just suggest.          

 

Orders of the same symbol are listed adjacently to each order. And in the order it was created.

---

Need a function to add waiting order manually

---

 

After those orders were set, the EA will work like this (independently for each symbol)

+ The order which was created first is placed as pending order.

+ If the 1st one was activated, the 2nd order is placed as pending order

+ And so on

 

Each time a pending order is activated, EA erases all SL/TP of available orders of that symbol.

There is always ONE pending order for each symbol which has waiting orders.

ALWAYS create pending order, DO NOT build the way that EA will automatically place position at the price of waiting order.

---

If there is no open order of that symbol anymore, EA should delete all waiting orders of that symbol


反馈

1
开发者 1
等级
(251)
项目
400
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
2
开发者 2
等级
(43)
项目
89
66%
仲裁
10
50% / 50%
逾期
28
31%
空闲
3
开发者 3
等级
(94)
项目
148
59%
仲裁
16
38% / 13%
逾期
25
17%
空闲
4
开发者 4
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
5
开发者 5
等级
(66)
项目
95
28%
仲裁
20
25% / 55%
逾期
24
25%
空闲
相似订单
Overview: I'm searching for a highly skilled and experienced MQL5 coder to create an Expert Advisor (EA) based on a purchased indicator from the MQL5 marketplace. The EA should execute trades with specific trade management settings, allowing full customization for trade entry, stop loss, trailing, and lot sizes, as well as handling opposite signals. Only serious applicants should apply, as I have no time to waste
Ea mq 30 - 130 USD
hi guys, i need an ea in mql4 with source code, please see the file attached and apply with your timeline and bid, i will provider all indicators with source code
Hi, I have been working on this EA robot for days, but been busy with other things to complete. I am looking for a skilled coder who can modify an existing Expert Advisor (EA) for immediate profitable trading in all forex pairs. The finalization of the EA can then be completed within the next 1 or 2days after back testing. The source code will be shared only after the applicant demonstrates their capability to
1. ............ PLEASE READ FULLY.................................I'll ONLY RESPOND TO PEOPLE WHO READ MY MESSAGE FULLY... 2. PLEASE DO NOT BID, IF YOU'VE ARBITRAGE OF MORE THAN 5% 3. PLEASE DO NOT BID, WITHOUT READING, AND ONLY, IF YOU CAN COMMUNICATE ACTIVELY AND FINISH THE PROJECT IN 2 DAYS OR EARLY. Need an indicator & EA for mt5, that can run on multiple timeframes, different instruments, fx, indices, gold, oil
I need a local program that copies mt5 to mt5, mt5 to ctrader, mt5 to dxtrade, mt5 to macht trade. It can't be through EA because the prop firm doesn't allow copytrading. It can't be detectable
T here is one simple robot with an open code, it can be modified - news filter, etc. I will attach the source code and the Image of the filter i want to add to the ea If you can do it, Kindly reach out to me so we can discuss about and also here is my tg handle TG: Ibiscotrader
1. Knowledge and Expertise Forex Market Understanding : A strong understanding of how the forex market operates, including currency pairs, trading hours, spreads, liquidity, and other fundamental market dynamics. Trading Strategies : Knowledge of various trading strategies such as trend-following, scalping, arbitrage, hedging, and using indicators (e.g., moving averages, RSI, MACD, Fibonacci retracements). Risk
TIME FRAME: 15 MIN LOT SIZE: 0.01 CANDLE START TIME: 2:00 CANDLE END TIME: 2:14 ENTRY BUFFER: 1 SL BUFFER: 1 TARGET $: 10 MARTINGALE % : 200 (All the above data should be adjustable) Details: 1. We have to mention candle start time and end time (ie: 4.00 to 4.59). If the candle breaks the high of the given time it should go for buy. If it breaks the low of the given time it should go for sell. 2
We need to redesign the utility to work with Discord, we need a developer who has previously worked with Discord and knows how to link sending messages from the MetaTrader terminal to Discord. I will consider your suggestions
An hft to pass prop firms sybthetic challengues fast. The bot has to be able to pass the challengues with no Dd. Please don't offer if You don't have what i post. I am not looking s friend. Ibwsnt tanto bebdone as soon as possible

项目信息

预算
30 - 70 USD
开发人员
27 - 63 USD
截止日期
 1  5 天