New EA based on custom indicator, and specific price zones

MQL5 Experts

Job finished

Execution time 22 hours

Specification




An expert advisor based on this settings that must work together:

1- Custom indicator based on 3 moving averages in defined values- 6 (blue), 12 (red), and 24 (yellow).

2- Default indicator of MT5 : Awesome oscilattor, an histogram based indicator

3-  Defined and customizable (10) ten price channels, or price zones in wich i would configure every trade session.

The price channel will be set by 

a )High value
b) price definned between high and low, that i would may able to change, called M value
c) Down value  

The price channels would be set based on High value, M value and Down value, like 

Up- 10.60
M- 10.54
down- 10.50


So the EA must work this way, all on 2 minutes candle:

ENTRIES
For every entry in long position: 

1- The moving averages must be showing top-bottom, configuration 24.12.06, so yellow, red, blue, with a difference between the 24 line and 12 line showing a difference more than customizable number X, and between 12 line and 06 line just more than another customizable number called Y. Only then, when the lines reach the distance settled, than there will be an ok from this part, but there are another 2 steps, for the entry.

2- And besides this configuration showed on 1, there is the awsome oscilattor for condition in every entry, that, must be in a value under, a custom value, that i could configurate every session, like -0.001. So only if the Awesome oscilattor stay under this customizable value, and in 
according to 1 , and 3, there will be an entry. 

3- And besides the configuration showd on 1 and 2, there is the condition of the price channels, or price zones: 

For every long position, the sistem must stay in tune with 1, and 2 rules, and the EA must count in this 2 minute candle, the average prices, or medium prices oscilated, between M price and down price, and  open an order for the next customizable candles, like 3 candles, or 5 candles of two minutes, there will be a valid buying order, based on this medium price calculated, in the 2 minute candle .  ( The EA must be made in a way i could chose how many candles next, the order will be valid)


There is another very important fact: In this 2 minute candle of calculations, the price could eventually go beyond m price, on up price - in wich these up values would not be counted for the average price, only those between m and down price- but if there is simply one trade outside the price channels, so the candle would not be valid anymore.

Lets say we have this price channel:

up- 10.60
m-10.54
down-10.50

In the 2 minute candle, the prices could eventually oscilated like 10.55 ( they would not be counted in average price calculation), but wont invalid the entry. But if the price even for only a trade, goes under 10,50, or above 10,60, the candle would be disconsidered and no entry would be made. 




For every short position:

1- The moving averages must be showing top-bottom, configuration opposite of long position, so, 06.12.24, so blue, red, yellow, with a difference between the 06 line and 12 line showing a difference more than customizable number X, and between 12 line and 24 line just more than another customizable number called Y. Only then, when the lines reach the distance settled, than there will be an ok from this part, but there are another 2 steps, for the entry.

2- And besides this configuration showed on 1, there is the awsome oscilattor for condition in every entry, that, must be in a value above, a custom value, that i could configurate every session, like +0.001. So only if the Awesome oscilattor stay above this customizable value, and in according to 1 , and 3, there will be an entry. 

3- And besides the configuration showed on 1 and 2, there is the condition of the price channels, or price zones: 

For every short position, the sistem must stay in tune with 1, and 2 rules, and the EA must calculate in this 2 minute candle, the average prices, or medium prices oscilated, between M price and up price, and  open an order  for the next customizable candles, like 3 candles, or 5 candles of two minutes, there will be a valid selling order- going short, based on this medium price calculated, in the 2 minute candle . ( The EA must be made in a way i could chose how many candles next, the order will be valid)

There is another  very important fact: In this 2 minute candle of calculations, the price could eventually go under m price, on down price - in wich these up values would not be counted for the average price, only those between m and down price- but if there is simply one trade outside the price channels, so the candle would not be valid anymore.

Lets say we have this price channel:

up- 10.60
m-10.54
down-10.50

In the 2 minute candle, the prices could eventually oscilated like 10.53 ( they would not be counted in average price calculation), but wont invalid the entry. But if the price even for only a trade, goes under 10.50, or above 10.60, the candle would be disconsidered and no entry would be made. 


So every entry must stay in tune with the 3 conditions: Moving average ok, Awesome Ocillator ok and Price channel ok. 
Please note that every price channel will work independetly for every entry in one price channel, only the same price channel will be considered for the closing of trade.

So then comes the closing position:

CLOSING POSITION


For every long position assumed before, the closing position would be exaclety the UP price, of the respective price channel. And eventually in addition a minus  value, in cents, from the up price, customizable too.  So if i want for closing position exaclety on the up price, so should i set just 0. But if i want another value, so i should set this number, on a minus value. 

Lets say we have this price channel:

10.60
m-10.54
down-10.50

By default= 0, the closing price of a long position should be 10.60, but if i would like to put a custimizable value, like if i want 10.58, i would have to put -2.

For every short position closing, the opposite, so the value of closing a short position would be exaclety the DOWN price, of the respective price channel. And eventually in addition a PLUS  value, in cents, from the down price, customizable too.  So if i want for closing position exaclety on the down price, so should i set just 0. But if i want another value, so i should set this number, on a plus value. 

Lets say we have this price channel:

10.60
m-10.54
down-10.50

By default= 0, the closing price of a short position should be 10.50, but i would like to put a custimizable value, like if i want 10.52, i would have to put +2, and every closing of position, would be on values of down plus 2 cents for every price channel. 



Stoploss


The stoploss would be put on loss of money, but also in a way that i could customize that every time this value is eventually reached, for every price channel, all the position would be closed, but on the same time, there will be a reverse position, that would be closed on another time that i would have the possibility to set.  So if i'm on a long position, if i'm stopped, imediately the EA will open a short position with the same lots quantity, and close this new position in another customizable time, in minutes. 




Resume

Values that i would like to be able to set for the EA:

Loss in money total
lots size


10 price channels, just like this:

UP
M- 
Down- 
Stoploss for short-(reverse)
Stoploss for long- (reverse)
Closing price  minus- on long positions, if needed different value from up price
Closing price plus- on short positions, if needed different value from down price

value for Awesome Oscilattor:

long position : - (value )- so every value under this custom set
short position: + (value)-so every value above this custom set


Value for Moving Average indicator:

For long positions- diference value between 24 and 12 MA lines, and between 12 and 6 lines to trigger the entry 

For short positions- difference value between 06 and 12 MA lines, and between 12 and 24 lines, to trigger the entry

Value of next candles in wich the buying or selling order are valid



Responded

1
Developer 1
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
217
15%
Free
Published: 1 code
2
Developer 2
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
3
Developer 3
Rating
(98)
Projects
134
64%
Arbitration
6
17% / 67%
Overdue
32
24%
Free
Similar orders
Hi, I Wanne have a trading robot that give me signals for short buy and sell. And only for all currency in forex trading and also can use it on mt5
ROBOTFORX_V7 40+ USD
i have the robotforx_v7 code but am looking for an experinced developer to improve my code i want it to capture quick moves on 5mins it should be able close like ten trades in small profits
I BUY EA FOR FTMO XAUUSD I am looking to buy professional Expert Advisors (EA) suitable for FTMO and other prop trading environments. I am interested in XAUUSD . I am NOT looking for high-risk EAs with impressive but unrealistic backtests. I am looking for low drawdown, consistent returns and robust strategies that can survive real market conditions. REQUIRED RISK PROFILE Maximum preferred daily drawdown: 1% Maximum
EA REQUIREMENT — READ BEFORE ACCEPTING This is my 4th attempt to get this EA built correctly. Many developers have already failed to reproduce my TradingView results. Please read the complete requirement first. Do not accept the project if you are not confident that you can achieve the required accuracy. I do not want to waste your time or mine. I will provide my TradingView Pine Script, settings, and baseline trade
the bot will be used for xauusd scalp trading , want the bor follow the trading indicator will SL and open another opposite order where i can customize the SL margin and risk management
I am looking for an experienced MQL5 developer to build a robust XAUUSD scalping Expert Advisor for MetaTrader 5. The EA should focus on consistent risk management, controlled drawdown, high-quality trade filtering, precise entries and exits, configurable stop loss and take profit, spread and volatility protection, trading-session filters, and reliable execution. I need the strategy to be fully backtestable and
I will pay 2500 to 10000 USD (negotiable) for one MT5 Expert Advisor, built properly. One robot done right, not a batch of cheap jobs. I have a strategy I believe in and a rough draft robot I built myself. The logic is there. The execution is not. That last part is outside my expertise, which is why I am hiring instead of continuing on my own. I am open to feedback on the strategy itself. If you see something in it
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
رباط 30+ USD
//+------------------------------------------------------------------+ //| AdvancedPriceAction.mq5 | //| Copyright 2026, Trading Strategy AI | //+------------------------------------------------------------------+ #property copyright "Trading Strategy AI" #property version "1.00" #property strict #include <Trade\Trade.mqh>
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss

Project information

Budget
55 USD
Deadline
from 1 to 3 day(s)