Given that you are using an EA builder (which produces very bad code, by the way), then we can assume you don't know how to code. So, how will you be able to integrate the code, if you don't know how to do it?
The forum is mainly to help those that want to learn to code in MQL and need some advice, not to code things for them. So, I would suggest you use the Freelance jobs section to hire someone to code it for you.

- 2022.05.21
- www.mql5.com
EA builder, EA Builder Pro, EATree, Etasoft forex generator, Forex Strategy Builder, ForexEAdvisor STRATEGY BUILDER, ForexRobotAcademy.com, FX EA Builder, fxDreema, Forex Generator, FxPro, Molanis, Octa-FX Meta Editor, Online Forex Expert Advisor Generator, Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.
-
Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
If we tell you what you need, you can't code it.
If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using Code button) and state the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own. -
EA builder makes bad code counting up while closing multiple orders.
EA builder makes bad code Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
EA builder makes bad code, not adjusting for ECN brokers. pre-Build 500)
EA builder makes bad code, not checking return codes. -
EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)
-
FX EA Builder makes bad code, not checking return codes.
FX EA Builder makes bad code, loosing open tickets on terminal restart. No recovery (crash/power failure.)
FX EA Builder makes bad code, not adjusting stops for the spread.
FX EA Builder makes bad code, using OrdersTotal directly. -
FOREXEADVISOR STRATEGY BUILDER makes bad code, non-updateing global variables.
FOREXEADVISOR STRATEGY BUILDER makes bad code, compilation errors.
FOREXEADVISOR STRATEGY BUILDER makes bad code, not checking return codes.
Learn to code it, or pay someone (Freelance) someone to code it.
Hiring to write script - General - MQL5 programming forum #1 (2019)

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Friends, your help is seriously needed and appreciated. I tried to add few codes just to display EA parameters as well as draw three lines. But it was failed.
There is a custom code function to add special function which was not built in their standard functions. I would like to use this custom code function to add two tasks:
1. Display few parameters of EA on chart
int Trade1_On = 1 (could be 0 or 1)
int Next_Open_Hours = 0 (could be 0-24)
double BE_Start = 20
double Lock_SL_buffer = 30
2. Draw three lines on chart
double Price_H = 1.0622 (price to limit highest buy or sell (red line)
double Price_L = 1.0372 (price to limit lowest buy or sell (blue line)
double Lock_start_price = 1.0754 (price to place reversal lock orders (yellow line)
***part of auto generated codes of EA as below: