Allow EA to trade multiple pairs, all enter/exit with the symbol of the default chart, but have each added symbol generate their own ATR based stop, take profit and partial take profit

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 5 giorni
Feedback del cliente
The coder is one of the best. He knows how to execute complex ideas into efficient and flawless code.
Feedback del dipendente
Many thanks!

Specifiche

I would like the ability of my MA based EA to enter/exit the trade of the symbol chart (ex. EURUSD) it is dropped to, which it does now and in addition, to do the following:

1) enter/exit at the exact same time the open/close trades of default chart (EURUSD) for symbols that I custom input. 

2) Add ATR based stop loss for each added symbol

3) Add ATR based take profit for each added symbol

4) Add ATR based partial take profit for each added symbol 


So if the moving average gives a buy signal on EURUSD, the default chart of the EA, it will take a buy signal on symbol1 and sell signal on symbol2 (if set to reverse, such as USDCAD) and when moving average reverses to short, it will give a short signal on symbol1 and a buy signal on symobl2, and so forth for all symmbols, up to 10 symbols. 


When it outputs a buy or short for symmbol1 or symbol2, they will be given their own ATR based stop loss, take profit and partial take profit, as inputed in the custom variables below. 

symbol1 = GBPUSD;

symbol1-rev = false; //  revserse feature, off, same direction as default chart

symbol1-stopATR = true; 

symbol1-stopATRmult = 9; // atr stop multiplier

symbol1-proiftATR = true; 

symbol1-profitATRmult = 9; // atr take profit multiplier

symbol1-partialprofit = true; 

symbol1-partialATRMult = 5; // atr partial profit multiplier

symbol1-ATRpartiallotsize  = 50; // percent of lots to close with partial


symbol2 = USDCAD;

symbol2-rev = true; //  revserse feature, on, so when EA detects that EURUSD enters long, then it enters short on USDCAD and vice versa

symbol2-stopATR = true; 

symbol2-stopATRmult = 9; // atr stop multiplier

symbol2-proiftATR = true; 

symbol2-profitATRmult = 9; // atr take profit multiplier

symbol2-partialprofit = true; 

symbol2-partialATRMult = 5; // atr partial profit multiplier

symbol2-ATRpartiallotsize  = 50; // percent of lots to close with partial


same for up to 10 symbols


Note: I aleady have the following ATR based stop, take profit and partial profit for my EA as follows: 

extern string _group_8_     = "+++";

extern bool   stoplossATR   = true;   // 

extern int    stopATRlen    = 45;    //

extern double stopATRMult   = 9;    //

extern int    MinSL         = 10;

extern int    MaxSL         = 230;


extern string _group_9_     = "+++";

extern bool   takeprofitATR   = true;   // 

extern bool   takeprofitSATR   = true;   //

extern int    profitATRlen    = 25;    //

extern double profitATRMult   = 12;    //

extern double profitSATRMult  = 19;

extern int    MinTP         = 10;

extern int    MaxTP         = 0;


extern string _group_10_0     = "+++";

extern bool   takePartialprofitATR   = true;   // 

extern int    profitPartialtime = 60;

extern int    profitPartialATRlen    = 25;    //

extern int    partialATRMult = 14;

extern int    MinPartialTP         = 10;

extern int    MaxPartialTP         = 0;

extern double ATRpartiallotsize  = 50; 


The new symbols will inherit the default chart's values of period, stopATRlen, MinSL, MaxSL, profitATRlen, MinTP, MaxTP, profitpartialATRlen, MinPartialTP, MaxPartialTP. 

I'm only interested in manipulating the mulitplier of ATR based stop, take profit and partial take profit. 


I'll share my EA in the comments. 

Con risposta

1
Sviluppatore 1
Valutazioni
(586)
Progetti
1049
49%
Arbitraggio
39
28% / 41%
In ritardo
49
5%
Gratuito
Ordini simili
I need someone who can code a new EA from scratch and also know how to integrate AI into the EA and use AI and market sentiments along with news to then open positions. I have the description of the job ready. Need someone serious, with experience and who will help optimize the current strategy with their expertise. Thanks
I’m looking for an experienced MQL5 developer to create a custom Break of Structure (BoS) Indicator for MetaTrader 5. This indicator should automatically detect and mark key market structure breakpoints in real-time, offering traders clear visual signals when the market experiences a structural shift. The indicator should include the following features: Automatic detection of Break of Structure (BoS) and Change of
I need someone who can make an expert advisor for me using the high and low of certain sessions or time frames. All orders should be market orders It's based on high and lows (LONGS) When a session low is created I wait until the 14 ema crosses above the 20 ema for comfirmation of going long, and I enter when price touches on the 14 ema. My SL automatically is placed on the session low. (SHORTS) When a session high
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
I need a tested and profitable EA. I don’t want backtested EA but real live tested. At least, 5~10 % per month. Name your price!!! I also have a backtested EA that can’t make profit at the end of the month
Hello my developer colleagues, am also a developer like you but i just hear about this mql site and i will like to sell, develop and build bots for buyer. But i don't know how to become a seller here please i need help in helping me to create a seller account on mql and i will be very glad if you can help me out and i will appreciate you
Preciso de um EA que abra ordens a mercado a partir de um indicador, Ele precisa obter take e stop loss fixos, spread máximo, horários de início e final das operações, meta e stop diário, martingale, painel e a função no script para que eu possa ceder o EA apartir do id do mt4 de terceiros
Hello Investors, I'm selling a profitable and stable expert advisor trading on the Gold (XAUUSD) pair using a cutting-edge scalping strategy. The EA is able to generate a stable monthly income without using martingale strategy, and with an optional cut loss in place. Particularly the average monthly gain can go from 2-3% (at a relatively low risk, with an historical max DD of 6%) to 20-30% (with an aggressive style
Atomic Analyst Indicator to EA. I have an mt4 indicator called Atomic Analyst. The indicator gives buy/sell signals as shown in the screenshot. I want to know if you can take this indicator, and create an EA that automatically takes the signals. The indicator puts in the SL and TP1, TP2, TP3, TP4, TP5 automatically. I would like the option to put in my lot size parameter and I would also like an automatic trail stop
can you help me with Ctrader i need modification on the linkhttps://docs.google.com/document/d/1fggk49xWbnwahtfOlE-U7G6muZB1FT8eWmftGiY7R-s/edit?usp=sharing can you assist with cTrader modifications to enhance functionality and improve performance. do text me if you a professional on it i will be looking forward to your response best regards

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD