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 Experts

Job finished

Execution time 5 days
Feedback from customer
The coder is one of the best. He knows how to execute complex ideas into efficient and flawless code.
Feedback from employee
Many thanks!

Specification

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. 

Responded

1
Developer 1
Rating
(586)
Projects
1048
49%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Similar orders
I am looking for an experienced MQL5 developer to help me finalize and optimize an Expert Advisor (EA) for the FTMO challenge. I have already built a significant portion of the code, but it requires further refinement and optimization to ensure it functions according to the trading strategy I intend to use. I am happy to share all the resources, including the current code, reference materials, and detailed
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
I need a modification on my existing Ea if you can Can fixed risk management to lot size instead of percentage. don’t want strategic risk management input to be based on percentage Instead lot size. The strategic risk management function I need turned from percentage to lot based And I need sells and buys to have separate tps and sl options Budget:$100 Day: 1 day
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
I need to get a trading forex robot based on support and accurate resistance and moving avarage more details will be provided on the video links I want a situation where by once I put the robot on the chart and choose buy or sell and the number to open then it will only buy or sell in that particular direction only
NADGIO 30+ USD
I need a developer that can convert two Buy and Sell indicators into a trading robot. the indicators has an input parameter, this should be made available for adjustment. Features 1. Break Even 2. Trailing Stop 3. Global TP and SL 5. Time Filter 6. News Filter (If possible)
I need a developer who can convert trading view indicator in to mt5 expert advisor with some modifications. The other details will shared once chosen the developer. Looking for someone who has good knowledge of forex, mql5,and pine script
Hello, i hope you all well. I am looking or a good developer who can understand SCM/ICT concepts so that can modify an existing EA to trade against that. The EA is already there with code and it was trading based on Breakouts zones. Now i want the EA to be modified so that it trades based on inducements and liquidity. The EA should use Pending orders on those zones instead. I do not want new developers to apply
EA for index trading using ATR % of 5day 1 Give Average true range for the past 5 day so 5day ATR also for ref use the indicator "atr value indicator " my entries will be based on a % of this NO. NO. TO BE SHOWN IN TOP CORNER The Expert im looking for is 1.AT X TIME (ie 8:am ) 2.IF price moves X % of the 5 day atr( either up or down ) within Y TIME (IE 5MINUTES ) (if PRICE moves say 30% of the 5 day atr down i buy or
I want to create an Expert Advisor (EA) that can be set to open either buy or sell trades, depending on user preference (buy-only or sell-only mode). The EA will initiate trades when the market reaches (or is equal to or less than) a specified DeMarker value (e.g., DeMarker value = 0.3). The user will set both the DeMarker value for starting trades and another DeMarker value to stop opening new trades. - **DeMarker

Project information

Budget
30+ USD
For the developer
27 USD